common

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unmarshal

func Unmarshal(bytes []byte, v any) error

Types

type Channel

type Channel string
type Header struct {
	Timestamp string `json:"Timestamp"`
	Type      string `json:"Type"`
	SubType   string `json:"SubType"`
}

type Payload

type Payload interface {
	Marshal() ([]byte, error)
	Display(func() *zerolog.Event)
}

type PayloadSubType

type PayloadSubType string

type PayloadType

type PayloadType string

Jump to

Keyboard shortcuts

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