pingpong

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pingpong_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Ping

type Ping struct {
	Stamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=stamp,proto3" json:"stamp,omitempty"`
	// contains filtered or unexported fields
}

message designed to represent a PING request.

func (*Ping) Descriptor deprecated

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

Deprecated: Use Ping.ProtoReflect.Descriptor instead.

func (*Ping) GetStamp

func (x *Ping) GetStamp() *timestamppb.Timestamp

func (*Ping) ProtoMessage

func (*Ping) ProtoMessage()

func (*Ping) ProtoReflect

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

func (*Ping) Reset

func (x *Ping) Reset()

func (*Ping) String

func (x *Ping) String() string

type Pong

type Pong struct {
	Reqtime  *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=reqtime,proto3" json:"reqtime,omitempty"`
	Resptime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=resptime,proto3" json:"resptime,omitempty"`
	// contains filtered or unexported fields
}

message designed to represent a PONG response.

func (*Pong) Descriptor deprecated

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

Deprecated: Use Pong.ProtoReflect.Descriptor instead.

func (*Pong) GetReqtime

func (x *Pong) GetReqtime() *timestamppb.Timestamp

func (*Pong) GetResptime

func (x *Pong) GetResptime() *timestamppb.Timestamp

func (*Pong) ProtoMessage

func (*Pong) ProtoMessage()

func (*Pong) ProtoReflect

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

func (*Pong) Reset

func (x *Pong) Reset()

func (*Pong) String

func (x *Pong) String() string

Jump to

Keyboard shortcuts

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