serverfeatures

package
v3.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_serverfeatures_proto protoreflect.FileDescriptor
View Source
var ServerFeatures_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "event_store.client.server_features.ServerFeatures",
	HandlerType: (*ServerFeaturesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSupportedMethods",
			Handler:    _ServerFeatures_GetSupportedMethods_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "serverfeatures.proto",
}

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

Functions

func RegisterServerFeaturesServer

func RegisterServerFeaturesServer(s grpc.ServiceRegistrar, srv ServerFeaturesServer)

Types

type ServerFeaturesClient

type ServerFeaturesClient interface {
	GetSupportedMethods(ctx context.Context, in *shared.Empty, opts ...grpc.CallOption) (*SupportedMethods, error)
}

ServerFeaturesClient is the client API for ServerFeatures 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 ServerFeaturesServer

type ServerFeaturesServer interface {
	GetSupportedMethods(context.Context, *shared.Empty) (*SupportedMethods, error)
	// contains filtered or unexported methods
}

ServerFeaturesServer is the server API for ServerFeatures service. All implementations must embed UnimplementedServerFeaturesServer for forward compatibility

type SupportedMethod

type SupportedMethod struct {
	MethodName  string   `protobuf:"bytes,1,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"`
	ServiceName string   `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	Features    []string `protobuf:"bytes,3,rep,name=features,proto3" json:"features,omitempty"`
	// contains filtered or unexported fields
}

func (*SupportedMethod) Descriptor deprecated

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

Deprecated: Use SupportedMethod.ProtoReflect.Descriptor instead.

func (*SupportedMethod) GetFeatures

func (x *SupportedMethod) GetFeatures() []string

func (*SupportedMethod) GetMethodName

func (x *SupportedMethod) GetMethodName() string

func (*SupportedMethod) GetServiceName

func (x *SupportedMethod) GetServiceName() string

func (*SupportedMethod) ProtoMessage

func (*SupportedMethod) ProtoMessage()

func (*SupportedMethod) ProtoReflect

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

func (*SupportedMethod) Reset

func (x *SupportedMethod) Reset()

func (*SupportedMethod) String

func (x *SupportedMethod) String() string

type SupportedMethods

type SupportedMethods struct {
	Methods                 []*SupportedMethod `protobuf:"bytes,1,rep,name=methods,proto3" json:"methods,omitempty"`
	EventStoreServerVersion string             `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SupportedMethods) Descriptor deprecated

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

Deprecated: Use SupportedMethods.ProtoReflect.Descriptor instead.

func (*SupportedMethods) GetEventStoreServerVersion

func (x *SupportedMethods) GetEventStoreServerVersion() string

func (*SupportedMethods) GetMethods

func (x *SupportedMethods) GetMethods() []*SupportedMethod

func (*SupportedMethods) ProtoMessage

func (*SupportedMethods) ProtoMessage()

func (*SupportedMethods) ProtoReflect

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

func (*SupportedMethods) Reset

func (x *SupportedMethods) Reset()

func (*SupportedMethods) String

func (x *SupportedMethods) String() string

type UnimplementedServerFeaturesServer

type UnimplementedServerFeaturesServer struct {
}

UnimplementedServerFeaturesServer must be embedded to have forward compatible implementations.

func (UnimplementedServerFeaturesServer) GetSupportedMethods

type UnsafeServerFeaturesServer

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

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

Jump to

Keyboard shortcuts

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