Documentation ¶
Index ¶
- type Config
- type Service
- type TrafficItem
- type TrafficManager
- type UserManager
- type UsersService
- func (s *UsersService) Auth(uuid string) (int, bool)
- func (s *UsersService) Close() error
- func (s *UsersService) FetchUsersTask() error
- func (s *UsersService) GetTrafficItem(userId int) *TrafficItem
- func (s *UsersService) Init() error
- func (s *UsersService) ReportTrafficsTask() error
- func (s *UsersService) Start() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TrafficItem ¶
type TrafficManager ¶
type TrafficManager struct {
// contains filtered or unexported fields
}
type UserManager ¶
type UserManager struct {
// contains filtered or unexported fields
}
type UsersService ¶
type UsersService struct {
// contains filtered or unexported fields
}
func NewUsersService ¶
func NewUsersService(config *Config, client *api.Client) *UsersService
func (*UsersService) Close ¶
func (s *UsersService) Close() error
func (*UsersService) FetchUsersTask ¶
func (s *UsersService) FetchUsersTask() error
func (*UsersService) GetTrafficItem ¶
func (s *UsersService) GetTrafficItem(userId int) *TrafficItem
func (*UsersService) Init ¶
func (s *UsersService) Init() error
func (*UsersService) ReportTrafficsTask ¶
func (s *UsersService) ReportTrafficsTask() error
func (*UsersService) Start ¶
func (s *UsersService) Start() error
Click to show internal directories.
Click to hide internal directories.