gin

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyAddress = "address"
)

Variables

View Source
var AppName = "app"
View Source
var ControllerOptions = dig.Group("controllers")

Functions

func GetContainer

func GetContainer() *dig.Container

func InitConfig added in v0.0.4

func InitConfig()

func Start

func Start() error

Types

type DiController

type DiController interface {
}

type Params

type Params struct {
	dig.In
	Logger      *zap.Logger
	Router      *gin.Engine
	Controllers []DiController `group:"controllers"`
}

Jump to

Keyboard shortcuts

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