Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(_ dependencies.Resources, targets dependencies.Targets) error
Register installs the greeting route without opening resources.
Types ¶
type GreetingRequest ¶
type GreetingRequest struct {
Name string `path:"name" minLength:"1"`
}
type GreetingResponse ¶
type GreetingResponse struct {
Message string `json:"message"`
}
Click to show internal directories.
Click to hide internal directories.