Documentation ¶
Index ¶
Constants ¶
View Source
const (
TIME_DELAY_AFTER_WRITE = 500
)
Variables ¶
View Source
var ( RegIP = regexp.MustCompile(`(\d{1,3}\.){3}\d{1,3}`) RegMAC = regexp.MustCompile(`([\d|\w]{1,3}:){5}[\d|\w]{1,3}`) )
View Source
var ( RegAdminName = regexp.MustCompile(`admin_name=(.*)`) RegAdminPwd = regexp.MustCompile(`admin_pwd=(.*)`) )
Functions ¶
This section is empty.
Types ¶
type CMCCProvider ¶
type CMCCProvider struct {
// contains filtered or unexported fields
}
func (*CMCCProvider) GetSuperAdmin ¶
func (s *CMCCProvider) GetSuperAdmin() (*modem.SuperAdmin, error)
func (*CMCCProvider) Type ¶
func (s *CMCCProvider) Type() string
type OptionFunc ¶
type OptionFunc func(opt *options) error
func WithContext ¶
func WithContext(ctx context.Context) OptionFunc
func WithHclient ¶
func WithHclient(hclient *http.Client) OptionFunc
func WithHost ¶
func WithHost(host string) OptionFunc
func WithMacAddr ¶
func WithMacAddr(addr string) OptionFunc
func WithTelnetURL ¶
func WithTelnetURL(uri string) OptionFunc
Click to show internal directories.
Click to hide internal directories.