Documentation
¶
Index ¶
- type RestServer
- func (m *RestServer) Configure(loader typcfg.Loader) *typcfg.Detail
- func (m *RestServer) Destroy() []*typdep.Invocation
- func (m *RestServer) EntryPoint() *typdep.Invocation
- func (m *RestServer) Provide() []*typdep.Constructor
- func (m *RestServer) WithDebug(debug bool) *RestServer
- func (m *RestServer) WithPrefix(prefix string) *RestServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RestServer ¶
type RestServer struct {
// contains filtered or unexported fields
}
RestServer of application
func (*RestServer) Configure ¶
func (m *RestServer) Configure(loader typcfg.Loader) *typcfg.Detail
Configure server
func (*RestServer) Destroy ¶
func (m *RestServer) Destroy() []*typdep.Invocation
Destroy dependencies
func (*RestServer) EntryPoint ¶
func (m *RestServer) EntryPoint() *typdep.Invocation
EntryPoint of application
func (*RestServer) Provide ¶
func (m *RestServer) Provide() []*typdep.Constructor
Provide dependencies
func (*RestServer) WithDebug ¶
func (m *RestServer) WithDebug(debug bool) *RestServer
WithDebug to set debug
func (*RestServer) WithPrefix ¶
func (m *RestServer) WithPrefix(prefix string) *RestServer
WithPrefix return module with new prefix
Click to show internal directories.
Click to hide internal directories.