Documentation ¶
Overview ¶
Package positiongrp maintains the group of handlers for position access.
Index ¶
- type Handlers
- func (h Handlers) Close(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) Create(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) Query(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (h Handlers) QueryByID(ctx context.Context, w http.ResponseWriter, r *http.Request) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handlers ¶
Handlers manages the set of position endpoints.
func (Handlers) Close ¶
Close closes a position setting its balance to 0. Positions persist in database.
Click to show internal directories.
Click to hide internal directories.