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 GetSuccessListClient
- type GetSuccessListRequest
- 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 ...
func (*Client) GetSuccessList ¶ added in v0.25.0
func (s *Client) GetSuccessList(ctx context.Context, req *GetSuccessListRequest) (*http.Header, error)
GetSuccessList ...
type DownstreamConfig ¶
DownstreamConfig for Deps
type GetSuccessListClient ¶ added in v0.25.0
type GetSuccessListClient struct { }
GetSuccessList Client
type GetSuccessListRequest ¶ added in v0.25.0
type GetSuccessListRequest struct { }
GetSuccessListRequest ...
type Handler ¶
type Handler interface { GetApiDocsListHandler(w http.ResponseWriter, r *http.Request) GetSuccessListHandler(w http.ResponseWriter, r *http.Request) }
Handler interface for Deps
type Service ¶
type Service interface { GetApiDocsList(ctx context.Context, req *GetApiDocsListRequest) (*ApiDoc, error) GetSuccessList(ctx context.Context, req *GetSuccessListRequest) (*http.Header, 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 ...
func (*ServiceHandler) GetSuccessListHandler ¶ added in v0.25.0
func (s *ServiceHandler) GetSuccessListHandler(w http.ResponseWriter, r *http.Request)
GetSuccessListHandler ...
type ServiceInterface ¶
type ServiceInterface struct { GetApiDocsList func(ctx context.Context, req *GetApiDocsListRequest, client GetApiDocsListClient) (*ApiDoc, error) GetSuccessList func(ctx context.Context, req *GetSuccessListRequest, client GetSuccessListClient) 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.