global

package
v3.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 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 Global

type Global struct {
	Config        *config.Config
	DB            *gorm.DB
	DockerClient  *docker.Client
	HTTPClient    *http.Client
	LAINDomain    string
	LAINLETClient *lainlet.Client
	SSOClient     *sso.Client
}

Global denotes global variables

func New

func New(c *config.Config, db *gorm.DB, dockerClient *docker.Client) (*Global, error)

New return an initialized Global struct pointer

Jump to

Keyboard shortcuts

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