config

package
v0.0.0-...-29c3169 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigUpdater

type ConfigUpdater interface {
	SetConfig(cfg *pb.Config)
	GetConfig() *pb.Config
}

type Configger

type Configger struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewConfigger

func NewConfigger(cfg *pb.Config) *Configger

func (*Configger) GetConfig

func (c *Configger) GetConfig() *pb.Config

func (*Configger) GetMQTTConfig

func (c *Configger) GetMQTTConfig() *pb.MQTTConfig

func (*Configger) SetConfig

func (c *Configger) SetConfig(cfg *pb.Config)

type MQConfigger

type MQConfigger interface {
	GetMQTTConfig() *pb.MQTTConfig
}

Jump to

Keyboard shortcuts

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