safe_gob

package module
v0.0.0-...-7626c17 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: MIT Imports: 9 Imported by: 0

README

safe_gob

Golang gob, But safe and secure.

Note:

This package is not stable. please wait for stable version. Stable version will be available after i commit tests.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

func Write(pack Pack, writer io.Writer)

Types

type Pack

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

func NewPack

func NewPack(data interface{}, secretKey string) *Pack

func Read

func Read(reader io.Reader) Pack

func (*Pack) GetData

func (p *Pack) GetData() interface{}

func (*Pack) GetSignature

func (p *Pack) GetSignature() string

Jump to

Keyboard shortcuts

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