internal

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2020 License: MIT Imports: 0 Imported by: 0

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL