wrapper

package
v0.0.0-...-7ece11e Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger = WrapperLogger{}

Global instant to use

Functions

func DeCom

func DeCom(data []byte, out interface{}) error

DeCom: decode bytes to an interface{}

func EnCom

func EnCom(data interface{}) ([]byte, error)

EnCom: encode an interface{} to bytes and compress to shorted bytes slice

Types

type WrapperLogger

type WrapperLogger struct {
	common.Logger
}

func (*WrapperLogger) Init

func (self *WrapperLogger) Init(inst common.Logger)

Jump to

Keyboard shortcuts

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