reloader

package
v0.0.0-...-406c194 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WhichTypePath = iota
	WhichTypeUrl
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ReloadableData

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

func NewReloadableData

func NewReloadableData(from string) *ReloadableData

func (*ReloadableData) LoadFromFile

func (kt *ReloadableData) LoadFromFile() []byte

func (*ReloadableData) LoadFromUrl

func (kt *ReloadableData) LoadFromUrl() []byte

func (*ReloadableData) Reload

func (kt *ReloadableData) Reload() []byte

Jump to

Keyboard shortcuts

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