Documentation ¶
Overview ¶
* * Generated by go-doudou v2.0.1. * Don't edit!
* * Generated by go-doudou v2.0.1. * You can edit it as your need.
* * Generated by go-doudou v2.0.1. * You can edit it as your need.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RouteAnnotationStore = framework.AnnotationStore{}
Functions ¶
func Routes ¶
func Routes(handler DemoHandler) []rest.Route
Types ¶
type DemoHandler ¶
type DemoHandler interface {
GetHealth(w http.ResponseWriter, r *http.Request)
}
func NewDemoHandler ¶
func NewDemoHandler(demo service.Demo) DemoHandler
type DemoHandlerImpl ¶
type DemoHandlerImpl struct {
// contains filtered or unexported fields
}
func (*DemoHandlerImpl) GetHealth ¶
func (receiver *DemoHandlerImpl) GetHealth(_writer http.ResponseWriter, _req *http.Request)
Click to show internal directories.
Click to hide internal directories.