api

package
v0.0.0-...-b0bff92 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func API2ID

func API2ID(tagStr string) (string, error)

API2ID converts the given payload tag string into a payload ID. Example: "payload-foobar" -> "foobar"

func API2Payload

func API2Payload(apiInfo params.Payload) (payload.FullPayloadInfo, error)

API2Payload converts an API Payload info struct into a payload.FullPayloadInfo struct.

func Payload2api

func Payload2api(p payload.FullPayloadInfo) params.Payload

Payload2api converts a payload.FullPayloadInfo struct into a Payload struct.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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