Versions in this module Expand all Collapse all v1 v1.3.19 Jun 6, 2023 v1.3.18 Jun 6, 2023 Changes in this version + const Metaver + func Decode(reader io.ReadCloser, v any, opts Options, tag string) (checksum *cos.Cksum, err error) + func Encode(ws cos.WriterAt, v any, opts Options) (err error) + func Load(filepath string, v any, opts Options) (checksum *cos.Cksum, err error) + func LoadAppConfig(configDir, configFname string, v any) (err error) + func LoadMeta(filepath string, meta Opts) (*cos.Cksum, error) + func Save(filepath string, v any, opts Options, wto io.WriterTo) (err error) + func SaveAppConfig(configDir, configFname string, v any) error + func SaveMeta(filepath string, meta Opts, wto io.WriterTo) error + type ErrBadSignature struct + func (e *ErrBadSignature) Error() string + type ErrJspCompatibleVersion struct + func (e *ErrJspCompatibleVersion) Error() string + type ErrUnsupportedMetaVersion struct + func (e *ErrUnsupportedMetaVersion) Error() string + type ErrVersion struct + func (e *ErrVersion) Version() uint32 + type Options struct + Checksum bool + Compress bool + Indent bool + Metaver uint32 + Signature bool + func CCSign(metaver uint32) Options + func CksumSign(metaver uint32) Options + func Plain() Options + type Opts interface + JspOpts func() Options