conciergef

package
v0.0.0-...-a61d247 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Conciergef_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "Conciergef",
	HandlerType: (*ConciergefServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CallTest",
			Handler:    _Conciergef_CallTest_Handler,
		},
		{
			MethodName: "CallSearch",
			Handler:    _Conciergef_CallSearch_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "conciergef.proto",
}

Conciergef_ServiceDesc is the grpc.ServiceDesc for Conciergef service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_conciergef_proto protoreflect.FileDescriptor

Functions

func RegisterConciergefServer

func RegisterConciergefServer(s grpc.ServiceRegistrar, srv ConciergefServer)

Types

type ConciergefClient

type ConciergefClient interface {
	CallTest(ctx context.Context, in *Hello, opts ...grpc.CallOption) (*Hi, error)
	CallSearch(ctx context.Context, in *Search, opts ...grpc.CallOption) (*Result, error)
}

ConciergefClient is the client API for Conciergef service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewConciergefClient

func NewConciergefClient(cc grpc.ClientConnInterface) ConciergefClient

type ConciergefServer

type ConciergefServer interface {
	CallTest(context.Context, *Hello) (*Hi, error)
	CallSearch(context.Context, *Search) (*Result, error)
	// contains filtered or unexported methods
}

ConciergefServer is the server API for Conciergef service. All implementations must embed UnimplementedConciergefServer for forward compatibility

type Hello

type Hello struct {
	Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Hello) Descriptor deprecated

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

Deprecated: Use Hello.ProtoReflect.Descriptor instead.

func (*Hello) GetStatus

func (x *Hello) GetStatus() bool

func (*Hello) ProtoMessage

func (*Hello) ProtoMessage()

func (*Hello) ProtoReflect

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

func (*Hello) Reset

func (x *Hello) Reset()

func (*Hello) String

func (x *Hello) String() string

type Hi

type Hi struct {
	Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Hi) Descriptor deprecated

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

Deprecated: Use Hi.ProtoReflect.Descriptor instead.

func (*Hi) GetStatus

func (x *Hi) GetStatus() bool

func (*Hi) ProtoMessage

func (*Hi) ProtoMessage()

func (*Hi) ProtoReflect

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

func (*Hi) Reset

func (x *Hi) Reset()

func (*Hi) String

func (x *Hi) String() string

type Result

type Result struct {
	MResultSys []*Result_ResultSys `protobuf:"bytes,100,rep,name=mResultSys,proto3" json:"mResultSys,omitempty"`
	// contains filtered or unexported fields
}

func (*Result) Descriptor deprecated

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

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetMResultSys

func (x *Result) GetMResultSys() []*Result_ResultSys

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

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

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

type Result_ResultSys

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

func (*Result_ResultSys) Descriptor deprecated

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

Deprecated: Use Result_ResultSys.ProtoReflect.Descriptor instead.

func (*Result_ResultSys) GetId

func (x *Result_ResultSys) GetId() string

func (*Result_ResultSys) GetName

func (x *Result_ResultSys) GetName() string

func (*Result_ResultSys) ProtoMessage

func (*Result_ResultSys) ProtoMessage()

func (*Result_ResultSys) ProtoReflect

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

func (*Result_ResultSys) Reset

func (x *Result_ResultSys) Reset()

func (*Result_ResultSys) String

func (x *Result_ResultSys) String() string
type Search struct {
	Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Search) Descriptor deprecated

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

Deprecated: Use Search.ProtoReflect.Descriptor instead.

func (*Search) GetStatus

func (x *Search) GetStatus() bool

func (*Search) ProtoMessage

func (*Search) ProtoMessage()

func (*Search) ProtoReflect

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

func (*Search) Reset

func (x *Search) Reset()

func (*Search) String

func (x *Search) String() string

type UnimplementedConciergefServer

type UnimplementedConciergefServer struct {
}

UnimplementedConciergefServer must be embedded to have forward compatible implementations.

func (UnimplementedConciergefServer) CallSearch

func (UnimplementedConciergefServer) CallTest

type UnsafeConciergefServer

type UnsafeConciergefServer interface {
	// contains filtered or unexported methods
}

UnsafeConciergefServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConciergefServer will result in compilation errors.

Jump to

Keyboard shortcuts

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