pb

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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

Deprecated: Use PushRpc.ProtoReflect.Descriptor instead.

func (*PushRpc) GetRequest added in v0.9.0

func (x *PushRpc) GetRequest() *PushRequest

func (*PushRpc) GetRequestId added in v0.9.0

func (x *PushRpc) GetRequestId() string

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) Reset added in v0.9.0

func (x *PushRpc) Reset()

func (*PushRpc) String added in v0.9.0

func (x *PushRpc) String() string

func (*PushRpc) ValidateRequest added in v0.9.0

func (x *PushRpc) ValidateRequest() error

func (*PushRpc) ValidateResponse added in v0.9.0

func (x *PushRpc) ValidateResponse(requestID string) error

Jump to

Keyboard shortcuts

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