types

package
v0.0.0-...-2c34a8a Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

README

Package cloudeng.io/cmd/idu/internal/database/types

CircleCI Go Report Card

import cloudeng.io/cmd/idu/internal/database/types

Functions

Func Decode
func Decode[T any](buf []byte, v *T) error
Func Encode
func Encode[T any](buf *bytes.Buffer, v T) error

Types

Type ErrorPayload
type ErrorPayload struct {
	When    time.Time
	Key     string
	Payload []byte
}
Type LogPayload
type LogPayload struct {
	Start, Stop time.Time
	Payload     []byte
}
Type StatsPayload
type StatsPayload struct {
	When    time.Time
	Payload []byte
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode[T any](buf []byte, v *T) error

func Encode

func Encode[T any](buf *bytes.Buffer, v T) error

Types

type ErrorPayload

type ErrorPayload struct {
	When    time.Time
	Key     string
	Payload []byte
}

type LogPayload

type LogPayload struct {
	Start, Stop time.Time
	Payload     []byte
}

type StatsPayload

type StatsPayload struct {
	When    time.Time
	Payload []byte
}

Jump to

Keyboard shortcuts

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