configor

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DurationNotify

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

func StdDuration

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