application

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application interface {
	GetEngine() *gin.Engine
	GetConfig() *viper.Viper
}

func GetInstance

func GetInstance(version string) Application

type SmartApp

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

func (*SmartApp) GetConfig

func (s *SmartApp) GetConfig() *viper.Viper

func (*SmartApp) GetEngine

func (s *SmartApp) GetEngine() *gin.Engine

Jump to

Keyboard shortcuts

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