Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultApplication = wire.NewSet( wire.Struct(new(Application), "*"), wire.Struct(new(Commands), "*"), wire.Struct(new(Queries), "*"), NewTemplateExampleHandler)
DefaultApplication is a wire provider set for the application that does not depend on the underlying platform.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Commands ¶
type Commands struct {
TemplateExample TemplateExampleHandler
}
type TemplateExampleHandler ¶
type TemplateExampleHandler struct {
// contains filtered or unexported fields
}
func NewTemplateExampleHandler ¶
func NewTemplateExampleHandler(f templateexample.Factory) TemplateExampleHandler
func (TemplateExampleHandler) Handle ¶
func (h TemplateExampleHandler) Handle(ctx context.Context, req *templateexample.ExampleRequest) (resp *templateexample.ExampleResponse, err error)
Click to show internal directories.
Click to hide internal directories.