list

package
v0.0.0-...-278a4e6 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_extension_aop_list_api_ioc_golang_aop_list_list_proto protoreflect.FileDescriptor
View Source
var ListService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ioc_golang.aop.list.ListService",
	HandlerType: (*ListServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "List",
			Handler:    _ListService_List_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "extension/aop/list/api/ioc_golang/aop/list/list.proto",
}

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

Functions

func RegisterListServiceServer

func RegisterListServiceServer(s grpc.ServiceRegistrar, srv ListServiceServer)

Types

type ListServiceClient

type ListServiceClient interface {
	List(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListServiceResponse, error)
}

ListServiceClient is the client API for ListService 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.

type ListServiceResponse

type ListServiceResponse struct {
	ServiceMetadata []*ServiceMetadata `protobuf:"bytes,1,rep,name=serviceMetadata,proto3" json:"serviceMetadata,omitempty"`
	// contains filtered or unexported fields
}

func (*ListServiceResponse) Descriptor deprecated

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

Deprecated: Use ListServiceResponse.ProtoReflect.Descriptor instead.

func (*ListServiceResponse) GetServiceMetadata

func (x *ListServiceResponse) GetServiceMetadata() []*ServiceMetadata

func (*ListServiceResponse) ProtoMessage

func (*ListServiceResponse) ProtoMessage()

func (*ListServiceResponse) ProtoReflect

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

func (*ListServiceResponse) Reset

func (x *ListServiceResponse) Reset()

func (*ListServiceResponse) String

func (x *ListServiceResponse) String() string

type ListServiceServer

type ListServiceServer interface {
	List(context.Context, *emptypb.Empty) (*ListServiceResponse, error)
	// contains filtered or unexported methods
}

ListServiceServer is the server API for ListService service. All implementations must embed UnimplementedListServiceServer for forward compatibility

type ServiceMetadata

type ServiceMetadata struct {
	InterfaceName      string   `protobuf:"bytes,1,opt,name=interfaceName,proto3" json:"interfaceName,omitempty"`
	ImplementationName string   `protobuf:"bytes,2,opt,name=implementationName,proto3" json:"implementationName,omitempty"`
	Methods            []string `protobuf:"bytes,3,rep,name=methods,proto3" json:"methods,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceMetadata) Descriptor deprecated

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

Deprecated: Use ServiceMetadata.ProtoReflect.Descriptor instead.

func (*ServiceMetadata) GetImplementationName

func (x *ServiceMetadata) GetImplementationName() string

func (*ServiceMetadata) GetInterfaceName

func (x *ServiceMetadata) GetInterfaceName() string

func (*ServiceMetadata) GetMethods

func (x *ServiceMetadata) GetMethods() []string

func (*ServiceMetadata) ProtoMessage

func (*ServiceMetadata) ProtoMessage()

func (*ServiceMetadata) ProtoReflect

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

func (*ServiceMetadata) Reset

func (x *ServiceMetadata) Reset()

func (*ServiceMetadata) String

func (x *ServiceMetadata) String() string

type UnimplementedListServiceServer

type UnimplementedListServiceServer struct {
}

UnimplementedListServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedListServiceServer) List

type UnsafeListServiceServer

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

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

Jump to

Keyboard shortcuts

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