api

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2019 License: LGPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package api defines the summercash-wallet-server API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	GetBaseURI() string // GetBaseURI gets the APIs base URI.

	GetAvailableAPIs() []string // GetAvailableAPIs gets all available APIs.

	GetServingProtocol() string // GetServingProtocol returns the APIs serving protocol (e.g. https/2).

	GetInputType() string // GetInputType returns the APIs input type (e.g. form data, JSON, protobuf).

	GetResponseType() string // GetResponseType returns the APIs response type (e.g. JSON).

	StartServing() error // Start serving starts serving the given API.
}

API defines a summercash-wallet-server API.

Directories

Path Synopsis
Package standardapi defines the summercash-wallet-server API.
Package standardapi defines the summercash-wallet-server API.

Jump to

Keyboard shortcuts

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