structs

package
v0.0.0-...-4795aec Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KoubeAudience

type KoubeAudience struct {
	Aid          int    `json:"aid"`
	EntranceCode string `json:"entrance_code,omitempty"`
	VerifyCode   string `json:"verify_code,omitempty"`
}

type KoubeConfig

type KoubeConfig struct {
	Port                  string
	EntranceCodeSalt      string `mapstructure:"entrance_code_salt"`
	MaxEntranceCodeLength int    `mapstructure:"max_entrance_code_length"`
	VerifyCodeSalt        string `mapstructure:"verify_code_salt"`
	MaxVerifyCodeLength   int    `mapstructure:"max_verify_code_length"`
	APIAuthKey            string `mapstructure:"api_auth_key"`
	MaxAudienceCount      int    `mapstructure:"max_audience_count"`
	GenerationComplete    bool   `mapstructure:"generation_complete"`
	ShowStartTime         int64  `mapstructure:"show_start_time"`
	AccessAllowDuration   int64  `mapstructure:"access_allow_duration"`
}

type KoubeResponse

type KoubeResponse struct {
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Data    interface{} `json:"data,omitempty"`
}

Jump to

Keyboard shortcuts

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