Documentation ¶
Index ¶
Constants ¶
View Source
const ( SshAuthTypePrivateKey = iota SshAuthTypePassword )
Variables ¶
View Source
var MysqlDb *gorm.DB
View Source
var RedisDb *redis.Client
redis client
Functions ¶
This section is empty.
Types ¶
type Agent ¶
func GetAllAgents ¶
func GetAllAgents() (agents []Agent)
type MongoConnectionModel ¶
type MongoConnectionModel struct { ConnectionName string Address string Port string UserName string Password string DefaultDbName string SshTunnelModel }
func (*MongoConnectionModel) ConnectionString ¶
func (m *MongoConnectionModel) ConnectionString() string
Click to show internal directories.
Click to hide internal directories.