conf

package
v0.0.0-...-7dee665 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadFromFile

func ReadFromFile() (err error)

func WriteToFile

func WriteToFile() (err error)

Types

type FitConfig

type FitConfig struct {
	IsHTTPS     bool   `json:"is_https"`
	Address     string `json:"fortinet_address"`
	Username    string `json:"username"`
	Password    string `json:"password"`
	MaxRetries  int    `json:"max_retries"`
	RefreshTime int    `json:"refresh_time"`

	AutoStartup     bool   `json:"auto_startup"`
	TerminationTime string `json:"termination_time"`
	SessionID       string `json:"session_id"`
}
var Fit *FitConfig // Configuration singleton

Jump to

Keyboard shortcuts

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