file

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package file implements File config.Provider.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

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

File config.Provider implementation.

func New

func New(path string) (*File, error)

New returns new File config.Provider.

func (*File) AddWatcher

func (c *File) AddWatcher(f config.WatchFunc)

AddWatcher ...

func (*File) Get

func (c *File) Get() config.Config

Get config.Config.

Jump to

Keyboard shortcuts

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