Documentation ¶
Index ¶
- Constants
- type DevClient
- func (dc *DevClient) AddStamp(ctx context.Context, messageId uuid.UUID, stampId uuid.UUID, count int) error
- func (dc *DevClient) GetAllStamps(ctx context.Context) (map[string]uuid.UUID, error)
- func (dc *DevClient) GetAllUserIds(ctx context.Context) ([]uuid.UUID, error)
- func (dc *DevClient) GetStampIdByName(ctx context.Context, name string) (uuid.UUID, error)
- func (dc *DevClient) GetUserInfo(ctx context.Context, userId uuid.UUID) (*model.TraqUser, error)
- func (dc *DevClient) JoinChannel(ctx context.Context, channelId uuid.UUID) error
- func (dc *DevClient) LeaveChannel(ctx context.Context, channelId uuid.UUID) error
- func (dc *DevClient) SendMessage(ctx context.Context, channelId uuid.UUID, message string, embed bool) (uuid.UUID, error)
Constants ¶
View Source
const MESSAGE_MSG = "message"
View Source
const STAMP_MSG = "stamp"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DevClient ¶
type DevClient struct {
// contains filtered or unexported fields
}
func NewDevClient ¶
func (*DevClient) GetAllStamps ¶
func (*DevClient) GetAllUserIds ¶
func (*DevClient) GetStampIdByName ¶
func (*DevClient) GetUserInfo ¶
func (*DevClient) JoinChannel ¶
func (*DevClient) LeaveChannel ¶
Click to show internal directories.
Click to hide internal directories.