Versions in this module Expand all Collapse all v0 v0.5.0 Oct 15, 2023 v0.4.0 Oct 6, 2023 Changes in this version + type CfConfig struct + Config struct{ ... } + ID string + Token string + func (c *CfConfig) ExportConf(exportFmt string) (resault []byte, err error) + type RegisterRequest struct + FCMToken string + InstallID string + Key string + Locale string + Model string + TOS string + Type string + type Uint8Array []uint8 + func (a Uint8Array) MarshalJSON() ([]byte, error) + type UpdateDeviceRequest struct + Active bool + Name string + type Warp struct + Cfg CfConfig + Name string + SocksAddr string + func New() *Warp + func (w *Warp) ExportConf(exportFmt string) (resault []byte, err error) + func (w *Warp) Register() (err error) + func (w *Warp) UpdateDevice(name string) error