package internal

import "github.com/containerd/ttrpc/internal"

Index

Variables

var File_github_com_containerd_ttrpc_test_proto protoreflect.FileDescriptor

Types

type EchoPayload

type EchoPayload struct {
	Seq int64  `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
	Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*EchoPayload) Descriptor

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

Deprecated: Use EchoPayload.ProtoReflect.Descriptor instead.

func (*EchoPayload) GetMsg

func (x *EchoPayload) GetMsg() string

func (*EchoPayload) GetSeq

func (x *EchoPayload) GetSeq() int64

func (*EchoPayload) ProtoMessage

func (*EchoPayload) ProtoMessage()

func (*EchoPayload) ProtoReflect

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

func (*EchoPayload) Reset

func (x *EchoPayload) Reset()

func (*EchoPayload) String

func (x *EchoPayload) String() string

type TestPayload

type TestPayload struct {
	Foo      string `protobuf:"bytes,1,opt,name=foo,proto3" json:"foo,omitempty"`
	Deadline int64  `protobuf:"varint,2,opt,name=deadline,proto3" json:"deadline,omitempty"`
	Metadata string `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*TestPayload) Descriptor

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

Deprecated: Use TestPayload.ProtoReflect.Descriptor instead.

func (*TestPayload) GetDeadline

func (x *TestPayload) GetDeadline() int64

func (*TestPayload) GetFoo

func (x *TestPayload) GetFoo() string

func (*TestPayload) GetMetadata

func (x *TestPayload) GetMetadata() string

func (*TestPayload) ProtoMessage

func (*TestPayload) ProtoMessage()

func (*TestPayload) ProtoReflect

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

func (*TestPayload) Reset

func (x *TestPayload) Reset()

func (*TestPayload) String

func (x *TestPayload) String() string

Source Files

test.pb.go

Version
v1.2.7 (latest)
Published
Dec 28, 2024
Platform
js/wasm
Imports
4 packages
Last checked
1 month ago

Tools for package owners.