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
Click to show internal directories.
Click to hide internal directories.