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 Client
- type DefaultDownstreamImpl
- type DownstreamClients
- type DownstreamConfig
- type GetServiceDocsListClient
- type GetServiceDocsListRequest
- type Handler
- type Router
- type Service
- type ServiceDoc
- 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 Downstream
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for Downstream API
func (*Client) GetServiceDocsList ¶
func (s *Client) GetServiceDocsList(ctx context.Context, req *GetServiceDocsListRequest) (*ServiceDoc, error)
GetServiceDocsList ...
type DefaultDownstreamImpl ¶
type DefaultDownstreamImpl struct { }
DefaultDownstreamImpl ...
func NewDefaultDownstreamImpl ¶
func NewDefaultDownstreamImpl() *DefaultDownstreamImpl
NewDefaultDownstreamImpl for Downstream
type DownstreamClients ¶ added in v0.53.0
type DownstreamClients struct { }
DownstreamClients for Downstream
func BuildDownstreamClients ¶ added in v0.53.0
func BuildDownstreamClients(cfg *config.DefaultConfig) (*DownstreamClients, error)
BuildDownstreamClients ...
type DownstreamConfig ¶
DownstreamConfig for Downstream
type GetServiceDocsListRequest ¶
type GetServiceDocsListRequest struct { }
GetServiceDocsListRequest ...
type Handler ¶
type Handler interface {
GetServiceDocsListHandler(w http.ResponseWriter, r *http.Request)
}
Handler interface for Downstream
type Service ¶
type Service interface {
GetServiceDocsList(ctx context.Context, req *GetServiceDocsListRequest) (*ServiceDoc, error)
}
Service interface for Downstream
type ServiceDoc ¶
ServiceDoc ...
type ServiceHandler ¶
type ServiceHandler struct {
// contains filtered or unexported fields
}
ServiceHandler for Downstream API
func NewServiceHandler ¶
func NewServiceHandler(genCallback core.RestGenCallback, serviceInterface *ServiceInterface) *ServiceHandler
NewServiceHandler for Downstream
func (*ServiceHandler) GetServiceDocsListHandler ¶
func (s *ServiceHandler) GetServiceDocsListHandler(w http.ResponseWriter, r *http.Request)
GetServiceDocsListHandler ...
type ServiceInterface ¶
type ServiceInterface struct {
GetServiceDocsList func(ctx context.Context, req *GetServiceDocsListRequest, client GetServiceDocsListClient) (*ServiceDoc, error)
}
ServiceInterface for Downstream
type ServiceRouter ¶
type ServiceRouter struct {
// contains filtered or unexported fields
}
ServiceRouter for Downstream API
func (*ServiceRouter) WireRoutes ¶
func (s *ServiceRouter) WireRoutes(ctx context.Context, r chi.Router)
WireRoutes ...