Documentation ¶
Index ¶
Constants ¶
View Source
const ApiDocPath = "/docs"
View Source
const HelthPath = "/health"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiDoc ¶
func (*ApiDoc) Middlewares ¶
func (a *ApiDoc) Middlewares() []middlewares.Middleware
func (*ApiDoc) SetClient ¶
func (a *ApiDoc) SetClient(client *grpc.ClientConn)
type ApiDocRedirect ¶
type ApiDocRedirect struct { }
func (*ApiDocRedirect) Handle ¶
func (a *ApiDocRedirect) Handle(w http.ResponseWriter, r *http.Request, _ map[string]string)
func (*ApiDocRedirect) Method ¶
func (a *ApiDocRedirect) Method() string
func (*ApiDocRedirect) Middlewares ¶
func (a *ApiDocRedirect) Middlewares() []middlewares.Middleware
func (*ApiDocRedirect) Path ¶
func (a *ApiDocRedirect) Path() string
func (*ApiDocRedirect) SetClient ¶
func (a *ApiDocRedirect) SetClient(client *grpc.ClientConn)
type Health ¶
type Health struct { }
func (*Health) Middlewares ¶
func (h *Health) Middlewares() []middlewares.Middleware
func (*Health) SetClient ¶
func (h *Health) SetClient(client *grpc.ClientConn)
type Route ¶
type Route interface { Path() string Method() string Handle(w http.ResponseWriter, r *http.Request, params map[string]string) SetClient(client *grpc.ClientConn) Middlewares() []middlewares.Middleware }
Click to show internal directories.
Click to hide internal directories.