sellorderscontroller

package
v6.5.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2018 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	// Create creates a new order and adds the market rate
	// to the profile's riches
	Create(rw http.ResponseWriter, r *http.Request)

	// Get retrieves a single order by id
	Get(rw http.ResponseWriter, r *http.Request)

	// List retrieves all orders for a profile
	List(rw http.ResponseWriter, r *http.Request)
}

Controller handles HTTP requests regarding sell orders

func New

func New(ordersService ordersservice.OrdersService) Controller

New constructs a new Controller instance

Jump to

Keyboard shortcuts

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