Documentation ¶
Index ¶
- type CreateDialogParams
- type CreateMessageParams
- type GetDialogMessagesParams
- type Service
- type ServiceImpl
- func (s *ServiceImpl) CreateDialog(ctx context.Context, params *CreateDialogParams) (*model.Dialog, error)
- func (s *ServiceImpl) CreateMessage(ctx context.Context, params *CreateMessageParams) error
- func (s *ServiceImpl) GetDialogMessages(ctx context.Context, params *GetDialogMessagesParams) ([]*model.Message, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDialogParams ¶
type CreateMessageParams ¶
type GetDialogMessagesParams ¶
type ServiceImpl ¶
type ServiceImpl struct {
// contains filtered or unexported fields
}
func NewServiceImpl ¶
func (*ServiceImpl) CreateDialog ¶
func (s *ServiceImpl) CreateDialog(ctx context.Context, params *CreateDialogParams) (*model.Dialog, error)
func (*ServiceImpl) CreateMessage ¶
func (s *ServiceImpl) CreateMessage(ctx context.Context, params *CreateMessageParams) error
func (*ServiceImpl) GetDialogMessages ¶
func (s *ServiceImpl) GetDialogMessages(ctx context.Context, params *GetDialogMessagesParams) ([]*model.Message, error)
Click to show internal directories.
Click to hide internal directories.