Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Description ¶ added in v1.0.0
type Description struct { Endpoint Endpoint Method string Path string APIKey string ContentType string }
func (*Description) Describe ¶ added in v1.0.0
func (op *Description) Describe() *Description
Op implements Operation.Describe and allows the struct itself be passed as an Operation argument directly.
func (*Description) KeyKind ¶ added in v1.0.0
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.