util

package
v0.0.0-...-603cc19 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DebugPrintf

func DebugPrintf(format string, values ...interface{})

func GetLocalIp

func GetLocalIp() string

func Min

func Min(x, y time.Duration) time.Duration

func ScheduleIntervalExecutor

func ScheduleIntervalExecutor(refreshInterval time.Duration, f func())

func SetDebug

func SetDebug(debug bool)

Types

type ApolloConfigError

type ApolloConfigError struct {
	Message string
}

func (ApolloConfigError) Error

func (e ApolloConfigError) Error() string

type ApolloConfigStatusCodeError

type ApolloConfigStatusCodeError struct {
	Message    string
	StatusCode int
}

func (ApolloConfigStatusCodeError) Error

func (ApolloConfigStatusCodeError) GetStatusCode

func (e ApolloConfigStatusCodeError) GetStatusCode() int

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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