internal

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 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 InternalAPI

type InternalAPI struct {
	Config *InternalAPIConfig
}

func New

func New(confLoader func(config interface{}) error) *InternalAPI

func (*InternalAPI) GetCurrentHead

func (int *InternalAPI) GetCurrentHead(env string) string

type InternalAPIConfig

type InternalAPIConfig map[string]*InternalAPIEnvironment

type InternalAPIEnvironment

type InternalAPIEnvironment struct {
	BaseURL string `json:"base_url"`
	AuthKey string `json:"auth_key"`
}

Jump to

Keyboard shortcuts

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