Documentation ¶
Index ¶
- Variables
- type PushRPC
- func (*PushRPC) Descriptor() ([]byte, []int)deprecated
- func (x *PushRPC) GetQuery() *PushRequest
- func (x *PushRPC) GetRequestId() string
- func (x *PushRPC) GetResponse() *PushResponse
- func (*PushRPC) ProtoMessage()
- func (x *PushRPC) ProtoReflect() protoreflect.Message
- func (x *PushRPC) Reset()
- func (x *PushRPC) String() string
- type PushRequest
- func (*PushRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushRequest) GetMessage() *pb.WakuMessage
- func (x *PushRequest) GetPubsubTopic() string
- func (*PushRequest) ProtoMessage()
- func (x *PushRequest) ProtoReflect() protoreflect.Message
- func (x *PushRequest) Reset()
- func (x *PushRequest) String() string
- type PushResponse
- func (*PushResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PushResponse) GetInfo() string
- func (x *PushResponse) GetIsSuccess() bool
- func (*PushResponse) ProtoMessage()
- func (x *PushResponse) ProtoReflect() protoreflect.Message
- func (x *PushResponse) Reset()
- func (x *PushResponse) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_waku_lightpush_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PushRPC ¶
type PushRPC struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Query *PushRequest `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` Response *PushResponse `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
func (*PushRPC) Descriptor
deprecated
func (*PushRPC) GetQuery ¶
func (x *PushRPC) GetQuery() *PushRequest
func (*PushRPC) GetRequestId ¶
func (*PushRPC) GetResponse ¶
func (x *PushRPC) GetResponse() *PushResponse
func (*PushRPC) ProtoMessage ¶
func (*PushRPC) ProtoMessage()
func (*PushRPC) ProtoReflect ¶
func (x *PushRPC) ProtoReflect() protoreflect.Message
type PushRequest ¶
type PushRequest struct { PubsubTopic string `protobuf:"bytes,1,opt,name=pubsub_topic,json=pubsubTopic,proto3" json:"pubsub_topic,omitempty"` Message *pb.WakuMessage `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*PushRequest) Descriptor
deprecated
func (*PushRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushRequest.ProtoReflect.Descriptor instead.
func (*PushRequest) GetMessage ¶
func (x *PushRequest) GetMessage() *pb.WakuMessage
func (*PushRequest) GetPubsubTopic ¶
func (x *PushRequest) GetPubsubTopic() string
func (*PushRequest) ProtoMessage ¶
func (*PushRequest) ProtoMessage()
func (*PushRequest) ProtoReflect ¶
func (x *PushRequest) ProtoReflect() protoreflect.Message
func (*PushRequest) Reset ¶
func (x *PushRequest) Reset()
func (*PushRequest) String ¶
func (x *PushRequest) String() string
type PushResponse ¶
type PushResponse struct { IsSuccess bool `protobuf:"varint,1,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` // Error messages, etc Info string `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*PushResponse) Descriptor
deprecated
func (*PushResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushResponse.ProtoReflect.Descriptor instead.
func (*PushResponse) GetInfo ¶
func (x *PushResponse) GetInfo() string
func (*PushResponse) GetIsSuccess ¶
func (x *PushResponse) GetIsSuccess() bool
func (*PushResponse) ProtoMessage ¶
func (*PushResponse) ProtoMessage()
func (*PushResponse) ProtoReflect ¶
func (x *PushResponse) ProtoReflect() protoreflect.Message
func (*PushResponse) Reset ¶
func (x *PushResponse) Reset()
func (*PushResponse) String ¶
func (x *PushResponse) String() string
Click to show internal directories.
Click to hide internal directories.