zip

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ZIP_MOD_DEFULAT_GZIP = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultZipMod

type DefaultZipMod struct {
	// contains filtered or unexported fields
}

func NewDefaultZipMod

func NewDefaultZipMod() *DefaultZipMod

func (*DefaultZipMod) Compress

func (this *DefaultZipMod) Compress(in []byte) (output []byte, err error)

func (*DefaultZipMod) Decompress

func (this *DefaultZipMod) Decompress(in []byte) ([]byte, error)

func (*DefaultZipMod) ID

func (this *DefaultZipMod) ID() byte

type ZipMod

type ZipMod interface {
	ID() byte
	Compress(b []byte) ([]byte, error)
}

type ZipModLoader

type ZipModLoader struct {
	// contains filtered or unexported fields
}

func NewZipModLoader

func NewZipModLoader() *ZipModLoader

type ZipSendProxyThread

type ZipSendProxyThread struct {
	Queue *queue.RequestQueue
	// contains filtered or unexported fields
}

func GetInstance

func GetInstance() *ZipSendProxyThread

func (*ZipSendProxyThread) Add

func (this *ZipSendProxyThread) Add(p *pack.LogSinkPack)

func (*ZipSendProxyThread) Append

func (this *ZipSendProxyThread) Append(p *pack.LogSinkPack)

Jump to

Keyboard shortcuts

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