Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Description ¶
type Description struct { Endpoint Endpoint Method string Path string APIKey string ContentType string }
func (*Description) Describe ¶
func (op *Description) Describe() *Description
Op implements Operation.Describe and allows the struct itself be passed as an Operation argument directly.
func (*Description) KeyKind ¶
func (op *Description) KeyKind() (kind string)
type Endpoint ¶
type Endpoint string
const ( API Endpoint = "https://api.omise.co" Vault = "https://vault.omise.co" )
type Operation ¶
type Operation interface {
Describe() *Description
}
Click to show internal directories.
Click to hide internal directories.