message

package
v0.0.0-...-9439de2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

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

func Decode

func Decode(data []byte) ([]Message, error)

func NewFromBytes

func NewFromBytes(fileName string, data []byte) (*Message, error)

func NewFromFile

func NewFromFile(fileName string) (*Message, error)

func (*Message) Content

func (m *Message) Content() []byte

func (*Message) Encode

func (m *Message) Encode() []byte

func (*Message) FileName

func (m *Message) FileName() string

Jump to

Keyboard shortcuts

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