restserver

package
v0.8.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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 New

func New() *RestServer

New application [nowire]

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

Directories

Path Synopsis
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL