benchmarks

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_payload_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PayloadCProto

type PayloadCProto struct {
	A float64  `protobuf:"fixed64,1,opt,name=a,proto3" json:"a,omitempty"`
	B string   `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"`
	C int64    `protobuf:"varint,3,opt,name=c,proto3" json:"c,omitempty"`
	D *X1Proto `protobuf:"bytes,4,opt,name=d,proto3" json:"d,omitempty"`
	E string   `protobuf:"bytes,5,opt,name=e,proto3" json:"e,omitempty"`
	F int64    `protobuf:"varint,6,opt,name=f,proto3" json:"f,omitempty"`
	G *X6Proto `protobuf:"bytes,7,opt,name=g,proto3" json:"g,omitempty"`
	H string   `protobuf:"bytes,8,opt,name=h,proto3" json:"h,omitempty"`
	I int64    `protobuf:"varint,9,opt,name=i,proto3" json:"i,omitempty"`
	J float32  `protobuf:"fixed32,10,opt,name=j,proto3" json:"j,omitempty"`
	K string   `protobuf:"bytes,11,opt,name=k,proto3" json:"k,omitempty"`
	// contains filtered or unexported fields
}

func (*PayloadCProto) Descriptor deprecated

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

Deprecated: Use PayloadCProto.ProtoReflect.Descriptor instead.

func (*PayloadCProto) GetA

func (x *PayloadCProto) GetA() float64

func (*PayloadCProto) GetB

func (x *PayloadCProto) GetB() string

func (*PayloadCProto) GetC

func (x *PayloadCProto) GetC() int64

func (*PayloadCProto) GetD

func (x *PayloadCProto) GetD() *X1Proto

func (*PayloadCProto) GetE

func (x *PayloadCProto) GetE() string

func (*PayloadCProto) GetF

func (x *PayloadCProto) GetF() int64

func (*PayloadCProto) GetG

func (x *PayloadCProto) GetG() *X6Proto

func (*PayloadCProto) GetH

func (x *PayloadCProto) GetH() string

func (*PayloadCProto) GetI

func (x *PayloadCProto) GetI() int64

func (*PayloadCProto) GetJ

func (x *PayloadCProto) GetJ() float32

func (*PayloadCProto) GetK

func (x *PayloadCProto) GetK() string

func (*PayloadCProto) ProtoMessage

func (*PayloadCProto) ProtoMessage()

func (*PayloadCProto) ProtoReflect

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

func (*PayloadCProto) Reset

func (x *PayloadCProto) Reset()

func (*PayloadCProto) String

func (x *PayloadCProto) String() string

type Ping

type Ping interface {
	PingC(ctx context.Context, req payloadC, depth int) (payloadC, error)
	PingS(ctx context.Context, req payloadS, depth int) (payloadS, error)
}

Ping is the shared interface implemented by all components.

type Ping1

type Ping1 interface{ Ping }

type Ping10

type Ping10 interface{ Ping }

type Ping2

type Ping2 interface{ Ping }

type Ping3

type Ping3 interface{ Ping }

type Ping4

type Ping4 interface{ Ping }

type Ping5

type Ping5 interface{ Ping }

type Ping6

type Ping6 interface{ Ping }

type Ping7

type Ping7 interface{ Ping }

type Ping8

type Ping8 interface{ Ping }

type Ping9

type Ping9 interface{ Ping }

type X1

type X1 struct {
	weaver.AutoMarshal
	A X2
	B []int64
}

func (*X1) FromProto

func (x *X1) FromProto(p *X1Proto)

func (*X1) ToProto

func (x *X1) ToProto() *X1Proto

func (*X1) WeaverMarshal

func (x *X1) WeaverMarshal(enc *codegen.Encoder)

func (*X1) WeaverUnmarshal

func (x *X1) WeaverUnmarshal(dec *codegen.Decoder)

type X1Proto

type X1Proto struct {
	A *X2Proto `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
	B []int64  `protobuf:"varint,2,rep,packed,name=b,proto3" json:"b,omitempty"`
	// contains filtered or unexported fields
}

func (*X1Proto) Descriptor deprecated

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

Deprecated: Use X1Proto.ProtoReflect.Descriptor instead.

func (*X1Proto) GetA

func (x *X1Proto) GetA() *X2Proto

func (*X1Proto) GetB

func (x *X1Proto) GetB() []int64

func (*X1Proto) ProtoMessage

func (*X1Proto) ProtoMessage()

func (*X1Proto) ProtoReflect

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

func (*X1Proto) Reset

func (x *X1Proto) Reset()

func (*X1Proto) String

func (x *X1Proto) String() string

type X2

type X2 struct {
	weaver.AutoMarshal
	A X3
}

func (*X2) FromProto

func (x *X2) FromProto(p *X2Proto)

func (*X2) ToProto

func (x *X2) ToProto() *X2Proto

func (*X2) WeaverMarshal

func (x *X2) WeaverMarshal(enc *codegen.Encoder)

func (*X2) WeaverUnmarshal

func (x *X2) WeaverUnmarshal(dec *codegen.Decoder)

type X2Proto

type X2Proto struct {
	A *X3Proto `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
	// contains filtered or unexported fields
}

func (*X2Proto) Descriptor deprecated

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

Deprecated: Use X2Proto.ProtoReflect.Descriptor instead.

func (*X2Proto) GetA

func (x *X2Proto) GetA() *X3Proto

func (*X2Proto) ProtoMessage

func (*X2Proto) ProtoMessage()

func (*X2Proto) ProtoReflect

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

func (*X2Proto) Reset

func (x *X2Proto) Reset()

func (*X2Proto) String

func (x *X2Proto) String() string

type X3

type X3 struct {
	weaver.AutoMarshal
	A X4
	B int64
	C int64
}

func (*X3) FromProto

func (x *X3) FromProto(p *X3Proto)

func (*X3) ToProto

func (x *X3) ToProto() *X3Proto

func (*X3) WeaverMarshal

func (x *X3) WeaverMarshal(enc *codegen.Encoder)

func (*X3) WeaverUnmarshal

func (x *X3) WeaverUnmarshal(dec *codegen.Decoder)

type X3Proto

type X3Proto struct {
	A *X4Proto `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
	B int64    `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"`
	C int64    `protobuf:"varint,3,opt,name=c,proto3" json:"c,omitempty"`
	// contains filtered or unexported fields
}

func (*X3Proto) Descriptor deprecated

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

Deprecated: Use X3Proto.ProtoReflect.Descriptor instead.

func (*X3Proto) GetA

func (x *X3Proto) GetA() *X4Proto

func (*X3Proto) GetB

func (x *X3Proto) GetB() int64

func (*X3Proto) GetC

func (x *X3Proto) GetC() int64

func (*X3Proto) ProtoMessage

func (*X3Proto) ProtoMessage()

func (*X3Proto) ProtoReflect

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

func (*X3Proto) Reset

func (x *X3Proto) Reset()

func (*X3Proto) String

func (x *X3Proto) String() string

type X4

type X4 struct {
	weaver.AutoMarshal
	A int64
	B X5
	C int64
}

func (*X4) FromProto

func (x *X4) FromProto(p *X4Proto)

func (*X4) ToProto

func (x *X4) ToProto() *X4Proto

func (*X4) WeaverMarshal

func (x *X4) WeaverMarshal(enc *codegen.Encoder)

func (*X4) WeaverUnmarshal

func (x *X4) WeaverUnmarshal(dec *codegen.Decoder)

type X4Proto

type X4Proto struct {
	A int64    `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	B *X5Proto `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"`
	C int64    `protobuf:"varint,3,opt,name=c,proto3" json:"c,omitempty"`
	// contains filtered or unexported fields
}

func (*X4Proto) Descriptor deprecated

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

Deprecated: Use X4Proto.ProtoReflect.Descriptor instead.

func (*X4Proto) GetA

func (x *X4Proto) GetA() int64

func (*X4Proto) GetB

func (x *X4Proto) GetB() *X5Proto

func (*X4Proto) GetC

func (x *X4Proto) GetC() int64

func (*X4Proto) ProtoMessage

func (*X4Proto) ProtoMessage()

func (*X4Proto) ProtoReflect

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

func (*X4Proto) Reset

func (x *X4Proto) Reset()

func (*X4Proto) String

func (x *X4Proto) String() string

type X5

type X5 struct {
	weaver.AutoMarshal
	A int64
	B int64
}

func (*X5) FromProto

func (x *X5) FromProto(p *X5Proto)

func (*X5) ToProto

func (x *X5) ToProto() *X5Proto

func (*X5) WeaverMarshal

func (x *X5) WeaverMarshal(enc *codegen.Encoder)

func (*X5) WeaverUnmarshal

func (x *X5) WeaverUnmarshal(dec *codegen.Decoder)

type X5Proto

type X5Proto struct {
	A int64 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	B int64 `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"`
	// contains filtered or unexported fields
}

func (*X5Proto) Descriptor deprecated

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

Deprecated: Use X5Proto.ProtoReflect.Descriptor instead.

func (*X5Proto) GetA

func (x *X5Proto) GetA() int64

func (*X5Proto) GetB

func (x *X5Proto) GetB() int64

func (*X5Proto) ProtoMessage

func (*X5Proto) ProtoMessage()

func (*X5Proto) ProtoReflect

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

func (*X5Proto) Reset

func (x *X5Proto) Reset()

func (*X5Proto) String

func (x *X5Proto) String() string

type X6

type X6 struct {
	weaver.AutoMarshal
	A []bool
}

func (*X6) FromProto

func (x *X6) FromProto(p *X6Proto)

func (*X6) ToProto

func (x *X6) ToProto() *X6Proto

func (*X6) WeaverMarshal

func (x *X6) WeaverMarshal(enc *codegen.Encoder)

func (*X6) WeaverUnmarshal

func (x *X6) WeaverUnmarshal(dec *codegen.Decoder)

type X6Proto

type X6Proto struct {
	A []bool `protobuf:"varint,1,rep,packed,name=a,proto3" json:"a,omitempty"`
	// contains filtered or unexported fields
}

func (*X6Proto) Descriptor deprecated

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

Deprecated: Use X6Proto.ProtoReflect.Descriptor instead.

func (*X6Proto) GetA

func (x *X6Proto) GetA() []bool

func (*X6Proto) ProtoMessage

func (*X6Proto) ProtoMessage()

func (*X6Proto) ProtoReflect

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

func (*X6Proto) Reset

func (x *X6Proto) Reset()

func (*X6Proto) String

func (x *X6Proto) String() string

Jump to

Keyboard shortcuts

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