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 ¶
- Variables
- func BuildRestHandlerInitialiser(serviceInterface ServiceInterface, callback core.RestGenCallback, ...) handlerinitialiser.HandlerInitialiser
- func NewDefaultConfig() config.DefaultConfig
- func NewServiceRouter(gc core.RestGenCallback, svcHandler *ServiceHandler) handlerinitialiser.HandlerInitialiser
- type Callback
- func (c Callback) AddMiddleware(ctx context.Context, r chi.Router)
- func (c Callback) BasePath() string
- func (c Callback) Config() interface{}
- func (c Callback) DownstreamTimeoutContext(ctx context.Context) (context.Context, context.CancelFunc)
- func (c Callback) MapError(ctx context.Context, cause error) *common.HTTPError
- type CallbackWithMapError
- type Cat
- type Client
- func (s *Client) GetApiDocsList(ctx context.Context, req *GetApiDocsListRequest) (*[]deps.ApiDoc, error)
- func (s *Client) GetGetSomeBytesList(ctx context.Context, req *GetGetSomeBytesListRequest) (*Pdf, error)
- func (s *Client) GetJustOkAndJustErrorList(ctx context.Context, req *GetJustOkAndJustErrorListRequest) (*http.Header, error)
- func (s *Client) GetJustReturnErrorList(ctx context.Context, req *GetJustReturnErrorListRequest) error
- func (s *Client) GetJustReturnOkList(ctx context.Context, req *GetJustReturnOkListRequest) (*http.Header, error)
- func (s *Client) GetOkTypeAndJustErrorList(ctx context.Context, req *GetOkTypeAndJustErrorListRequest) (*Response, error)
- func (s *Client) GetOopsList(ctx context.Context, req *GetOopsListRequest) (*Response, error)
- func (s *Client) GetPetaList(ctx context.Context, req *GetPetaListRequest) (*PetA, error)
- func (s *Client) GetRawIdStatesList(ctx context.Context, req *GetRawIdStatesListRequest) (*Str, error)
- func (s *Client) GetRawIntList(ctx context.Context, req *GetRawIntListRequest) (*Integer, error)
- func (s *Client) GetRawList(ctx context.Context, req *GetRawListRequest) (*Str, error)
- func (s *Client) GetRawStates2List(ctx context.Context, req *GetRawStates2ListRequest) (*Str, error)
- func (s *Client) GetRawStatesList(ctx context.Context, req *GetRawStatesListRequest) (*[]Status, error)
- func (s *Client) GetSimpleAPIDocsList(ctx context.Context, req *GetSimpleAPIDocsListRequest) (*deps.ApiDoc, error)
- func (s *Client) GetStuffList(ctx context.Context, req *GetStuffListRequest) (*Stuff, error)
- func (s *Client) PostStuff(ctx context.Context, req *PostStuffRequest) (*Str, error)
- type Config
- type DefaultSimpleImpl
- type Dog
- type DownstreamClients
- type DownstreamConfig
- type Empty
- type GetApiDocsListClient
- type GetApiDocsListRequest
- type GetGetSomeBytesListClient
- type GetGetSomeBytesListRequest
- type GetJustOkAndJustErrorListClient
- type GetJustOkAndJustErrorListRequest
- type GetJustReturnErrorListClient
- type GetJustReturnErrorListRequest
- type GetJustReturnOkListClient
- type GetJustReturnOkListRequest
- type GetOkTypeAndJustErrorListClient
- type GetOkTypeAndJustErrorListRequest
- type GetOopsListClient
- type GetOopsListRequest
- type GetPetaListClient
- type GetPetaListRequest
- type GetRawIdStatesListClient
- type GetRawIdStatesListRequest
- type GetRawIntListClient
- type GetRawIntListRequest
- type GetRawListClient
- type GetRawListRequest
- type GetRawStates2ListClient
- type GetRawStates2ListRequest
- type GetRawStatesListClient
- type GetRawStatesListRequest
- type GetSimpleAPIDocsListClient
- type GetSimpleAPIDocsListRequest
- type GetStuffListClient
- type GetStuffListRequest
- type Handler
- type Integer
- type Item
- type ItemSet
- type Pdf
- type PetA
- type PetB
- type PostRequest
- type PostStuffClient
- type PostStuffRequest
- type Response
- type Router
- type Service
- type ServiceHandler
- func (s *ServiceHandler) GetApiDocsListHandler(w http.ResponseWriter, r *http.Request)
- func (s *ServiceHandler) GetGetSomeBytesListHandler(w http.ResponseWriter, r *http.Request)
- func (s *ServiceHandler) GetJustOkAndJustErrorListHandler(w http.ResponseWriter, r *http.Request)
- func (s *ServiceHandler) GetJustReturnErrorListHandler(w http.ResponseWriter, r *http.Request)
- func (s *ServiceHandler) GetJustReturnOkListHandler(w http.ResponseWriter, r *http.Request)
- func (s *ServiceHandler) GetOkTypeAndJustErrorListHandler(w http.ResponseWriter, r *http.Request)
- func (s *ServiceHandler) GetOopsListHandler(w http.ResponseWriter, r *http.Request)
- func (s *ServiceHandler) GetPetaListHandler(w http.ResponseWriter, r *http.Request)
- func (s *ServiceHandler) GetRawIdStatesListHandler(w http.ResponseWriter, r *http.Request)
- func (s *ServiceHandler) GetRawIntListHandler(w http.ResponseWriter, r *http.Request)
- func (s *ServiceHandler) GetRawListHandler(w http.ResponseWriter, r *http.Request)
- func (s *ServiceHandler) GetRawStates2ListHandler(w http.ResponseWriter, r *http.Request)
- func (s *ServiceHandler) GetRawStatesListHandler(w http.ResponseWriter, r *http.Request)
- func (s *ServiceHandler) GetSimpleAPIDocsListHandler(w http.ResponseWriter, r *http.Request)
- func (s *ServiceHandler) GetStuffListHandler(w http.ResponseWriter, r *http.Request)
- func (s *ServiceHandler) PostStuffHandler(w http.ResponseWriter, r *http.Request)
- type ServiceInterface
- type ServiceRouter
- type Status
- type Str
- type Stuff
Constants ¶
This section is empty.
Variables ¶
var BusinessLogicError common.CustomError = map[string]string{"name": "BusinessLogicError", "http_code": "1001", "http_message": "foo", "http_status": "500"} // *BusinessLogicError2 error
*BusinessLogicError error
var BusinessLogicError2 common.CustomError = map[string]string{"name": "BusinessLogicError2", "http_code": "1002", "http_message": "foo2", "http_status": "501"}
Functions ¶
func BuildRestHandlerInitialiser ¶ added in v0.19.0
func BuildRestHandlerInitialiser(serviceInterface ServiceInterface, callback core.RestGenCallback, downstream *DownstreamClients) handlerinitialiser.HandlerInitialiser
BuildRestHandlerInitialiser ...
func NewDefaultConfig ¶ added in v0.22.0
func NewDefaultConfig() config.DefaultConfig
NewDefaultConfig ...
func NewServiceRouter ¶
func NewServiceRouter(gc core.RestGenCallback, svcHandler *ServiceHandler) handlerinitialiser.HandlerInitialiser
NewServiceRouter creates a new service router for Simple
Types ¶
type Callback ¶
type Callback struct {
// contains filtered or unexported fields
}
func (Callback) DownstreamTimeoutContext ¶
type CallbackWithMapError ¶ added in v0.5.0
type CallbackWithMapError struct{}
type Cat ¶ added in v0.76.0
type Cat struct { Age *int64 `json:"age,omitempty"` Hunts *bool `json:"hunts,omitempty"` ID string `json:"id"` }
Cat ...
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for Simple API
func (*Client) GetApiDocsList ¶
func (s *Client) GetApiDocsList(ctx context.Context, req *GetApiDocsListRequest) (*[]deps.ApiDoc, error)
GetApiDocsList ...
func (*Client) GetGetSomeBytesList ¶ added in v0.12.0
func (s *Client) GetGetSomeBytesList(ctx context.Context, req *GetGetSomeBytesListRequest) (*Pdf, error)
GetGetSomeBytesList ...
func (*Client) GetJustOkAndJustErrorList ¶
func (s *Client) GetJustOkAndJustErrorList(ctx context.Context, req *GetJustOkAndJustErrorListRequest) (*http.Header, error)
GetJustOkAndJustErrorList ...
func (*Client) GetJustReturnErrorList ¶
func (s *Client) GetJustReturnErrorList(ctx context.Context, req *GetJustReturnErrorListRequest) error
GetJustReturnErrorList ...
func (*Client) GetJustReturnOkList ¶
func (s *Client) GetJustReturnOkList(ctx context.Context, req *GetJustReturnOkListRequest) (*http.Header, error)
GetJustReturnOkList ...
func (*Client) GetOkTypeAndJustErrorList ¶
func (s *Client) GetOkTypeAndJustErrorList(ctx context.Context, req *GetOkTypeAndJustErrorListRequest) (*Response, error)
GetOkTypeAndJustErrorList ...
func (*Client) GetOopsList ¶
GetOopsList ...
func (*Client) GetPetaList ¶ added in v0.76.0
GetPetaList ...
func (*Client) GetRawIdStatesList ¶ added in v0.29.0
func (s *Client) GetRawIdStatesList(ctx context.Context, req *GetRawIdStatesListRequest) (*Str, error)
GetRawIdStatesList ...
func (*Client) GetRawIntList ¶
GetRawIntList ...
func (*Client) GetRawList ¶
GetRawList ...
func (*Client) GetRawStates2List ¶ added in v0.29.0
func (s *Client) GetRawStates2List(ctx context.Context, req *GetRawStates2ListRequest) (*Str, error)
GetRawStates2List ...
func (*Client) GetRawStatesList ¶ added in v0.29.0
func (s *Client) GetRawStatesList(ctx context.Context, req *GetRawStatesListRequest) (*[]Status, error)
GetRawStatesList ...
func (*Client) GetSimpleAPIDocsList ¶ added in v0.12.0
func (s *Client) GetSimpleAPIDocsList(ctx context.Context, req *GetSimpleAPIDocsListRequest) (*deps.ApiDoc, error)
GetSimpleAPIDocsList ...
func (*Client) GetStuffList ¶
GetStuffList ...
type DefaultSimpleImpl ¶
type DefaultSimpleImpl struct { }
DefaultSimpleImpl ...
func NewDefaultSimpleImpl ¶
func NewDefaultSimpleImpl() *DefaultSimpleImpl
NewDefaultSimpleImpl for Simple
type Dog ¶ added in v0.76.0
type Dog struct { Bark *bool `json:"bark,omitempty"` Breed *string `json:"breed,omitempty"` ID string `json:"id"` }
Dog ...
type DownstreamClients ¶ added in v0.19.0
type DownstreamClients struct {
// contains filtered or unexported fields
}
DownstreamClients for Simple
func BuildDownstreamClients ¶ added in v0.19.0
func BuildDownstreamClients(cfg *config.DefaultConfig) (*DownstreamClients, error)
BuildDownstreamClients ...
type DownstreamConfig ¶
type DownstreamConfig struct { ContextTimeout time.Duration `yaml:"contextTimeout"` Deps config.CommonDownstreamData `yaml:"deps"` Downstream config.CommonDownstreamData `yaml:"downstream"` }
DownstreamConfig for Simple
type GetApiDocsListClient ¶
type GetApiDocsListClient struct { GetApiDocsList func(ctx context.Context, req *deps.GetApiDocsListRequest) (*deps.ApiDoc, error) GetServiceDocsList func(ctx context.Context, req *downstream.GetServiceDocsListRequest) (*[]downstream.ServiceDoc, error) }
GetApiDocsList Client
type GetGetSomeBytesListClient ¶ added in v0.9.0
type GetGetSomeBytesListClient struct { }
GetGetSomeBytesList Client
type GetGetSomeBytesListRequest ¶ added in v0.9.0
type GetGetSomeBytesListRequest struct { }
GetGetSomeBytesListRequest ...
type GetJustOkAndJustErrorListClient ¶
type GetJustOkAndJustErrorListClient struct { }
GetJustOkAndJustErrorList Client
type GetJustOkAndJustErrorListRequest ¶
type GetJustOkAndJustErrorListRequest struct { }
GetJustOkAndJustErrorListRequest ...
type GetJustReturnErrorListClient ¶
type GetJustReturnErrorListClient struct { }
GetJustReturnErrorList Client
type GetJustReturnErrorListRequest ¶
type GetJustReturnErrorListRequest struct { }
GetJustReturnErrorListRequest ...
type GetJustReturnOkListClient ¶
type GetJustReturnOkListClient struct { }
GetJustReturnOkList Client
type GetJustReturnOkListRequest ¶
type GetJustReturnOkListRequest struct { }
GetJustReturnOkListRequest ...
type GetOkTypeAndJustErrorListClient ¶
type GetOkTypeAndJustErrorListClient struct { }
GetOkTypeAndJustErrorList Client
type GetOkTypeAndJustErrorListRequest ¶
type GetOkTypeAndJustErrorListRequest struct { }
GetOkTypeAndJustErrorListRequest ...
type GetPetaListRequest ¶ added in v0.76.0
type GetPetaListRequest struct {
ID string
}
GetPetaListRequest ...
type GetRawIdStatesListClient ¶ added in v0.29.0
type GetRawIdStatesListClient struct { }
GetRawIdStatesList Client
type GetRawIdStatesListRequest ¶ added in v0.29.0
type GetRawIdStatesListRequest struct {
ID string
}
GetRawIdStatesListRequest ...
type GetRawStates2ListClient ¶ added in v0.29.0
type GetRawStates2ListClient struct { }
GetRawStates2List Client
type GetRawStates2ListRequest ¶ added in v0.29.0
type GetRawStates2ListRequest struct {
ID int64
}
GetRawStates2ListRequest ...
type GetRawStatesListClient ¶ added in v0.29.0
type GetRawStatesListClient struct { }
GetRawStatesList Client
type GetRawStatesListRequest ¶ added in v0.29.0
type GetRawStatesListRequest struct { }
GetRawStatesListRequest ...
type GetSimpleAPIDocsListClient ¶ added in v0.2.0
type GetSimpleAPIDocsListClient struct { GetApiDocsList func(ctx context.Context, req *deps.GetApiDocsListRequest) (*deps.ApiDoc, error) GetSuccessList func(ctx context.Context, req *deps.GetSuccessListRequest) (*http.Header, error) }
GetSimpleAPIDocsList Client
type GetSimpleAPIDocsListRequest ¶ added in v0.2.0
type GetSimpleAPIDocsListRequest struct { }
GetSimpleAPIDocsListRequest ...
type GetStuffListRequest ¶
GetStuffListRequest ...
type Handler ¶
type Handler interface { GetApiDocsListHandler(w http.ResponseWriter, r *http.Request) GetGetSomeBytesListHandler(w http.ResponseWriter, r *http.Request) GetJustOkAndJustErrorListHandler(w http.ResponseWriter, r *http.Request) GetJustReturnErrorListHandler(w http.ResponseWriter, r *http.Request) GetJustReturnOkListHandler(w http.ResponseWriter, r *http.Request) GetOkTypeAndJustErrorListHandler(w http.ResponseWriter, r *http.Request) GetOopsListHandler(w http.ResponseWriter, r *http.Request) GetPetaListHandler(w http.ResponseWriter, r *http.Request) GetRawListHandler(w http.ResponseWriter, r *http.Request) GetRawIntListHandler(w http.ResponseWriter, r *http.Request) GetRawStatesListHandler(w http.ResponseWriter, r *http.Request) GetRawIdStatesListHandler(w http.ResponseWriter, r *http.Request) GetRawStates2ListHandler(w http.ResponseWriter, r *http.Request) GetSimpleAPIDocsListHandler(w http.ResponseWriter, r *http.Request) GetStuffListHandler(w http.ResponseWriter, r *http.Request) PostStuffHandler(w http.ResponseWriter, r *http.Request) }
Handler interface for Simple
type Integer ¶
type Integer int64
Integer ...
func GetRawIntList ¶
func GetRawIntList(ctx context.Context, req *GetRawIntListRequest, client GetRawIntListClient) (*Integer, error)
type PetA ¶ added in v0.76.0
type PetA interface {
// contains filtered or unexported methods
}
PetA can be one of following types in runtime: Cat Dog
type PetB ¶ added in v0.76.0
type PetB interface {
// contains filtered or unexported methods
}
PetB can be one of following types in runtime: Cat Dog
type PostRequest ¶ added in v0.52.0
type PostRequest struct { Bt *bool `json:"Bt,omitempty"` Dt convert.JSONTime `json:"dt"` St string `json:"St"` }
PostRequest ...
func (*PostRequest) UnmarshalJSON ¶ added in v0.52.0
func (t *PostRequest) UnmarshalJSON(data []byte) error
func (*PostRequest) Validate ¶ added in v0.52.0
func (s *PostRequest) Validate() error
*PostRequest validator
type Service ¶
type Service interface { GetApiDocsList(ctx context.Context, req *GetApiDocsListRequest) (*[]deps.ApiDoc, error) GetGetSomeBytesList(ctx context.Context, req *GetGetSomeBytesListRequest) (*Pdf, error) GetJustOkAndJustErrorList(ctx context.Context, req *GetJustOkAndJustErrorListRequest) (*http.Header, error) GetJustReturnErrorList(ctx context.Context, req *GetJustReturnErrorListRequest) error GetJustReturnOkList(ctx context.Context, req *GetJustReturnOkListRequest) (*http.Header, error) GetOkTypeAndJustErrorList(ctx context.Context, req *GetOkTypeAndJustErrorListRequest) (*Response, error) GetOopsList(ctx context.Context, req *GetOopsListRequest) (*Response, error) GetPetaList(ctx context.Context, req *GetPetaListRequest) (*PetA, error) GetRawList(ctx context.Context, req *GetRawListRequest) (*Str, error) GetRawIntList(ctx context.Context, req *GetRawIntListRequest) (*Integer, error) GetRawStatesList(ctx context.Context, req *GetRawStatesListRequest) (*[]Status, error) GetRawIdStatesList(ctx context.Context, req *GetRawIdStatesListRequest) (*Str, error) GetRawStates2List(ctx context.Context, req *GetRawStates2ListRequest) (*Str, error) GetSimpleAPIDocsList(ctx context.Context, req *GetSimpleAPIDocsListRequest) (*deps.ApiDoc, error) GetStuffList(ctx context.Context, req *GetStuffListRequest) (*Stuff, error) PostStuff(ctx context.Context, req *PostStuffRequest) (*Str, error) }
Service interface for Simple
type ServiceHandler ¶
type ServiceHandler struct {
// contains filtered or unexported fields
}
ServiceHandler for Simple API
func NewServiceHandler ¶
func NewServiceHandler(genCallback core.RestGenCallback, serviceInterface *ServiceInterface, depsDepsService deps.Service, downstreamDownstreamService downstream.Service) *ServiceHandler
NewServiceHandler for Simple
func (*ServiceHandler) GetApiDocsListHandler ¶
func (s *ServiceHandler) GetApiDocsListHandler(w http.ResponseWriter, r *http.Request)
GetApiDocsListHandler ...
func (*ServiceHandler) GetGetSomeBytesListHandler ¶ added in v0.9.0
func (s *ServiceHandler) GetGetSomeBytesListHandler(w http.ResponseWriter, r *http.Request)
GetGetSomeBytesListHandler ...
func (*ServiceHandler) GetJustOkAndJustErrorListHandler ¶
func (s *ServiceHandler) GetJustOkAndJustErrorListHandler(w http.ResponseWriter, r *http.Request)
GetJustOkAndJustErrorListHandler ...
func (*ServiceHandler) GetJustReturnErrorListHandler ¶
func (s *ServiceHandler) GetJustReturnErrorListHandler(w http.ResponseWriter, r *http.Request)
GetJustReturnErrorListHandler ...
func (*ServiceHandler) GetJustReturnOkListHandler ¶
func (s *ServiceHandler) GetJustReturnOkListHandler(w http.ResponseWriter, r *http.Request)
GetJustReturnOkListHandler ...
func (*ServiceHandler) GetOkTypeAndJustErrorListHandler ¶
func (s *ServiceHandler) GetOkTypeAndJustErrorListHandler(w http.ResponseWriter, r *http.Request)
GetOkTypeAndJustErrorListHandler ...
func (*ServiceHandler) GetOopsListHandler ¶
func (s *ServiceHandler) GetOopsListHandler(w http.ResponseWriter, r *http.Request)
GetOopsListHandler ...
func (*ServiceHandler) GetPetaListHandler ¶ added in v0.76.0
func (s *ServiceHandler) GetPetaListHandler(w http.ResponseWriter, r *http.Request)
GetPetaListHandler ...
func (*ServiceHandler) GetRawIdStatesListHandler ¶ added in v0.29.0
func (s *ServiceHandler) GetRawIdStatesListHandler(w http.ResponseWriter, r *http.Request)
GetRawIdStatesListHandler ...
func (*ServiceHandler) GetRawIntListHandler ¶
func (s *ServiceHandler) GetRawIntListHandler(w http.ResponseWriter, r *http.Request)
GetRawIntListHandler ...
func (*ServiceHandler) GetRawListHandler ¶
func (s *ServiceHandler) GetRawListHandler(w http.ResponseWriter, r *http.Request)
GetRawListHandler ...
func (*ServiceHandler) GetRawStates2ListHandler ¶ added in v0.29.0
func (s *ServiceHandler) GetRawStates2ListHandler(w http.ResponseWriter, r *http.Request)
GetRawStates2ListHandler ...
func (*ServiceHandler) GetRawStatesListHandler ¶ added in v0.29.0
func (s *ServiceHandler) GetRawStatesListHandler(w http.ResponseWriter, r *http.Request)
GetRawStatesListHandler ...
func (*ServiceHandler) GetSimpleAPIDocsListHandler ¶ added in v0.4.0
func (s *ServiceHandler) GetSimpleAPIDocsListHandler(w http.ResponseWriter, r *http.Request)
GetSimpleAPIDocsListHandler ...
func (*ServiceHandler) GetStuffListHandler ¶
func (s *ServiceHandler) GetStuffListHandler(w http.ResponseWriter, r *http.Request)
GetStuffListHandler ...
func (*ServiceHandler) PostStuffHandler ¶
func (s *ServiceHandler) PostStuffHandler(w http.ResponseWriter, r *http.Request)
PostStuffHandler ...
type ServiceInterface ¶
type ServiceInterface struct { GetApiDocsList func(ctx context.Context, req *GetApiDocsListRequest, client GetApiDocsListClient) (*[]deps.ApiDoc, error) GetGetSomeBytesList func(ctx context.Context, req *GetGetSomeBytesListRequest, client GetGetSomeBytesListClient) (*Pdf, error) GetJustOkAndJustErrorList func(ctx context.Context, req *GetJustOkAndJustErrorListRequest, client GetJustOkAndJustErrorListClient) error GetJustReturnErrorList func(ctx context.Context, req *GetJustReturnErrorListRequest, client GetJustReturnErrorListClient) error GetJustReturnOkList func(ctx context.Context, req *GetJustReturnOkListRequest, client GetJustReturnOkListClient) error GetOkTypeAndJustErrorList func(ctx context.Context, req *GetOkTypeAndJustErrorListRequest, client GetOkTypeAndJustErrorListClient) (*Response, error) GetOopsList func(ctx context.Context, req *GetOopsListRequest, client GetOopsListClient) (*Response, error) GetPetaList func(ctx context.Context, req *GetPetaListRequest, client GetPetaListClient) (*PetA, error) GetRawList func(ctx context.Context, req *GetRawListRequest, client GetRawListClient) (*Str, error) GetRawIntList func(ctx context.Context, req *GetRawIntListRequest, client GetRawIntListClient) (*Integer, error) GetRawStatesList func(ctx context.Context, req *GetRawStatesListRequest, client GetRawStatesListClient) (*[]Status, error) GetRawIdStatesList func(ctx context.Context, req *GetRawIdStatesListRequest, client GetRawIdStatesListClient) (*Str, error) GetRawStates2List func(ctx context.Context, req *GetRawStates2ListRequest, client GetRawStates2ListClient) (*Str, error) GetSimpleAPIDocsList func(ctx context.Context, req *GetSimpleAPIDocsListRequest, client GetSimpleAPIDocsListClient) (*deps.ApiDoc, error) GetStuffList func(ctx context.Context, req *GetStuffListRequest, client GetStuffListClient) (*Stuff, error) PostStuff func(ctx context.Context, req *PostStuffRequest, client PostStuffClient) (*Str, error) }
ServiceInterface for Simple
type ServiceRouter ¶
type ServiceRouter struct {
// contains filtered or unexported fields
}
ServiceRouter for Simple API
func (*ServiceRouter) WireRoutes ¶
func (s *ServiceRouter) WireRoutes(ctx context.Context, r chi.Router)
WireRoutes ...
type Status ¶
type Status struct {
StatusField string `json:"statusField"`
}
Status ...
type Str ¶
type Str string
Str ...
func GetRawIdStatesList ¶ added in v0.29.0
func GetRawIdStatesList(ctx context.Context, req *GetRawIdStatesListRequest, client GetRawIdStatesListClient) (*Str, error)
func GetRawList ¶
func GetRawList(ctx context.Context, req *GetRawListRequest, client GetRawListClient) (*Str, error)
type Stuff ¶
type Stuff struct { EmptyStuff Empty `json:"emptyStuff"` InnerStuff string `json:"innerStuff"` RawTimeStuff time.Time `json:"rawTimeStuff"` ResponseStuff Response `json:"responseStuff"` SensitiveStuff common.SensitiveString `json:"sensitiveStuff"` SequenceStuff []Str `json:"sequenceStuff,omitempty"` TimeStuff convert.JSONTime `json:"timeStuff"` }
func GetStuffList ¶
func GetStuffList(ctx context.Context, req *GetStuffListRequest, client GetStuffListClient) (*Stuff, error)