handler

package
v0.0.0-...-eaac71e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatRPCServerV1

type ChatRPCServerV1 struct {
	desc.UnimplementedChat_V1Server
	// contains filtered or unexported fields
}

ChatRPCServerV1 is a struct that implements Chat_V1Server interface

func NewChatRPCServerV1

func NewChatRPCServerV1(log *log.Logger) *ChatRPCServerV1

NewChatRPCServerV1 returns a new ChatRPCServerV1 instance

func (*ChatRPCServerV1) Create

Create is a method that implements the Create method of the Chat_V1Server interface

func (*ChatRPCServerV1) Delete

Delete is a method that implements the Delete method of the Chat_V1Server interface

func (*ChatRPCServerV1) SendMessage

func (s *ChatRPCServerV1) SendMessage(ctx context.Context, req *desc.SendRequest) (*emptypb.Empty, error)

SendMessage is a method that implements the SendMessage method of the Chat_V1Server interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL