Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TeaService ¶
type TeaService struct {
Teas []Tea
}
func NewTeaService ¶
func NewTeaService() *TeaService
func (*TeaService) AddTea ¶
func (ts *TeaService) AddTea(w http.ResponseWriter, r *http.Request)
func (*TeaService) GetTea ¶
func (ts *TeaService) GetTea(w http.ResponseWriter, r *http.Request, teaId int)
func (*TeaService) GetTeas ¶
func (ts *TeaService) GetTeas(w http.ResponseWriter, r *http.Request)
Directories
¶
| Path | Synopsis |
|---|---|
|
Package spec provides primitives to interact with the openapi HTTP API.
|
Package spec provides primitives to interact with the openapi HTTP API. |
|
Package tea provides primitives to interact with the openapi HTTP API.
|
Package tea provides primitives to interact with the openapi HTTP API. |
Click to show internal directories.
Click to hide internal directories.