Documentation
¶
Index ¶
- func AddBoolSysctl(name string, b *bool)
- func AddInt64Sysctl(name string, i *int64)
- func AddIntSysctl(name string, i *int)
- func AddMemSysctl(name string, mem *uint64)
- func AddRoSysctl(name string, read func() string)
- func AddStringSysctl(name string, s *string)
- func AddSysctl(name string, get func() string, set func(string) error)
- func AddTimeSysctl(name string, d *time.Duration)
- type Sysctl
- func (_ *Sysctl) Add(ctx context.Context, _ interface{}) *xrest.ReqErr
- func (_ *Sysctl) Del(ctx context.Context) *xrest.ReqErr
- func (ctl *Sysctl) Info(ctx context.Context, q url.Values, details bool) (interface{}, *xrest.ReqErr)
- func (ctl *Sysctl) Upd(ctx context.Context, upd interface{}) *xrest.ReqErr
- type Sysctls
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBoolSysctl ¶
func AddInt64Sysctl ¶
func AddIntSysctl ¶
func AddMemSysctl ¶
func AddRoSysctl ¶
func AddStringSysctl ¶
func AddTimeSysctl ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.