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 Client
- type DefaultDownstreamImpl
- 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 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 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 ...