Documentation ¶
Index ¶
- type Store
- func (s *Store) ActiveUsersCharIDs() []int32
- func (s *Store) CreateUser(u *ts3.User)
- func (s *Store) Drop()
- func (s *Store) Init()
- func (s *Store) SetUserInactiveByUID(uid string)
- func (s *Store) TS3UIDExists(uid string) bool
- func (s *Store) UpdateUser(u *ts3.User)
- func (s *Store) UpdateUserByUID(u *ts3.User)
- func (s *Store) Users() []*ts3.User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store implements ts3.Store interface backed by postgresql and sqlx.
func (*Store) ActiveUsersCharIDs ¶
ActiveUsersCharIDs returns EveCharIDs of users with `Active` set to true.
func (*Store) CreateUser ¶
CreateUser stores a ts3.User record.
func (*Store) SetUserInactiveByUID ¶
SetUserInactiveByUID sets `active` to false for provided uid.
func (*Store) TS3UIDExists ¶
TS3UIDExists checks if record with provided uid exists.
func (*Store) UpdateUser ¶
UpdateUser updates a ts3.User record.
func (*Store) UpdateUserByUID ¶
UpdateUserByUID updates a ts3.User record.
Click to show internal directories.
Click to hide internal directories.