Documentation
¶
Overview ¶
Package taskcommon provides shared utilities for task providers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeLocalTaskID ¶
DecodeLocalTaskID decodes a local task ID back into the upstream task ID. In library mode this is an identity function.
func DefaultInt ¶
DefaultInt returns val if non-zero, otherwise fallback.
func DefaultString ¶
DefaultString returns val if non-empty, otherwise fallback.
func EncodeLocalTaskID ¶
EncodeLocalTaskID encodes an upstream task ID into a local task ID. In library mode this is an identity function.
Types ¶
type BaseBilling ¶
type BaseBilling struct{}
BaseBilling is a stub for LingRein's billing base struct. In library mode, billing is not supported; embed this to satisfy adaptor struct layouts without pulling in billing logic.
Click to show internal directories.
Click to hide internal directories.