utils

package
v0.0.0-...-b44eeac Latest Latest
Warning

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

Go to latest
Published: May 30, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConsul

func NewConsul(name, addr, consul_addr string, port int, tag []string) *consulStruct

func NewGlogClear

func NewGlogClear(path string, t ...time.Duration) *gclear

默认保留7天 ,3小时检查一次

func Newdiscovery

func Newdiscovery()

func PrintVersion

func PrintVersion()

func ReturnVersion

func ReturnVersion() string

Types

type Discovery

type Discovery interface {
	Run()
	Stop()
}

Jump to

Keyboard shortcuts

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