Help us shape the future of Go! Take the 2026 Go Developer Survey

payload

package
v3.1.21 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateReferencePayload

func CreateReferencePayload(reference any) ([]byte, error)

CreateReferencePayload creates data which GetReferenceFromPayload resolves to the reference again.

func GetReferenceFromPayload

func GetReferenceFromPayload(ctx context.Context, payload []byte) (any, error)

GetReferenceFromPayload resolves the reference from the payload

Types

This section is empty.

Source Files

  • payload.go

Jump to

Keyboard shortcuts

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