Documentation ¶
Index ¶
- func LoadAdditionalClientConfigs(paths []string, isLegacyFormat bool, strict bool) ([]v1.ProxyConfigurer, []v1.VisitorConfigurer, error)
- func LoadClientConfig(path string, strict bool) (*v1.ClientCommonConfig, []v1.ProxyConfigurer, []v1.VisitorConfigurer, bool, ...)
- func LoadConfigure(b []byte, c any, strict bool) error
- func LoadConfigureFromFile(path string, c any, strict bool) error
- func LoadFileContentWithTemplate(path string, values *Values) ([]byte, error)
- func ParseFRPCConfigToSSHCmd(cfg *v1.ClientCommonConfig, proxyCfgs []v1.ProxyConfigurer, ...) []string
- func RenderWithTemplate(in []byte, values *Values) ([]byte, error)
- type GoSSHParam
- type Values
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadAdditionalClientConfigs ¶
func LoadAdditionalClientConfigs(paths []string, isLegacyFormat bool, strict bool) ([]v1.ProxyConfigurer, []v1.VisitorConfigurer, error)
func LoadClientConfig ¶
func LoadClientConfig(path string, strict bool) ( *v1.ClientCommonConfig, []v1.ProxyConfigurer, []v1.VisitorConfigurer, bool, error, )
LoadConfigure loads configuration from bytes and unmarshal into c. Now it supports json, yaml and toml format.
func ParseFRPCConfigToSSHCmd ¶
func ParseFRPCConfigToSSHCmd( cfg *v1.ClientCommonConfig, proxyCfgs []v1.ProxyConfigurer, visitorCfgs []v1.VisitorConfigurer, ) []string
ParseFRPCConfigToSSHCmd parse standard frpc config to standard ssh commands
Types ¶
type GoSSHParam ¶
func ParseFRPCConfigToGoSSHParam ¶
func ParseFRPCConfigToGoSSHParam( cfg *v1.ClientCommonConfig, proxyCfgs []v1.ProxyConfigurer, visitorCfgs []v1.VisitorConfigurer, ) (res []GoSSHParam)
Click to show internal directories.
Click to hide internal directories.