srunModels

package
v1.1.0-20220312 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Basic

type Basic struct {
	Https          bool   `json:"https" yaml:"https" mapstructure:"https"`
	SkipCertVerify bool   `json:"skip_cert_verify" yaml:"skip_cert_verify" mapstructure:"skip_cert_verify"`
	Timeout        uint   `json:"timeout" yaml:"timeout" mapstructure:"timeout"`
	Interfaces     string `json:"interfaces" yaml:"interfaces" mapstructure:"interfaces"`
	SkipNetCheck   bool   `json:"skip_net_check" yaml:"skip_net_check" mapstructure:"skip_net_check"`
	NetCheckUrl    string `json:"net_check_url" yaml:"net_check_url" mapstructure:"net_check_url"`
}

type Config

type Config struct {
	Form     srunTransfer.LoginForm `json:"form" yaml:"form" mapstructure:"form"`
	Meta     srunTransfer.LoginMeta `json:"meta" yaml:"meta" mapstructure:"meta"`
	Settings Settings               `json:"settings" yaml:"settings" mapstructure:"settings"`
}

type Daemon

type Daemon struct {
	Enable bool   `json:"enable" yaml:"enable" mapstructure:"enable"`
	Path   string `json:"path" yaml:"path" mapstructure:"path"`
}

type Debug

type Debug struct {
	Enable   bool   `json:"enable" yaml:"enable" mapstructure:"enable"`
	WriteLog bool   `json:"write_log" yaml:"write_log" mapstructure:"write_log"`
	LogPath  string `json:"log_path" yaml:"log_path" mapstructure:"log_path"`
}

type Eth

type Eth struct {
	Name string
	Addr net.Addr
}

type Guardian

type Guardian struct {
	Enable   bool `json:"enable" yaml:"enable" mapstructure:"enable"`
	Duration uint `json:"duration" yaml:"duration" mapstructure:"duration"`
}

type LoginInfo

type LoginInfo struct {
	UrlLoginPage       string
	UrlGetChallengeApi string
	UrlLoginApi        string
	UrlCheckApi        string

	Ip              string
	Token           string
	EncryptedInfo   string
	Md5             string
	EncryptedMd5    string
	EncryptedChkstr string
	LoginResult     string

	Form *srunTransfer.LoginForm
	Meta *srunTransfer.LoginMeta
}

type Settings

type Settings struct {
	Basic    Basic    `json:"basic" yaml:"basic" mapstructure:"basic"`
	Guardian Guardian `json:"guardian" yaml:"guardian" mapstructure:"guardian"`
	Daemon   Daemon   `json:"daemon" yaml:"daemon" mapstructure:"daemon"`
	Debug    Debug    `json:"debug" yaml:"debug" mapstructure:"debug"`
}

Jump to

Keyboard shortcuts

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