gosh

package module
v0.0.0-...-0fca8ec Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2017 License: MIT Imports: 6 Imported by: 1

README

gosh

Fetch config from consul

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Address string
}

Config consul 地址配置

func DefaultConfig

func DefaultConfig() *Config

DefaultConfig ...

type Gosh

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

Gosh ...

func NewClient

func NewClient(c *Config) (*Gosh, error)

NewClient ...

func (*Gosh) Unmarshal

func (g *Gosh) Unmarshal(v interface{}) error

Unmarshal ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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