configuration

package
v0.0.0-...-ed2735e Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package configuration provide virtual functionality of configuration.

Index

Constants

View Source
const (
	PROPERTIES                               = "properties"
	NAME                                     = "name"
	VALUE                                    = "value"
	READONLY                                 = "readOnly"
	DEFAULT_DEVICE_NAME                      = "EdgeDevice"
	DEFAULT_PING_INTERVAL                    = "10"
	UNSECURED_ANCHOR_PORT_WITH_REVERSE_PROXY = "80"
	DEFAULT_ANCHOR_PORT                      = "48099"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	// GetConfiguration returns a map of configuration stored in database.
	GetConfiguration() (map[string]interface{}, error)

	// SetConfiguration updates configuration sets.
	SetConfiguration(body string) error
}

Interface of configuration operations.

type Executor

type Executor struct{}

func (Executor) GetConfiguration

func (Executor) GetConfiguration() (map[string]interface{}, error)

func (Executor) SetConfiguration

func (configurator Executor) SetConfiguration(body string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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