core

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 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

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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