payload

package
v1.21.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 3 Imported by: 2

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.

Jump to

Keyboard shortcuts

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