Documentation ¶
Index ¶
- type Employee
- type EmployeePresenter
- type Location
- type Store
- func (store *Store) GetAllEmployees(output rest.ResponseWriter, request *rest.Request)
- func (store *Store) GetAllLocations(output rest.ResponseWriter, request *rest.Request)
- func (store *Store) GetAllTransactions(output rest.ResponseWriter, request *rest.Request)
- func (store *Store) Init()
- func (store *Store) PostEmployee(output rest.ResponseWriter, request *rest.Request)
- func (store *Store) PostLocation(output rest.ResponseWriter, request *rest.Request)
- func (store *Store) PostTransaction(output rest.ResponseWriter, request *rest.Request)
- type Transaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Employee ¶
type Employee struct { Id int64 `json:"id"` Name string LocationId int64 Transactions []Transaction }
type EmployeePresenter ¶
type Store ¶
func (*Store) GetAllEmployees ¶
func (store *Store) GetAllEmployees(output rest.ResponseWriter, request *rest.Request)
func (*Store) GetAllLocations ¶
func (store *Store) GetAllLocations(output rest.ResponseWriter, request *rest.Request)
func (*Store) GetAllTransactions ¶
func (store *Store) GetAllTransactions(output rest.ResponseWriter, request *rest.Request)
func (*Store) PostEmployee ¶
func (store *Store) PostEmployee(output rest.ResponseWriter, request *rest.Request)
func (*Store) PostLocation ¶
func (store *Store) PostLocation(output rest.ResponseWriter, request *rest.Request)
func (*Store) PostTransaction ¶
func (store *Store) PostTransaction(output rest.ResponseWriter, request *rest.Request)
Click to show internal directories.
Click to hide internal directories.