change

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package change supports change management of config values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Change

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

Change contains all the information of a change.

func New

func New(src config.Source, key, value string, version uint64) *Change

New constructor.

func (Change) Key

func (c Change) Key() string

Key of the change.

func (Change) Source

func (c Change) Source() config.Source

Source of the change.

func (Change) Value

func (c Change) Value() string

Value fo the change.

func (Change) Version

func (c Change) Version() uint64

Version of the change.

Jump to

Keyboard shortcuts

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