Documentation ¶
Index ¶
- type Service
- func (svc Service) Account(ctx context.Context, id string) (account dofus.Account, err error)
- func (svc Service) AccountByName(ctx context.Context, name string) (account dofus.Account, err error)
- func (svc Service) Accounts(ctx context.Context) (accounts map[string]dofus.Account, err error)
- func (svc Service) AccountsByUserId(ctx context.Context, userId string) (accounts map[string]dofus.Account, err error)
- func (svc Service) CreateAccount(ctx context.Context, account dofus.Account) (id string, err error)
- func (svc Service) CreateUser(ctx context.Context, user dofus.User) (id string, err error)
- func (svc Service) SetAccountLastAccessAndLastIP(ctx context.Context, id string, lastAccess time.Time, lastIP string) error
- func (svc Service) User(ctx context.Context, id string) (user dofus.User, err error)
- func (svc Service) UserAddChatChannel(ctx context.Context, id string, chatChannels ...dofustyp.ChatChannel) error
- func (svc Service) UserByNickname(ctx context.Context, nickname string) (user dofus.User, err error)
- func (svc Service) UserRemoveChatChannel(ctx context.Context, id string, chatChannels ...dofustyp.ChatChannel) error
- func (svc Service) Users(ctx context.Context) (users map[string]dofus.User, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (Service) AccountByName ¶
func (Service) AccountsByUserId ¶
func (Service) CreateAccount ¶
func (Service) CreateUser ¶
func (Service) SetAccountLastAccessAndLastIP ¶
func (Service) UserAddChatChannel ¶
func (Service) UserByNickname ¶
func (Service) UserRemoveChatChannel ¶
Click to show internal directories.
Click to hide internal directories.