payload

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 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 interface{}) ([]byte, error)

CreateReferencePayload creates data which GetReferenceFromPayload resolves to the reference again.

func GetReferenceFromPayload

func GetReferenceFromPayload(ctx context.Context, payload []byte) (interface{}, error)

GetReferenceFromPayload resolves the reference from the payload

Types

This section is empty.

Jump to

Keyboard shortcuts

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