model

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Ssh SSH
	Tls TLS
}

type RedisConnectionGet

type RedisConnectionGet struct {
	Id       int
	Title    string
	Host     string
	Port     string
	Db       string
	Username string
	Password string
	DbAlias  *gjson.Json
	Options  Options
}

type SSH

type SSH struct {
	Enable     bool
	Host       string
	Port       string
	Username   string
	Password   string
	AuthType   string // password / private_key
	PrivateKey string
	Passphrase string
}

type TLS added in v0.4.0

type TLS struct {
	Enable bool
	Cert   string
	Key    string
	Ca     string
}

Jump to

Keyboard shortcuts

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