Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
SampleModule sample_src.SampleInterface
}
func NewAPI ¶
func NewAPI(sampleModule sample_src.SampleInterface) API
func (API) Register ¶
func (api API) Register(router *httprouter.Router)
func (API) SampleHandler ¶
func (api API) SampleHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
Click to show internal directories.
Click to hide internal directories.