Documentation ¶
Index ¶
- type Implementation
- func (i *Implementation) Create(ctx context.Context, req *chatPb.CreateRequest) (*chatPb.CreateResponse, error)
- func (i *Implementation) Delete(ctx context.Context, req *chatPb.DeleteRequest) (*empty.Empty, error)
- func (i *Implementation) SendMessage(ctx context.Context, req *chatPb.SendMessageRequest) (*empty.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Implementation ¶
type Implementation struct { chatPb.UnimplementedChatV1Server // contains filtered or unexported fields }
func NewImplementation ¶
func NewImplementation(chatServ service.ChatService, messageServ service.MessageService) *Implementation
func (*Implementation) Create ¶
func (i *Implementation) Create(ctx context.Context, req *chatPb.CreateRequest) (*chatPb.CreateResponse, error)
func (*Implementation) Delete ¶
func (i *Implementation) Delete(ctx context.Context, req *chatPb.DeleteRequest) (*empty.Empty, error)
func (*Implementation) SendMessage ¶
func (i *Implementation) SendMessage(ctx context.Context, req *chatPb.SendMessageRequest) (*empty.Empty, error)
Click to show internal directories.
Click to hide internal directories.