gen

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package gen is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_proto_imp_api_messaging_messaging_proto protoreflect.FileDescriptor

Functions

func RegisterMessagingHandler

func RegisterMessagingHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMessagingHandler registers the http handlers for service Messaging to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMessagingHandlerClient

func RegisterMessagingHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MessagingClient) error

RegisterMessagingHandlerClient registers the http handlers for service Messaging to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MessagingClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MessagingClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MessagingClient" to call the correct interceptors.

func RegisterMessagingHandlerFromEndpoint

func RegisterMessagingHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMessagingHandlerFromEndpoint is same as RegisterMessagingHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMessagingHandlerServer

func RegisterMessagingHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MessagingServer) error

RegisterMessagingHandlerServer registers the http handlers for service Messaging to "mux". UnaryRPC :call MessagingServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMessagingHandlerFromEndpoint instead.

func RegisterMessagingServer

func RegisterMessagingServer(s *grpc.Server, srv MessagingServer)

Types

type DeleteGroupMessageRequest

type DeleteGroupMessageRequest struct {
	GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // The group ID of the messages to delete
	// contains filtered or unexported fields
}

* Represents a request to delete a group message.

func (*DeleteGroupMessageRequest) Descriptor deprecated

func (*DeleteGroupMessageRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteGroupMessageRequest.ProtoReflect.Descriptor instead.

func (*DeleteGroupMessageRequest) GetGroupId

func (x *DeleteGroupMessageRequest) GetGroupId() string

func (*DeleteGroupMessageRequest) ProtoMessage

func (*DeleteGroupMessageRequest) ProtoMessage()

func (*DeleteGroupMessageRequest) ProtoReflect

func (*DeleteGroupMessageRequest) Reset

func (x *DeleteGroupMessageRequest) Reset()

func (*DeleteGroupMessageRequest) String

func (x *DeleteGroupMessageRequest) String() string

type DeleteGroupMessageResponse

type DeleteGroupMessageResponse struct {
	// contains filtered or unexported fields
}

* Represents a response containing the message deletion event.

func (*DeleteGroupMessageResponse) Descriptor deprecated

func (*DeleteGroupMessageResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteGroupMessageResponse.ProtoReflect.Descriptor instead.

func (*DeleteGroupMessageResponse) ProtoMessage

func (*DeleteGroupMessageResponse) ProtoMessage()

func (*DeleteGroupMessageResponse) ProtoReflect

func (*DeleteGroupMessageResponse) Reset

func (x *DeleteGroupMessageResponse) Reset()

func (*DeleteGroupMessageResponse) String

func (x *DeleteGroupMessageResponse) String() string

type DeleteMessageRequest

type DeleteMessageRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The ID of the message to delete
	// contains filtered or unexported fields
}

* Represents a request to delete a message.

func (*DeleteMessageRequest) Descriptor deprecated

func (*DeleteMessageRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteMessageRequest.ProtoReflect.Descriptor instead.

func (*DeleteMessageRequest) GetId

func (x *DeleteMessageRequest) GetId() string

func (*DeleteMessageRequest) ProtoMessage

func (*DeleteMessageRequest) ProtoMessage()

func (*DeleteMessageRequest) ProtoReflect

func (x *DeleteMessageRequest) ProtoReflect() protoreflect.Message

func (*DeleteMessageRequest) Reset

func (x *DeleteMessageRequest) Reset()

func (*DeleteMessageRequest) String

func (x *DeleteMessageRequest) String() string

type DeleteMessageResponse

type DeleteMessageResponse struct {
	// contains filtered or unexported fields
}

* Represents a response containing the message deletion event.

func (*DeleteMessageResponse) Descriptor deprecated

func (*DeleteMessageResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteMessageResponse.ProtoReflect.Descriptor instead.

func (*DeleteMessageResponse) ProtoMessage

func (*DeleteMessageResponse) ProtoMessage()

func (*DeleteMessageResponse) ProtoReflect

func (x *DeleteMessageResponse) ProtoReflect() protoreflect.Message

func (*DeleteMessageResponse) Reset

func (x *DeleteMessageResponse) Reset()

func (*DeleteMessageResponse) String

func (x *DeleteMessageResponse) String() string

type GetMessageListRequest

type GetMessageListRequest struct {
	Id   string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`     // The ID of the message
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // The type of the message
	// contains filtered or unexported fields
}

* Represents a message get a message list

func (*GetMessageListRequest) Descriptor deprecated

func (*GetMessageListRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMessageListRequest.ProtoReflect.Descriptor instead.

func (*GetMessageListRequest) GetId

func (x *GetMessageListRequest) GetId() string

func (*GetMessageListRequest) GetType

func (x *GetMessageListRequest) GetType() string

func (*GetMessageListRequest) ProtoMessage

func (*GetMessageListRequest) ProtoMessage()

func (*GetMessageListRequest) ProtoReflect

func (x *GetMessageListRequest) ProtoReflect() protoreflect.Message

func (*GetMessageListRequest) Reset

func (x *GetMessageListRequest) Reset()

func (*GetMessageListRequest) String

func (x *GetMessageListRequest) String() string

type GetMessageListResponse

type GetMessageListResponse struct {
	Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // The message list
	// contains filtered or unexported fields
}

* Represents a response back containing a message list

func (*GetMessageListResponse) Descriptor deprecated

func (*GetMessageListResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetMessageListResponse.ProtoReflect.Descriptor instead.

func (*GetMessageListResponse) GetMessages

func (x *GetMessageListResponse) GetMessages() []*Message

func (*GetMessageListResponse) ProtoMessage

func (*GetMessageListResponse) ProtoMessage()

func (*GetMessageListResponse) ProtoReflect

func (x *GetMessageListResponse) ProtoReflect() protoreflect.Message

func (*GetMessageListResponse) Reset

func (x *GetMessageListResponse) Reset()

func (*GetMessageListResponse) String

func (x *GetMessageListResponse) String() string

type Message

type Message struct {
	Id         string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                          // The ID of the message
	Type       string          `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`                      // The DIDComm type of message
	Recipients []string        `protobuf:"bytes,3,rep,name=recipients,proto3" json:"recipients,omitempty"`          // The recipients the message is for
	Data       string          `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`                      // The JSON encoded DIDComm data message
	Transport  string          `protobuf:"bytes,5,opt,name=transport,proto3" json:"transport,omitempty"`            // The transport type (https/lightning)
	GroupId    string          `protobuf:"bytes,6,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // The group id for the recipients
	Events     []*MessageEvent `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"`                  // The events for the message
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

func (*Message) Descriptor() ([]byte, []int)

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetData

func (x *Message) GetData() string

func (*Message) GetEvents

func (x *Message) GetEvents() []*MessageEvent

func (*Message) GetGroupId

func (x *Message) GetGroupId() string

func (*Message) GetId

func (x *Message) GetId() string

func (*Message) GetRecipients

func (x *Message) GetRecipients() []string

func (*Message) GetTransport

func (x *Message) GetTransport() string

func (*Message) GetType

func (x *Message) GetType() string

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

func (x *Message) ProtoReflect() protoreflect.Message

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type MessageEvent

type MessageEvent struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`               // The ID of the message event
	MessageId string                 `protobuf:"bytes,2,opt,name=MessageId,proto3" json:"MessageId,omitempty"` // The ID of the message this event represents
	DID       string                 `protobuf:"bytes,3,opt,name=DID,proto3" json:"DID,omitempty"`             // The ID of the message this event represents
	Type      string                 `protobuf:"bytes,4,opt,name=Type,proto3" json:"Type,omitempty"`           // The ID of the message this event represents
	EventTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=EventTime,proto3" json:"EventTime,omitempty"` // The time the event took place
	// contains filtered or unexported fields
}

func (*MessageEvent) Descriptor deprecated

func (*MessageEvent) Descriptor() ([]byte, []int)

Deprecated: Use MessageEvent.ProtoReflect.Descriptor instead.

func (*MessageEvent) GetDID

func (x *MessageEvent) GetDID() string

func (*MessageEvent) GetEventTime

func (x *MessageEvent) GetEventTime() *timestamppb.Timestamp

func (*MessageEvent) GetId

func (x *MessageEvent) GetId() string

func (*MessageEvent) GetMessageId

func (x *MessageEvent) GetMessageId() string

func (*MessageEvent) GetType

func (x *MessageEvent) GetType() string

func (*MessageEvent) ProtoMessage

func (*MessageEvent) ProtoMessage()

func (*MessageEvent) ProtoReflect

func (x *MessageEvent) ProtoReflect() protoreflect.Message

func (*MessageEvent) Reset

func (x *MessageEvent) Reset()

func (*MessageEvent) String

func (x *MessageEvent) String() string

type MessageSettings

type MessageSettings struct {
	ProtocolPreferences []string `protobuf:"bytes,1,rep,name=protocol_preferences,json=protocolPreferences,proto3" json:"protocol_preferences,omitempty"` // ordered list of protocol preferences to send messages down
	// contains filtered or unexported fields
}

* Represents the preferences for sending messages

func (*MessageSettings) Descriptor deprecated

func (*MessageSettings) Descriptor() ([]byte, []int)

Deprecated: Use MessageSettings.ProtoReflect.Descriptor instead.

func (*MessageSettings) GetProtocolPreferences

func (x *MessageSettings) GetProtocolPreferences() []string

func (*MessageSettings) ProtoMessage

func (*MessageSettings) ProtoMessage()

func (*MessageSettings) ProtoReflect

func (x *MessageSettings) ProtoReflect() protoreflect.Message

func (*MessageSettings) Reset

func (x *MessageSettings) Reset()

func (*MessageSettings) String

func (x *MessageSettings) String() string

type MessagingClient

type MessagingClient interface {
	//*
	// SendMessage sends a text message to another node.
	SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*SendMessageResponse, error)
	//*
	// SendMessageV2 sends a byte-encoded json DIDComm message to another DID.
	SendMessageV2(ctx context.Context, in *SendMessageV2Request, opts ...grpc.CallOption) (*SendMessageV2Response, error)
	//*
	// SaveMessageV2 saves a byte-encoded json DIDComm message locally.
	SaveMessageV2(ctx context.Context, in *SaveMessageV2Request, opts ...grpc.CallOption) (*SaveMessageV2Response, error)
	//*
	// GetMessageList gets messages from the daemon.
	GetMessageList(ctx context.Context, in *GetMessageListRequest, opts ...grpc.CallOption) (*GetMessageListResponse, error)
	//*
	// DeleteMessage will delete a specific message.
	DeleteMessage(ctx context.Context, in *DeleteMessageRequest, opts ...grpc.CallOption) (*DeleteMessageResponse, error)
	//*
	// DeleteGroupMessage will delete all messages from the same group.
	DeleteGroupMessage(ctx context.Context, in *DeleteGroupMessageRequest, opts ...grpc.CallOption) (*DeleteGroupMessageResponse, error)
}

MessagingClient is the client API for Messaging service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMessagingClient

func NewMessagingClient(cc grpc.ClientConnInterface) MessagingClient

type MessagingServer

type MessagingServer interface {
	//*
	// SendMessage sends a text message to another node.
	SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
	//*
	// SendMessageV2 sends a byte-encoded json DIDComm message to another DID.
	SendMessageV2(context.Context, *SendMessageV2Request) (*SendMessageV2Response, error)
	//*
	// SaveMessageV2 saves a byte-encoded json DIDComm message locally.
	SaveMessageV2(context.Context, *SaveMessageV2Request) (*SaveMessageV2Response, error)
	//*
	// GetMessageList gets messages from the daemon.
	GetMessageList(context.Context, *GetMessageListRequest) (*GetMessageListResponse, error)
	//*
	// DeleteMessage will delete a specific message.
	DeleteMessage(context.Context, *DeleteMessageRequest) (*DeleteMessageResponse, error)
	//*
	// DeleteGroupMessage will delete all messages from the same group.
	DeleteGroupMessage(context.Context, *DeleteGroupMessageRequest) (*DeleteGroupMessageResponse, error)
}

MessagingServer is the server API for Messaging service.

type SaveMessageV2Request

type SaveMessageV2Request struct {
	Body          string   `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`                                        // the body of the DIDcomm message, json structure depends on `type` field.
	Type          string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`                                        // the type of the DIDcomm message, will determine body json structure
	Did           string   `protobuf:"bytes,3,opt,name=did,proto3" json:"did,omitempty"`                                          // The DID this message sent to. It may be the user's if it was received (instead of sent) out of band. Deprecated for `recipient_list` / `group_id`.
	From          string   `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"`                                        // The DID this sent from. It may be the other DID if it was received out of band.
	ReplyToId     string   `protobuf:"bytes,5,opt,name=reply_to_id,json=replyToId,proto3" json:"reply_to_id,omitempty"`           // Optional ID of the message that this message is replying to.
	RecipientList []string `protobuf:"bytes,7,rep,name=recipient_list,json=recipientList,proto3" json:"recipient_list,omitempty"` // The list of recipient dids the message sent from. Cannot use with `group_id` / `did` parameters.
	GroupId       string   `protobuf:"bytes,8,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`                   // The `group_id` the message sent from. Cannot use with `recipient_list` or `did` parameters.
	// contains filtered or unexported fields
}

* Represents a message to save locally. Useful if it was sent out of band.

func (*SaveMessageV2Request) Descriptor deprecated

func (*SaveMessageV2Request) Descriptor() ([]byte, []int)

Deprecated: Use SaveMessageV2Request.ProtoReflect.Descriptor instead.

func (*SaveMessageV2Request) GetBody

func (x *SaveMessageV2Request) GetBody() string

func (*SaveMessageV2Request) GetDid

func (x *SaveMessageV2Request) GetDid() string

func (*SaveMessageV2Request) GetFrom

func (x *SaveMessageV2Request) GetFrom() string

func (*SaveMessageV2Request) GetGroupId

func (x *SaveMessageV2Request) GetGroupId() string

func (*SaveMessageV2Request) GetRecipientList

func (x *SaveMessageV2Request) GetRecipientList() []string

func (*SaveMessageV2Request) GetReplyToId

func (x *SaveMessageV2Request) GetReplyToId() string

func (*SaveMessageV2Request) GetType

func (x *SaveMessageV2Request) GetType() string

func (*SaveMessageV2Request) ProtoMessage

func (*SaveMessageV2Request) ProtoMessage()

func (*SaveMessageV2Request) ProtoReflect

func (x *SaveMessageV2Request) ProtoReflect() protoreflect.Message

func (*SaveMessageV2Request) Reset

func (x *SaveMessageV2Request) Reset()

func (*SaveMessageV2Request) String

func (x *SaveMessageV2Request) String() string

type SaveMessageV2Response

type SaveMessageV2Response struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // returned message ID.
	// contains filtered or unexported fields
}

* Represents a response back from a saved message

func (*SaveMessageV2Response) Descriptor deprecated

func (*SaveMessageV2Response) Descriptor() ([]byte, []int)

Deprecated: Use SaveMessageV2Response.ProtoReflect.Descriptor instead.

func (*SaveMessageV2Response) GetId

func (x *SaveMessageV2Response) GetId() string

func (*SaveMessageV2Response) ProtoMessage

func (*SaveMessageV2Response) ProtoMessage()

func (*SaveMessageV2Response) ProtoReflect

func (x *SaveMessageV2Response) ProtoReflect() protoreflect.Message

func (*SaveMessageV2Response) Reset

func (x *SaveMessageV2Response) Reset()

func (*SaveMessageV2Response) String

func (x *SaveMessageV2Response) String() string

type SendMessageRequest

type SendMessageRequest struct {
	Msg       string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`                                // the simple string message to be sent
	Did       string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"`                                // The other DID
	Amount    int64  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`                         // Optional satoshi amount to send along with the message, defaults to 1 sat.
	ReplyToId string `protobuf:"bytes,4,opt,name=reply_to_id,json=replyToId,proto3" json:"reply_to_id,omitempty"` // Optional ID of the message that this message is replying to.
	// contains filtered or unexported fields
}

* Represents a message send to another DID

func (*SendMessageRequest) Descriptor deprecated

func (*SendMessageRequest) Descriptor() ([]byte, []int)

Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.

func (*SendMessageRequest) GetAmount

func (x *SendMessageRequest) GetAmount() int64

func (*SendMessageRequest) GetDid

func (x *SendMessageRequest) GetDid() string

func (*SendMessageRequest) GetMsg

func (x *SendMessageRequest) GetMsg() string

func (*SendMessageRequest) GetReplyToId

func (x *SendMessageRequest) GetReplyToId() string

func (*SendMessageRequest) ProtoMessage

func (*SendMessageRequest) ProtoMessage()

func (*SendMessageRequest) ProtoReflect

func (x *SendMessageRequest) ProtoReflect() protoreflect.Message

func (*SendMessageRequest) Reset

func (x *SendMessageRequest) Reset()

func (*SendMessageRequest) String

func (x *SendMessageRequest) String() string

type SendMessageResponse

type SendMessageResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // returned message ID
	// contains filtered or unexported fields
}

* Represents a response back from a sent message

func (*SendMessageResponse) Descriptor deprecated

func (*SendMessageResponse) Descriptor() ([]byte, []int)

Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.

func (*SendMessageResponse) GetId

func (x *SendMessageResponse) GetId() string

func (*SendMessageResponse) ProtoMessage

func (*SendMessageResponse) ProtoMessage()

func (*SendMessageResponse) ProtoReflect

func (x *SendMessageResponse) ProtoReflect() protoreflect.Message

func (*SendMessageResponse) Reset

func (x *SendMessageResponse) Reset()

func (*SendMessageResponse) String

func (x *SendMessageResponse) String() string

type SendMessageV2Request

type SendMessageV2Request struct {
	Body            string           `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`                                              // the body of the DIDcomm message, json structure depends on `type` field.
	Type            string           `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`                                              // the type of the DIDcomm message, will determine body json structure
	Did             string           `protobuf:"bytes,3,opt,name=did,proto3" json:"did,omitempty"`                                                // The other DID to send the message to. Deprecated for `recipient_list` / `group_id`.
	Amount          int64            `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`                                         // Optional satoshi amount to send along with the message, defaults to 1 sat.
	ReplyToId       string           `protobuf:"bytes,5,opt,name=reply_to_id,json=replyToId,proto3" json:"reply_to_id,omitempty"`                 // Optional ID of the message that this message is replying to.
	MessageSettings *MessageSettings `protobuf:"bytes,6,opt,name=message_settings,json=messageSettings,proto3" json:"message_settings,omitempty"` // Optional message settings when sending
	RecipientList   []string         `protobuf:"bytes,7,rep,name=recipient_list,json=recipientList,proto3" json:"recipient_list,omitempty"`       // The list of recipient dids to send the message to. Cannot use with `group_id` / `did` parameters.
	GroupId         string           `protobuf:"bytes,8,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`                         // The `group_id` to send the message to, instead of a list of recipient dids. Cannot use with `recipient_list` or `did` parameters.
	// contains filtered or unexported fields
}

* Represents a message send to another DID

func (*SendMessageV2Request) Descriptor deprecated

func (*SendMessageV2Request) Descriptor() ([]byte, []int)

Deprecated: Use SendMessageV2Request.ProtoReflect.Descriptor instead.

func (*SendMessageV2Request) GetAmount

func (x *SendMessageV2Request) GetAmount() int64

func (*SendMessageV2Request) GetBody

func (x *SendMessageV2Request) GetBody() string

func (*SendMessageV2Request) GetDid

func (x *SendMessageV2Request) GetDid() string

func (*SendMessageV2Request) GetGroupId

func (x *SendMessageV2Request) GetGroupId() string

func (*SendMessageV2Request) GetMessageSettings

func (x *SendMessageV2Request) GetMessageSettings() *MessageSettings

func (*SendMessageV2Request) GetRecipientList

func (x *SendMessageV2Request) GetRecipientList() []string

func (*SendMessageV2Request) GetReplyToId

func (x *SendMessageV2Request) GetReplyToId() string

func (*SendMessageV2Request) GetType

func (x *SendMessageV2Request) GetType() string

func (*SendMessageV2Request) ProtoMessage

func (*SendMessageV2Request) ProtoMessage()

func (*SendMessageV2Request) ProtoReflect

func (x *SendMessageV2Request) ProtoReflect() protoreflect.Message

func (*SendMessageV2Request) Reset

func (x *SendMessageV2Request) Reset()

func (*SendMessageV2Request) String

func (x *SendMessageV2Request) String() string

type SendMessageV2Response

type SendMessageV2Response struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // returned message ID.
	// contains filtered or unexported fields
}

* Represents a response back from a sent message

func (*SendMessageV2Response) Descriptor deprecated

func (*SendMessageV2Response) Descriptor() ([]byte, []int)

Deprecated: Use SendMessageV2Response.ProtoReflect.Descriptor instead.

func (*SendMessageV2Response) GetId

func (x *SendMessageV2Response) GetId() string

func (*SendMessageV2Response) ProtoMessage

func (*SendMessageV2Response) ProtoMessage()

func (*SendMessageV2Response) ProtoReflect

func (x *SendMessageV2Response) ProtoReflect() protoreflect.Message

func (*SendMessageV2Response) Reset

func (x *SendMessageV2Response) Reset()

func (*SendMessageV2Response) String

func (x *SendMessageV2Response) String() string

type UnimplementedMessagingServer

type UnimplementedMessagingServer struct {
}

UnimplementedMessagingServer can be embedded to have forward compatible implementations.

func (*UnimplementedMessagingServer) DeleteGroupMessage

func (*UnimplementedMessagingServer) DeleteMessage

func (*UnimplementedMessagingServer) GetMessageList

func (*UnimplementedMessagingServer) SaveMessageV2

func (*UnimplementedMessagingServer) SendMessage

func (*UnimplementedMessagingServer) SendMessageV2

Jump to

Keyboard shortcuts

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