internal

package
v0.0.0-...-1d1a936 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePassword

func GeneratePassword(length int) string

Types

type Config

type Config struct {
	Host        string `mapstructure:"host"`
	Username    string `mapstructure:"username"`
	Password    string `mapstructure:"password"`
	AccessToken string `mapstructure:"access_token"`
}

func (*Config) GenerateVpns

func (c *Config) GenerateVpns()

func (*Config) GetScoreboard

func (c *Config) GetScoreboard()

func (*Config) GetToken

func (c *Config) GetToken()

func (*Config) ManagerRequest

func (c *Config) ManagerRequest(request string)

func (*Config) ReadEvents

func (c *Config) ReadEvents()

Client.

func (*Config) RegisterUsers

func (c *Config) RegisterUsers(filename string)

func (*Config) ShowTeams

func (c *Config) ShowTeams() []models.EntityInfo

type Message

type Message struct {
	Id      int                `json:"id,omitempty"`
	Message models.TeamsEvents `json:"message,omitempty"`
}

type User

type User struct {
	Name     string `json:"name,omitempty"`
	Password string `json:"password,omitempty"`
	Subnet   string `json:"subnet,omitempty"`
	Ip       string `json:"ip,omitempty"`
	Visible  bool   `json:"visible,omitempty"`
}

Jump to

Keyboard shortcuts

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