br

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccountRoles accountRolesBr
View Source
var FileObjects fileObjectsBr
View Source
var Passwords passwordsBr
View Source
var Schedules schedulesBr
View Source
var StdChars = []byte("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")
View Source
var Store storeBr
View Source
var Users usersBr

Functions

func EnableNTPServer

func EnableNTPServer() (err error)

func GetBr

func GetBr(key string) (brObject reflect.Value, ok bool)

func GetOSVersion

func GetOSVersion() (version string)

GetOSVersion Returns the OS Version

func GetResponse

func GetResponse() map[string]interface{}

func IsUpdateAvailable

func IsUpdateAvailable() (available bool)

func Reboot

func Reboot() (err error)

func RegisterBr

func RegisterBr(brObj interface{})

func RegisterBrByKey

func RegisterBrByKey(key string, brObj interface{})

func SetDate

func SetDate(date string) (err error)

func SetDateAndTime

func SetDateAndTime(date string, timeString string) (err error)

func SetTime

func SetTime(timeString string) (err error)

func SetTimeZone

func SetTimeZone(zone string) (err error)

func Shutdown

func Shutdown() (err error)

func ValidationError

func ValidationError(msg string, errInfo error) (message string, err error)

func VerifyIp

func VerifyIp(ipAddress string, lowIp string, highIP string) error

Types

type IPAddress

type IPAddress struct{}

func (IPAddress) ValidateIPV4

func (IPAddress) ValidateIPV4(x interface{}) interface{}

type Server_Br

type Server_Br struct {
	// contains filtered or unexported fields
}
var Server Server_Br

func (Server_Br) TotalMemory

func (self Server_Br) TotalMemory() uint64

func (Server_Br) UsedMemeory

func (self Server_Br) UsedMemeory() uint64

type ValidateIPV4

type ValidateIPV4 struct {
	IpAddress string `json:"IpAddress"`
}

type Version

type Version struct {
	Version      string `json:"version"`
	Error        string `json:"error"`
	AlwaysUpdate bool   `json:"alwaysupdate"`
	ReleaseNotes string `json:"releaseNotes"`
}

Jump to

Keyboard shortcuts

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