app

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: MIT Imports: 19 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 interface {
	Run(chan os.Signal) error
	Stop() error
}

App ...

func New

func New(options ...Option) (App, error)

New ...

type Option

type Option func(*app) error

Option ...

func Conf

func Conf() Option

Conf ...

func Controller

func Controller() Option

Controller ...

func Dao

func Dao() Option

Dao ...

func HTTPServer

func HTTPServer() Option

HTTPServer ...

func LogLevel

func LogLevel() Option

LogLevel ...

func Named

func Named() Option

func PProf

func PProf() Option

PProf ...

func Router

func Router() Option

Router ...

func ServiceID

func ServiceID(ID int) Option

ServiceID ...

func ServiceName

func ServiceName(name string) Option

ServiceName ...

func UseCase

func UseCase() Option

UseCase ...

Jump to

Keyboard shortcuts

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