Documentation ¶
Overview ¶
Code generated by sysl DO NOT EDIT.
Code generated by sysl DO NOT EDIT.
Code generated by sysl DO NOT EDIT.
Code generated by sysl DO NOT EDIT.
Code generated by sysl DO NOT EDIT.
Code generated by sysl DO NOT EDIT.
Index ¶
- func NewServiceRouter(gc core.RestGenCallback, svcHandler *ServiceHandler) handlerinitialiser.HandlerInitialiser
- type ApiDoc
- type Client
- type DefaultDepsImpl
- type DownstreamConfig
- type GetApiDocsListClient
- type GetApiDocsListRequest
- type Handler
- type Router
- type Service
- type ServiceHandler
- type ServiceInterface
- type ServiceRouter
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServiceRouter ¶
func NewServiceRouter(gc core.RestGenCallback, svcHandler *ServiceHandler) handlerinitialiser.HandlerInitialiser
NewServiceRouter creates a new service router for Deps
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for Deps API
func (*Client) GetApiDocsList ¶
GetApiDocsList ...
type DownstreamConfig ¶
DownstreamConfig for Deps
type Handler ¶
type Handler interface {
GetApiDocsListHandler(w http.ResponseWriter, r *http.Request)
}
Handler interface for Deps
type Service ¶
type Service interface {
GetApiDocsList(ctx context.Context, req *GetApiDocsListRequest) (*ApiDoc, error)
}
Service interface for Deps
type ServiceHandler ¶
type ServiceHandler struct {
// contains filtered or unexported fields
}
ServiceHandler for Deps API
func NewServiceHandler ¶
func NewServiceHandler(genCallback core.RestGenCallback, serviceInterface *ServiceInterface) *ServiceHandler
NewServiceHandler for Deps
func (*ServiceHandler) GetApiDocsListHandler ¶
func (s *ServiceHandler) GetApiDocsListHandler(w http.ResponseWriter, r *http.Request)
GetApiDocsListHandler ...
type ServiceInterface ¶
type ServiceInterface struct {
GetApiDocsList func(ctx context.Context, req *GetApiDocsListRequest, client GetApiDocsListClient) (*ApiDoc, error)
}
ServiceInterface for Deps
type ServiceRouter ¶
type ServiceRouter struct {
// contains filtered or unexported fields
}
ServiceRouter for Deps API
func (*ServiceRouter) WireRoutes ¶
func (s *ServiceRouter) WireRoutes(ctx context.Context, r chi.Router)
WireRoutes ...
Click to show internal directories.
Click to hide internal directories.