service

package
v0.0.0-...-53b0f00 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	service.Container

	Cfg *configs.ServerConfig
}

Server Container must contain all service specific to cmd/server command you dont need this container if you haven't cmd/server specific service

func NewContainer

func NewContainer(cfg *configs.ServerConfig) *Container

func (*Container) Load

func (a *Container) Load() error

func (*Container) Unload

func (a *Container) Unload() error

Jump to

Keyboard shortcuts

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