Documentation ¶
Index ¶
- func API2Result(r params.PayloadResult) (payload.Result, error)
- func FullIDs2LookUpArgs(fullIDs []string) params.LookUpPayloadArgs
- func IDs2ListArgs(ids []string) params.Entities
- func IDs2SetStatusArgs(ids []string, status string) params.SetPayloadStatusArgs
- func IDs2UntrackArgs(ids []string) params.Entities
- func Payloads2TrackArgs(payloads []payload.Payload) params.TrackPayloadArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func API2Result ¶
func API2Result(r params.PayloadResult) (payload.Result, error)
API2Result converts the API result to a payload.Result.
func FullIDs2LookUpArgs ¶
func FullIDs2LookUpArgs(fullIDs []string) params.LookUpPayloadArgs
FullIDs2LookUpArgs converts the provided payload "full" IDs into arguments for the LookUp API endpoint.
func IDs2ListArgs ¶
IDs2ListArgs converts the provided payload IDs into arguments for the List API endpoint.
func IDs2SetStatusArgs ¶
func IDs2SetStatusArgs(ids []string, status string) params.SetPayloadStatusArgs
IDs2SetStatusArgs converts the provided payload IDs into arguments for the SetStatus API endpoint.
func IDs2UntrackArgs ¶
IDs2UntrackArgs converts the provided payload IDs into arguments for the Untrack API endpoint.
func Payloads2TrackArgs ¶
func Payloads2TrackArgs(payloads []payload.Payload) params.TrackPayloadArgs
Payloads2TrackArgs converts the provided payload info into arguments for the Track API endpoint.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.