Documentation ¶
Index ¶
- Variables
- type ShippingProcessorType
- func (ShippingProcessorType) EnumType() string
- func (ShippingProcessorType) Enums() map[int][]string
- func (v ShippingProcessorType) Label() string
- func (v ShippingProcessorType) MarshalText() ([]byte, error)
- func (v ShippingProcessorType) String() string
- func (v *ShippingProcessorType) UnmarshalText(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var InvalidShippingProcessorType = errors.New("invalid ShippingProcessorType")
Functions ¶
This section is empty.
Types ¶
type ShippingProcessorType ¶
type ShippingProcessorType uint8
api:enum
const ( SHIPPING_PROCESSOR_TYPE_UNKNOWN ShippingProcessorType = iota SHIPPING_PROCESSOR_TYPE__DEFAULT_REGISTRY // default registry SHIPPING_PROCESSOR_TYPE__ALIYUN_REGISTRY // aliyun registry SHIPPING_PROCESSOR_TYPE__TENCENT_REGISTRY // tencent registry )
打包处理器类型
func ParseShippingProcessorTypeFromLabelString ¶
func ParseShippingProcessorTypeFromLabelString(s string) (ShippingProcessorType, error)
func ParseShippingProcessorTypeFromString ¶
func ParseShippingProcessorTypeFromString(s string) (ShippingProcessorType, error)
func (ShippingProcessorType) EnumType ¶
func (ShippingProcessorType) EnumType() string
func (ShippingProcessorType) Enums ¶
func (ShippingProcessorType) Enums() map[int][]string
func (ShippingProcessorType) Label ¶
func (v ShippingProcessorType) Label() string
func (ShippingProcessorType) MarshalText ¶
func (v ShippingProcessorType) MarshalText() ([]byte, error)
func (ShippingProcessorType) String ¶
func (v ShippingProcessorType) String() string
func (*ShippingProcessorType) UnmarshalText ¶
func (v *ShippingProcessorType) UnmarshalText(data []byte) (err error)
Click to show internal directories.
Click to hide internal directories.