masterData

package
v0.0.0-...-0b10f05 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultURL  string = "127.0.0.1"
	DefaultPort uint32 = 50000
)

Variables

View Source
var (
	UP             helpers.Locker = helpers.Locker{Label: "Master"}
	Info           Infostruct
	ConnectionInfo ConnectionInfostruct
	Setup          = setup
)

Functions

func ResetFuncs

func ResetFuncs()

Types

type ConnectionInfostruct

type ConnectionInfostruct struct {
	Key string
	IP  string
}

func (*ConnectionInfostruct) CheckIP

func (ci *ConnectionInfostruct) CheckIP(ipAddress string) bool

func (*ConnectionInfostruct) CheckKey

func (ci *ConnectionInfostruct) CheckKey(key string) bool

type Infostruct

type Infostruct struct {
	URL             string
	Port            uint32
	RegistrationKey string
}

func (*Infostruct) Address

func (is *Infostruct) Address() string

Jump to

Keyboard shortcuts

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