api

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExchangeAPI

func NewExchangeAPI(backend service.Backend) (api.API, error)

Types

type ExchangeAPI

type ExchangeAPI struct {
	// contains filtered or unexported fields
}

func (*ExchangeAPI) AttachToAPI

func (api *ExchangeAPI) AttachToAPI(service *api.Service)

func (*ExchangeAPI) GetOffer

func (api *ExchangeAPI) GetOffer(c *gin.Context)

func (*ExchangeAPI) Reject

func (api *ExchangeAPI) Reject(c *gin.Context)

func (*ExchangeAPI) Settle

func (api *ExchangeAPI) Settle(c *gin.Context)

Jump to

Keyboard shortcuts

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