service

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_idl_demo_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Reply

type Reply struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Reply) Descriptor deprecated

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

Deprecated: Use Reply.ProtoReflect.Descriptor instead.

func (*Reply) FastRead

func (x *Reply) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*Reply) FastWrite

func (x *Reply) FastWrite(buf []byte) (offset int)

func (*Reply) GetMessage

func (x *Reply) GetMessage() string

func (*Reply) ProtoMessage

func (*Reply) ProtoMessage()

func (*Reply) ProtoReflect

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

func (*Reply) Reset

func (x *Reply) Reset()

func (*Reply) Size

func (x *Reply) Size() (n int)

func (*Reply) String

func (x *Reply) String() string

type RequestA

type RequestA struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestA) Descriptor deprecated

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

Deprecated: Use RequestA.ProtoReflect.Descriptor instead.

func (*RequestA) FastRead

func (x *RequestA) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*RequestA) FastWrite

func (x *RequestA) FastWrite(buf []byte) (offset int)

func (*RequestA) GetName

func (x *RequestA) GetName() string

func (*RequestA) ProtoMessage

func (*RequestA) ProtoMessage()

func (*RequestA) ProtoReflect

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

func (*RequestA) Reset

func (x *RequestA) Reset()

func (*RequestA) Size

func (x *RequestA) Size() (n int)

func (*RequestA) String

func (x *RequestA) String() string

type RequestB

type RequestB struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestB) Descriptor deprecated

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

Deprecated: Use RequestB.ProtoReflect.Descriptor instead.

func (*RequestB) FastRead

func (x *RequestB) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*RequestB) FastWrite

func (x *RequestB) FastWrite(buf []byte) (offset int)

func (*RequestB) GetName

func (x *RequestB) GetName() string

func (*RequestB) ProtoMessage

func (*RequestB) ProtoMessage()

func (*RequestB) ProtoReflect

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

func (*RequestB) Reset

func (x *RequestB) Reset()

func (*RequestB) Size

func (x *RequestB) Size() (n int)

func (*RequestB) String

func (x *RequestB) String() string

type ServiceA

type ServiceA interface {
	ChatA(ctx context.Context, req *RequestA) (res *Reply, err error)
}

type ServiceB

type ServiceB interface {
	ChatB(ctx context.Context, req *RequestB) (res *Reply, err error)
}

Directories

Path Synopsis
Code generated by Kitex v0.9.0.
Code generated by Kitex v0.9.0.
Code generated by Kitex v0.9.0.
Code generated by Kitex v0.9.0.

Jump to

Keyboard shortcuts

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