Documentation ¶
Index ¶
Constants ¶
View Source
const (
TIME_DELAY_AFTER_WRITE = 500
)
Variables ¶
View Source
var ( RegAdminName = regexp.MustCompile(`<DM name="User" val="(.*)"/>`) RegAdminPwd = regexp.MustCompile(`<DM name="Pass" val="(.*)"/>`) )
View Source
var (
RegDevice = regexp.MustCompile(`<title>(\w+)</title>`)
)
Functions ¶
This section is empty.
Types ¶
type CUCCProvider ¶
type CUCCProvider struct {
// contains filtered or unexported fields
}
func (*CUCCProvider) GetSuperAdmin ¶
func (s *CUCCProvider) GetSuperAdmin() (*modem.SuperAdmin, error)
func (*CUCCProvider) Type ¶
func (s *CUCCProvider) Type() string
type OptionFunc ¶
type OptionFunc func(opt *options) error
func WithContext ¶
func WithContext(ctx context.Context) OptionFunc
func WithHost ¶
func WithHost(host string) OptionFunc
func WithMacAddr ¶
func WithMacAddr(addr string) OptionFunc
Click to show internal directories.
Click to hide internal directories.