Documentation
¶
Index ¶
- func NewBuilderService(cfg interface{}) service.Service
- func WrapTestedService(t *testing.T) service.Wrapper
- type BuilderService
- type ConfigService
- type ConfigSettings
- type DisabledLogRequest
- type DisabledResponse
- type DisabledService
- type LogWrappedTarget
- type TestPassService
- type TestRequest1
- type TestResponse
- type TestService1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBuilderService ¶
Types ¶
type BuilderService ¶
type BuilderService struct {
gkBoot.BasicService
}
type ConfigService ¶
type ConfigService struct {
gkBoot.BasicService
}
type ConfigSettings ¶
type DisabledLogRequest ¶
type DisabledLogRequest struct{}
func (DisabledLogRequest) Info ¶
func (d DisabledLogRequest) Info() request.HttpRouteInfo
type DisabledResponse ¶
type DisabledResponse struct {
Testvalue int `json:"testvalue"`
}
type DisabledService ¶
type DisabledService struct { gkBoot.BasicService logging.LogSkip }
func (DisabledService) Execute ¶
func (s DisabledService) Execute(ctx context.Context, request interface{}) (response interface{}, err error)
func (DisabledService) WrapTarget ¶
func (s DisabledService) WrapTarget()
type LogWrappedTarget ¶
type LogWrappedTarget interface {
WrapTarget()
}
type TestPassService ¶
type TestPassService struct {
// contains filtered or unexported fields
}
func (TestPassService) Execute ¶
func (t TestPassService) Execute(ctx context.Context, request interface{}) (response interface{}, err error)
func (TestPassService) GetNext ¶
func (t TestPassService) GetNext() service.Service
func (*TestPassService) UpdateNext ¶
func (t *TestPassService) UpdateNext(nxt service.Service)
type TestRequest1 ¶
type TestRequest1 struct {
TestNum int `request:"header" alias:"Test-Num" json:"testNum"`
}
func (TestRequest1) Info ¶
func (t TestRequest1) Info() request.HttpRouteInfo
type TestResponse ¶
type TestService1 ¶
type TestService1 struct {
gkBoot.BasicService
}
Click to show internal directories.
Click to hide internal directories.