pb

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use PushRPC.ProtoReflect.Descriptor instead.

func (*PushRPC) GetQuery

func (x *PushRPC) GetQuery() *PushRequest

func (*PushRPC) GetRequestId

func (x *PushRPC) GetRequestId() string

func (*PushRPC) GetResponse

func (x *PushRPC) GetResponse() *PushResponse

func (*PushRPC) ProtoMessage

func (*PushRPC) ProtoMessage()

func (*PushRPC) ProtoReflect

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

func (*PushRPC) Reset

func (x *PushRPC) Reset()

func (*PushRPC) String

func (x *PushRPC) String() string

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

Jump to

Keyboard shortcuts

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