configor

package
v1.15.5 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DurationNotify added in v1.1.3

func DurationNotify(file string, td time.Duration, stdTd time.Duration)

func StdDuration added in v1.1.3

func StdDuration(td time.Duration, stdTd time.Duration) time.Duration

标准化TimeDuration

Types

type Client

type Client interface {
	GetConfig() ([]byte, error)
	SetConfig(func([]byte)) error
	Listener(func([]byte)) error
}

type ConfigCenter

type ConfigCenter interface {
	NewClient() Client
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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