utils

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLoggerFor

func GetLoggerFor() *log.Entry

Types

type ConfigFile added in v0.0.16

type ConfigFile struct {
	// contains filtered or unexported fields
}

func NewConfigFromFile added in v0.0.16

func NewConfigFromFile(filePath string) *ConfigFile

func (*ConfigFile) GetFilePath added in v0.0.16

func (cf *ConfigFile) GetFilePath() string

func (*ConfigFile) ReadConfig added in v0.0.16

func (cf *ConfigFile) ReadConfig() ([]byte, error)

func (*ConfigFile) WriteConfig added in v0.0.16

func (cf *ConfigFile) WriteConfig(configData []byte) error

Jump to

Keyboard shortcuts

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