server

package
v0.8.24 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 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 App

type App struct {
	// contains filtered or unexported fields
}

App of rest server

func New

func New() *App

New application [nowire]

func (*App) Configure

func (m *App) Configure() *typcore.Configuration

Configure server

func (*App) Destroy

func (m *App) Destroy() []*typdep.Invocation

Destroy dependencies

func (*App) EntryPoint

func (m *App) EntryPoint() *typdep.Invocation

EntryPoint of application

func (*App) Provide

func (m *App) Provide() []*typdep.Constructor

Provide dependencies

func (*App) WithConfigName

func (m *App) WithConfigName(configName string) *App

WithConfigName return module with new prefix

func (*App) WithDebug

func (m *App) WithDebug(debug bool) *App

WithDebug to set debug

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