Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBaseConfig ¶
GetBaseConfig 读取database.yaml根目录结构
func NewColonSSH ¶
func NewColonSSH(params ...interface{}) (interface{}, error)
NewColonSSH 实例化Client
func WithConfigPath ¶
WithConfigPath 加载配置文件地址
Types ¶
type ColonSSH ¶
type ColonSSH struct {
// contains filtered or unexported fields
}
ColonSSH colon框架的ssh实现
type SSHProvider ¶
type SSHProvider struct { }
SSHProvider 提供App的具体实现方法
func (*SSHProvider) Params ¶
func (h *SSHProvider) Params(container core.Container) []interface{}
Params 获取初始化参数
func (*SSHProvider) Register ¶
func (h *SSHProvider) Register(container core.Container) core.NewInstance
Register 注册方法
Click to show internal directories.
Click to hide internal directories.