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.
Code generated by sysl DO NOT EDIT.
Index ¶
- func BuildRestHandlerInitialiser(serviceInterface ServiceInterface, callback core.RestGenCallback, ...) handlerinitialiser.HandlerInitialiser
- func NewDefaultConfig() config.DefaultConfig
- func NewServiceRouter(gc core.RestGenCallback, svcHandler *ServiceHandler) handlerinitialiser.HandlerInitialiser
- type ApiDoc
- type Client
- type DefaultDepsImpl
- type DownstreamClients
- 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 BuildRestHandlerInitialiser ¶ added in v0.53.0
func BuildRestHandlerInitialiser(serviceInterface ServiceInterface, callback core.RestGenCallback, downstream *DownstreamClients) handlerinitialiser.HandlerInitialiser
BuildRestHandlerInitialiser ...
func NewDefaultConfig ¶ added in v0.53.0
func NewDefaultConfig() config.DefaultConfig
NewDefaultConfig ...
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 DownstreamClients ¶ added in v0.53.0
type DownstreamClients struct { }
DownstreamClients for Deps
func BuildDownstreamClients ¶ added in v0.53.0
func BuildDownstreamClients(cfg *config.DefaultConfig) (*DownstreamClients, error)
BuildDownstreamClients ...
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 ...