Documentation ¶
Index ¶
- Variables
- 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
- type PushRpc
- func (*PushRpc) Descriptor() ([]byte, []int)deprecated
- func (x *PushRpc) GetRequest() *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
- func (x *PushRpc) ValidateRequest() error
- func (x *PushRpc) ValidateResponse(requestID string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var File_lightpush_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
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"` Info *string `protobuf:"bytes,2,opt,name=info,proto3,oneof" 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
type PushRpc ¶ added in v0.9.0
type PushRpc struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Request *PushRequest `protobuf:"bytes,2,opt,name=request,proto3,oneof" json:"request,omitempty"` Response *PushResponse `protobuf:"bytes,3,opt,name=response,proto3,oneof" json:"response,omitempty"` // contains filtered or unexported fields }
func (*PushRpc) Descriptor
deprecated
added in
v0.9.0
func (*PushRpc) GetRequest ¶ added in v0.9.0
func (x *PushRpc) GetRequest() *PushRequest
func (*PushRpc) GetRequestId ¶ added in v0.9.0
func (*PushRpc) GetResponse ¶ added in v0.9.0
func (x *PushRpc) GetResponse() *PushResponse
func (*PushRpc) ProtoMessage ¶ added in v0.9.0
func (*PushRpc) ProtoMessage()
func (*PushRpc) ProtoReflect ¶ added in v0.9.0
func (x *PushRpc) ProtoReflect() protoreflect.Message
func (*PushRpc) ValidateRequest ¶ added in v0.9.0
func (*PushRpc) ValidateResponse ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.