component

package
v0.0.0-...-659bb79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPacker

func NewPacker(options ...PackOption) packer

pack

func UnpackerInit

func UnpackerInit(o ...UnpackOption) (*unpackClient, error)

unpack

Types

type PackOption

type PackOption struct {
	SecretKey   []byte   // 密码
	Name        string   // 输出文件名
	ResourceDir string   // 打包资源所在的绝对路径
	OutcomeDir  string   // 输出文件的绝对路径
	IgnoreDir   []string // 忽略的文件夹
}

type UnpackOption

type UnpackOption struct {
	FqmFilePath string // 需要读取的fqm文件路径
	UseCache    bool   // 是否使用缓存
	SecretKey   []byte // 密码
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址