Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func API2ID ¶
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.
Click to show internal directories.
Click to hide internal directories.