entity

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

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

Go to latest
Published: Dec 4, 2021 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const VERSION = "1.0"

Variables

This section is empty.

Functions

This section is empty.

Types

type Barco

type Barco struct {
	// TODO : make ip struct
	Network struct {
		IP         string
		SubnetMask string
		Gateway    string
	}
	Personalisation struct {
		OnScreenID struct {
			Language           string
			MeetingRoomName    string
			Location           string
			WelcomeMessage     string
			ShowNetworkInfo    bool
			EnableThreaterMode bool
			ScreenSaverTimeout string
		}
		Wallpaper struct {
			Number string
			Link   string
		}
	}
	WifiNetwork struct {
		LanSettings struct {
			LanHostName struct {
				Hostname string
			}
			PrimaryInterface struct {
				Method                     string
				PrimaryInterfaceIP         string
				PrimaryInterfaceSubnetMask string
				PrimaryInterfaceGateway    string
				PrimaryInterfaceDnsServer  string
			}
		}
		Services struct {
			ShareViaAirPlay    bool
			ShareViaGoogleCast bool
		}
		WirelessNetwork struct {
			SsidName     string
			Wpa2Password string
		}
	}
}

Barco is struct for json config. It will be used for configure your / CX-20 clickshare module

func (*Barco) GetConfig

func (receiver *Barco) GetConfig() *Barco

type BarcoConfigIT

type BarcoConfigIT interface {
	GetConfig()
}

BarcoConfigIT interface is used as JSON config getter for CX-20 station

type ConfigIT

type ConfigIT interface {
	GetConfig()
}

ConfigIT TODO : Make JSON structure ConfigIT interface is used as YAML config getter for environment

type Request

type Request struct {
	Path   string
	Params string
	Method string
}

type Route

type Route struct {
	Path   string
	Method string
}

Route is a service endpoint

type Wallpaper

type Wallpaper struct {
	Id   int    `json:"id"`
	Md5  string `json:"md5"`
	Name string `json:"name"`
}

type YmlConfig

type YmlConfig struct {
	Env         string `yaml:"env"`
	Log         string `yaml:"log"`
	ApiUrl      string `yaml:"api-url"`
	ApiUser     string `yaml:"api-user"`
	ApiPassword string `yaml:"api-password"`
	ApiToken    string `yaml:"api-token"`
}

YmlConfig is struct for yml config env and different state or choice

func (*YmlConfig) GetConfig

func (receiver *YmlConfig) GetConfig() *YmlConfig

Jump to

Keyboard shortcuts

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