config

package
v0.0.0-...-7a2f58c Latest Latest
Warning

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

Go to latest
Published: May 7, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config(path string) (*config, error)

Config load new config for API

Types

type Setup

type Setup struct {
	Config *config     // api setting
	Route  *mux.Router // mux frontend
}

Setup main setup api struct

func NewApiSetup

func NewApiSetup(settings string) *Setup

NewApiSetup return new api setup with router

Jump to

Keyboard shortcuts

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