operate

package
v0.0.0-...-d989b54 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidEventMode

func IsValidEventMode(mode string) bool

Types

type Event

type Event struct {
	Opcode  Opcode
	Domain  string
	File    string
	Section string
	Key     string
	Data    interface{}
}

type EventModeType

type EventModeType string
const (
	EventModeConf    EventModeType = "conf"
	EventModeVersion EventModeType = "version"
)

type Opcode

type Opcode string
const (
	OpcodeUpdateKey    Opcode = "updateKey"
	OpcodeDeleteKey    Opcode = "deleteKey"
	OpcodeRollback     Opcode = "rollback"
	OpcodeUpdateDomain Opcode = "updateDomain"
)

Jump to

Keyboard shortcuts

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