Documentation ¶
Index ¶
- func GRPCError(err error) error
- type DialogHandler
- func (h *DialogHandler) CreateDialog(ctx context.Context, request *inpb.CreateDialogRequest) (*inpb.CreateDialogResponse, error)
- func (h *DialogHandler) CreateMessage(ctx context.Context, request *inpb.CreateMessageRequest) (*emptypb.Empty, error)
- func (h *DialogHandler) GetDialogMessages(ctx context.Context, request *inpb.GetDialogMessagesRequest) (*inpb.GetDialogMessagesResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DialogHandler ¶
type DialogHandler struct { inpb.UnimplementedDialogServiceServer DialogService dialog.Service }
func (*DialogHandler) CreateDialog ¶
func (h *DialogHandler) CreateDialog(ctx context.Context, request *inpb.CreateDialogRequest) (*inpb.CreateDialogResponse, error)
func (*DialogHandler) CreateMessage ¶
func (h *DialogHandler) CreateMessage(ctx context.Context, request *inpb.CreateMessageRequest) (*emptypb.Empty, error)
func (*DialogHandler) GetDialogMessages ¶
func (h *DialogHandler) GetDialogMessages(ctx context.Context, request *inpb.GetDialogMessagesRequest) (*inpb.GetDialogMessagesResponse, error)
Click to show internal directories.
Click to hide internal directories.