config

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Info added in v0.3.5

func Info() *config.Info

Types

type Observer

type Observer interface {
	Update(*config.Setting)
}

type ObserverFunc

type ObserverFunc func(*config.Setting)

func (ObserverFunc) Update

func (o ObserverFunc) Update(s *config.Setting)

type Setting

type Setting interface {
	gc.ConfigServiceServer
	AddObserver(Observer)
}

func NewConfig

func NewConfig(path string) Setting

Jump to

Keyboard shortcuts

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