Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildInbound ¶ added in v1.1.8
func BuildInbound(config *conf.ControllerConfig, nodeInfo *panel.NodeInfo, tag string) (*core.InboundHandlerConfig, error)
BuildInbound build Inbound config for different protocol
Types ¶
type Controller ¶ added in v1.1.8
type Controller struct { Tag string *conf.ControllerConfig // contains filtered or unexported fields }
func NewController ¶ added in v1.1.8
func NewController(server *core.Core, api *panel.Client, config *conf.ControllerConfig) *Controller
NewController return a Node controller with default parameters.
func (*Controller) Close ¶ added in v1.1.8
func (c *Controller) Close() error
Close implement the Close() function of the service interface
func (*Controller) RenewCert ¶ added in v1.1.8
func (c *Controller) RenewCert()
func (*Controller) Start ¶ added in v1.1.8
func (c *Controller) Start() error
Start implement the Start() function of the service interface
Click to show internal directories.
Click to hide internal directories.