Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAllRouteFailError ¶
IsAllRouteFailError check the error type
Types ¶
type AllRouteFailError ¶
type AllRouteFailError struct {
// contains filtered or unexported fields
}
AllRouteFailError ...
func (AllRouteFailError) Error ¶
func (e AllRouteFailError) Error() string
func (AllRouteFailError) OriginalError ¶
func (e AllRouteFailError) OriginalError() error
type Cli ¶
type Cli struct{}
Cli the singleton type
func (*Cli) CheckContext ¶
CheckContext check everything needed for tun setup
func (*Cli) CheckRoute ¶ added in v0.3.5
CheckRoute check whether all route rule setup properly
func (*Cli) RestoreRoute ¶ added in v0.3.3
RestoreRoute delete route rules made by kt
Click to show internal directories.
Click to hide internal directories.