Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBaseConfig ¶
GetBaseConfig 读取database.yaml根目录结构
func NewWebgoSSH ¶
func NewWebgoSSH(params ...interface{}) (interface{}, error)
NewWebgoSSH 代表实例化Client
func WithConfigPath ¶
WithConfigPath 加载配置文件地址
Types ¶
type SSHProvider ¶
type SSHProvider struct { }
SSHProvider 提供App的具体实现方法
func (*SSHProvider) Boot ¶
func (h *SSHProvider) Boot(container framework.Container) error
Boot 启动调用
func (*SSHProvider) Params ¶
func (h *SSHProvider) Params(container framework.Container) []interface{}
Params 获取初始化参数
func (*SSHProvider) Register ¶
func (h *SSHProvider) Register(container framework.Container) framework.NewInstance
Register 注册方法
Click to show internal directories.
Click to hide internal directories.