grpc_api

package
v0.0.0-...-595e2a2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const PackageName = "grpc_api"

Variables

View Source
var File_grpctest_proto protoreflect.FileDescriptor

Functions

Types

type Basic

type Basic struct {
	Vsint32     int32   `protobuf:"zigzag32,1,opt,name=vsint32,proto3" json:"vsint32,omitempty"`
	Vsint64     int64   `protobuf:"zigzag64,2,opt,name=vsint64,proto3" json:"vsint64,omitempty"`
	Vuint32     uint32  `protobuf:"varint,3,opt,name=vuint32,proto3" json:"vuint32,omitempty"`
	Vuint64     uint64  `protobuf:"varint,4,opt,name=vuint64,proto3" json:"vuint64,omitempty"`
	Vsfixed32   int32   `protobuf:"fixed32,5,opt,name=vsfixed32,proto3" json:"vsfixed32,omitempty"`
	Vsfixed64   int64   `protobuf:"fixed64,6,opt,name=vsfixed64,proto3" json:"vsfixed64,omitempty"`
	Vfixed32    uint32  `protobuf:"fixed32,7,opt,name=vfixed32,proto3" json:"vfixed32,omitempty"`
	Vfixed64    uint64  `protobuf:"fixed64,8,opt,name=vfixed64,proto3" json:"vfixed64,omitempty"`
	Vfloat      float32 `protobuf:"fixed32,9,opt,name=vfloat,proto3" json:"vfloat,omitempty"`
	Vdouble     float64 `protobuf:"fixed64,10,opt,name=vdouble,proto3" json:"vdouble,omitempty"`
	Vboolt      bool    `protobuf:"varint,11,opt,name=vboolt,proto3" json:"vboolt,omitempty"`
	Vboolf      bool    `protobuf:"varint,12,opt,name=vboolf,proto3" json:"vboolf,omitempty"`
	Vstring     string  `protobuf:"bytes,13,opt,name=vstring,proto3" json:"vstring,omitempty"`
	Vbytes      []byte  `protobuf:"bytes,14,opt,name=vbytes,proto3" json:"vbytes,omitempty"`
	Vint32      int32   `protobuf:"varint,15,opt,name=vint32,proto3" json:"vint32,omitempty"`
	Vint64      int64   `protobuf:"varint,16,opt,name=vint64,proto3" json:"vint64,omitempty"`
	Vint32_1    int32   `protobuf:"varint,17,opt,name=vint32_1,json=vint321,proto3" json:"vint32_1,omitempty"`
	Vint64_2    int64   `protobuf:"varint,18,opt,name=vint64_2,json=vint642,proto3" json:"vint64_2,omitempty"`
	Vsint32_1   int32   `protobuf:"zigzag32,19,opt,name=vsint32_1,json=vsint321,proto3" json:"vsint32_1,omitempty"`
	Vsint64_2   int64   `protobuf:"zigzag64,20,opt,name=vsint64_2,json=vsint642,proto3" json:"vsint64_2,omitempty"`
	Vsfixed32_1 int32   `protobuf:"fixed32,21,opt,name=vsfixed32_1,json=vsfixed321,proto3" json:"vsfixed32_1,omitempty"`
	Vsfixed64_2 int64   `protobuf:"fixed64,22,opt,name=vsfixed64_2,json=vsfixed642,proto3" json:"vsfixed64_2,omitempty"`
	// contains filtered or unexported fields
}

func (*Basic) Descriptor deprecated

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

Deprecated: Use Basic.ProtoReflect.Descriptor instead.

func (*Basic) GetVboolf

func (x *Basic) GetVboolf() bool

func (*Basic) GetVboolt

func (x *Basic) GetVboolt() bool

func (*Basic) GetVbytes

func (x *Basic) GetVbytes() []byte

func (*Basic) GetVdouble

func (x *Basic) GetVdouble() float64

func (*Basic) GetVfixed32

func (x *Basic) GetVfixed32() uint32

func (*Basic) GetVfixed64

func (x *Basic) GetVfixed64() uint64

func (*Basic) GetVfloat

func (x *Basic) GetVfloat() float32

func (*Basic) GetVint32

func (x *Basic) GetVint32() int32

func (*Basic) GetVint32_1

func (x *Basic) GetVint32_1() int32

func (*Basic) GetVint64

func (x *Basic) GetVint64() int64

func (*Basic) GetVint64_2

func (x *Basic) GetVint64_2() int64

func (*Basic) GetVsfixed32

func (x *Basic) GetVsfixed32() int32

func (*Basic) GetVsfixed32_1

func (x *Basic) GetVsfixed32_1() int32

func (*Basic) GetVsfixed64

func (x *Basic) GetVsfixed64() int64

func (*Basic) GetVsfixed64_2

func (x *Basic) GetVsfixed64_2() int64

func (*Basic) GetVsint32

func (x *Basic) GetVsint32() int32

func (*Basic) GetVsint32_1

func (x *Basic) GetVsint32_1() int32

func (*Basic) GetVsint64

func (x *Basic) GetVsint64() int64

func (*Basic) GetVsint64_2

func (x *Basic) GetVsint64_2() int64

func (*Basic) GetVstring

func (x *Basic) GetVstring() string

func (*Basic) GetVuint32

func (x *Basic) GetVuint32() uint32

func (*Basic) GetVuint64

func (x *Basic) GetVuint64() uint64

func (*Basic) ProtoMessage

func (*Basic) ProtoMessage()

func (*Basic) ProtoReflect

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

func (*Basic) Reset

func (x *Basic) Reset()

func (*Basic) String

func (x *Basic) String() string

type BasicEndpoint

type BasicEndpoint struct {
	api_server.EndpointBase
}

func NewBasicEndpoint

func NewBasicEndpoint(opName ...string) *BasicEndpoint

func (*BasicEndpoint) HandleRequest

func (e *BasicEndpoint) HandleRequest(request api_server.Request) error

func (*BasicEndpoint) NewRequestMessage

func (e *BasicEndpoint) NewRequestMessage() interface{}

func (*BasicEndpoint) NewResponseMessage

func (e *BasicEndpoint) NewResponseMessage() interface{}

type BasicLogic

type BasicLogic = Basic

type EchoTokenEndpoint

type EchoTokenEndpoint struct {
	api_server.EndpointBase
}

func NewEchoTokenEndpoint

func NewEchoTokenEndpoint(opName ...string) *EchoTokenEndpoint

func (*EchoTokenEndpoint) HandleRequest

func (e *EchoTokenEndpoint) HandleRequest(request api_server.Request) error

func (*EchoTokenEndpoint) IsRequestPayloadNeeded

func (e *EchoTokenEndpoint) IsRequestPayloadNeeded() bool

type Embedded

type Embedded struct {
	F1 *Basic    `protobuf:"bytes,1,opt,name=f1,proto3" json:"f1,omitempty"`
	F2 *Repeated `protobuf:"bytes,2,opt,name=f2,proto3" json:"f2,omitempty"`
	F3 []*Basic  `protobuf:"bytes,3,rep,name=f3,proto3" json:"f3,omitempty"`
	// contains filtered or unexported fields
}

func (*Embedded) Descriptor deprecated

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

Deprecated: Use Embedded.ProtoReflect.Descriptor instead.

func (*Embedded) GetF1

func (x *Embedded) GetF1() *Basic

func (*Embedded) GetF2

func (x *Embedded) GetF2() *Repeated

func (*Embedded) GetF3

func (x *Embedded) GetF3() []*Basic

func (*Embedded) ProtoMessage

func (*Embedded) ProtoMessage()

func (*Embedded) ProtoReflect

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

func (*Embedded) Reset

func (x *Embedded) Reset()

func (*Embedded) String

func (x *Embedded) String() string

type EmbeddedEndpoint

type EmbeddedEndpoint struct {
	api_server.EndpointBase
}

func NewEmbeddedEndpoint

func NewEmbeddedEndpoint(opName ...string) *EmbeddedEndpoint

func (*EmbeddedEndpoint) HandleRequest

func (e *EmbeddedEndpoint) HandleRequest(request api_server.Request) error

func (*EmbeddedEndpoint) NewRequestMessage

func (e *EmbeddedEndpoint) NewRequestMessage() interface{}

func (*EmbeddedEndpoint) NewResponseMessage

func (e *EmbeddedEndpoint) NewResponseMessage() interface{}

type EmbeddedLogic

type EmbeddedLogic = Embedded

type GrpcTestService

type GrpcTestService struct {
	api_server.ServiceBase
}

func NewGrpcTestService

func NewGrpcTestService(multitenancy ...bool) *GrpcTestService

type Repeated

type Repeated struct {
	Vsint32   []int32   `protobuf:"zigzag32,1,rep,packed,name=vsint32,proto3" json:"vsint32,omitempty"`
	Vsint64   []int64   `protobuf:"zigzag64,2,rep,packed,name=vsint64,proto3" json:"vsint64,omitempty"`
	Vuint32   []uint32  `protobuf:"varint,3,rep,packed,name=vuint32,proto3" json:"vuint32,omitempty"`
	Vuint64   []uint64  `protobuf:"varint,4,rep,packed,name=vuint64,proto3" json:"vuint64,omitempty"`
	Vsfixed32 []int32   `protobuf:"fixed32,5,rep,packed,name=vsfixed32,proto3" json:"vsfixed32,omitempty"`
	Vsfixed64 []int64   `protobuf:"fixed64,6,rep,packed,name=vsfixed64,proto3" json:"vsfixed64,omitempty"`
	Vfixed32  []uint32  `protobuf:"fixed32,7,rep,packed,name=vfixed32,proto3" json:"vfixed32,omitempty"`
	Vfixed64  []uint64  `protobuf:"fixed64,8,rep,packed,name=vfixed64,proto3" json:"vfixed64,omitempty"`
	Vfloat    []float32 `protobuf:"fixed32,9,rep,packed,name=vfloat,proto3" json:"vfloat,omitempty"`
	Vdouble   []float64 `protobuf:"fixed64,10,rep,packed,name=vdouble,proto3" json:"vdouble,omitempty"`
	Vboolt    []bool    `protobuf:"varint,11,rep,packed,name=vboolt,proto3" json:"vboolt,omitempty"`
	Vboolf    []bool    `protobuf:"varint,12,rep,packed,name=vboolf,proto3" json:"vboolf,omitempty"`
	Vstring   []string  `protobuf:"bytes,13,rep,name=vstring,proto3" json:"vstring,omitempty"`
	Vbytes    [][]byte  `protobuf:"bytes,14,rep,name=vbytes,proto3" json:"vbytes,omitempty"`
	// contains filtered or unexported fields
}

func (*Repeated) Descriptor deprecated

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

Deprecated: Use Repeated.ProtoReflect.Descriptor instead.

func (*Repeated) GetVboolf

func (x *Repeated) GetVboolf() []bool

func (*Repeated) GetVboolt

func (x *Repeated) GetVboolt() []bool

func (*Repeated) GetVbytes

func (x *Repeated) GetVbytes() [][]byte

func (*Repeated) GetVdouble

func (x *Repeated) GetVdouble() []float64

func (*Repeated) GetVfixed32

func (x *Repeated) GetVfixed32() []uint32

func (*Repeated) GetVfixed64

func (x *Repeated) GetVfixed64() []uint64

func (*Repeated) GetVfloat

func (x *Repeated) GetVfloat() []float32

func (*Repeated) GetVsfixed32

func (x *Repeated) GetVsfixed32() []int32

func (*Repeated) GetVsfixed64

func (x *Repeated) GetVsfixed64() []int64

func (*Repeated) GetVsint32

func (x *Repeated) GetVsint32() []int32

func (*Repeated) GetVsint64

func (x *Repeated) GetVsint64() []int64

func (*Repeated) GetVstring

func (x *Repeated) GetVstring() []string

func (*Repeated) GetVuint32

func (x *Repeated) GetVuint32() []uint32

func (*Repeated) GetVuint64

func (x *Repeated) GetVuint64() []uint64

func (*Repeated) ProtoMessage

func (*Repeated) ProtoMessage()

func (*Repeated) ProtoReflect

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

func (*Repeated) Reset

func (x *Repeated) Reset()

func (*Repeated) String

func (x *Repeated) String() string

type RepeatedEndpoint

type RepeatedEndpoint struct {
	api_server.EndpointBase
}

func NewRepeatedEndpoint

func NewRepeatedEndpoint(opName ...string) *RepeatedEndpoint

func (*RepeatedEndpoint) HandleRequest

func (e *RepeatedEndpoint) HandleRequest(request api_server.Request) error

func (*RepeatedEndpoint) NewRequestMessage

func (e *RepeatedEndpoint) NewRequestMessage() interface{}

func (*RepeatedEndpoint) NewResponseMessage

func (e *RepeatedEndpoint) NewResponseMessage() interface{}

type RepeatedLogic

type RepeatedLogic = Repeated

type User

type User = user_default.User

Jump to

Keyboard shortcuts

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