Documentation ¶
Index ¶
- Variables
- func NewClient() cmder.Cmder
- func NewServer() cmder.Cmder
- type Base
- type FRPClient
- func (c *FRPClient) Init() error
- func (c *FRPClient) Restart(writer ...io.Writer) error
- func (c *FRPClient) RestartBy(id string, writer ...io.Writer) error
- func (c *FRPClient) Start(writer ...io.Writer) (err error)
- func (c *FRPClient) StartBy(id uint, writer ...io.Writer) (err error)
- func (c *FRPClient) Stop() error
- func (c *FRPClient) StopBy(id string) error
- func (c *FRPClient) StopHistory(ids ...string) error
- type FRPServer
- func (c *FRPServer) Init() error
- func (c *FRPServer) Restart(writer ...io.Writer) error
- func (c *FRPServer) RestartBy(id string, writer ...io.Writer) error
- func (c *FRPServer) Start(writer ...io.Writer) (err error)
- func (c *FRPServer) StartBy(id uint, writer ...io.Writer) (err error)
- func (c *FRPServer) Stop() error
- func (c *FRPServer) StopBy(id string) error
- func (c *FRPServer) StopHistory(ids ...string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnsupported = errors.New("unsupported") ErrNoAvailibaleConfigFound = errors.New(`No available configurations found`) )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.