Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResponseStatus ¶
type APIResponseStatus int
const ( Success APIResponseStatus = iota Error )
func APIResponseStatusString ¶
func APIResponseStatusString(s string) (APIResponseStatus, error)
APIResponseStatusString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func (APIResponseStatus) MarshalJSON ¶
func (i APIResponseStatus) MarshalJSON() ([]byte, error)
func (APIResponseStatus) String ¶
func (i APIResponseStatus) String() string
func (*APIResponseStatus) UnmarshalJSON ¶
func (i *APIResponseStatus) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.