Documentation ¶
Index ¶
- Variables
- type Logger
- type Loop
- func (l *Loop) GetSettings() (settings settings.Shadowsocks)
- func (l *Loop) GetStatus() (status models.LoopStatus)
- func (l *Loop) Run(ctx context.Context, done chan<- struct{})
- func (l *Loop) SetSettings(ctx context.Context, settings settings.Shadowsocks) (outcome string)
- func (l *Loop) SetStatus(ctx context.Context, status models.LoopStatus) (outcome string, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidStatus = errors.New("invalid status")
Functions ¶
This section is empty.
Types ¶
type Loop ¶
type Loop struct {
// contains filtered or unexported fields
}
func (*Loop) GetSettings ¶
func (l *Loop) GetSettings() (settings settings.Shadowsocks)
func (*Loop) GetStatus ¶
func (l *Loop) GetStatus() (status models.LoopStatus)
func (*Loop) SetSettings ¶
Click to show internal directories.
Click to hide internal directories.