Documentation ¶
Index ¶
- Variables
- func RegisterFilterServer(s grpc.ServiceRegistrar, srv FilterServer)
- type FilterClient
- type FilterServer
- type UnimplementedFilterServer
- type UnsafeFilterServer
- type UserErrorReason
- func (UserErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x UserErrorReason) Enum() *UserErrorReason
- func (UserErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserErrorReason) Number() protoreflect.EnumNumber
- func (x UserErrorReason) String() string
- func (UserErrorReason) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( UserErrorReason_name = map[int32]string{ 0: "GREETER_UNSPECIFIED", 1: "DEMO_NOT_FOUND", } UserErrorReason_value = map[string]int32{ "GREETER_UNSPECIFIED": 0, "DEMO_NOT_FOUND": 1, } )
Enum value maps for UserErrorReason.
var File_filter_v1_filter_error_reason_proto protoreflect.FileDescriptor
var File_filter_v1_filter_proto protoreflect.FileDescriptor
var Filter_ServiceDesc = grpc.ServiceDesc{ ServiceName: "filter.v1.Filter", HandlerType: (*FilterServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{}, Metadata: "filter/v1/filter.proto", }
Filter_ServiceDesc is the grpc.ServiceDesc for Filter service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterFilterServer ¶
func RegisterFilterServer(s grpc.ServiceRegistrar, srv FilterServer)
Types ¶
type FilterClient ¶
type FilterClient interface { }
FilterClient is the client API for Filter 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 NewFilterClient ¶
func NewFilterClient(cc grpc.ClientConnInterface) FilterClient
type FilterServer ¶
type FilterServer interface {
// contains filtered or unexported methods
}
FilterServer is the server API for Filter service. All implementations must embed UnimplementedFilterServer for forward compatibility
type UnimplementedFilterServer ¶
type UnimplementedFilterServer struct { }
UnimplementedFilterServer must be embedded to have forward compatible implementations.
type UnsafeFilterServer ¶
type UnsafeFilterServer interface {
// contains filtered or unexported methods
}
UnsafeFilterServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FilterServer will result in compilation errors.
type UserErrorReason ¶
type UserErrorReason int32
const ( UserErrorReason_GREETER_UNSPECIFIED UserErrorReason = 0 UserErrorReason_DEMO_NOT_FOUND UserErrorReason = 1 )
func (UserErrorReason) Descriptor ¶
func (UserErrorReason) Descriptor() protoreflect.EnumDescriptor
func (UserErrorReason) Enum ¶
func (x UserErrorReason) Enum() *UserErrorReason
func (UserErrorReason) EnumDescriptor
deprecated
func (UserErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserErrorReason.Descriptor instead.
func (UserErrorReason) Number ¶
func (x UserErrorReason) Number() protoreflect.EnumNumber
func (UserErrorReason) String ¶
func (x UserErrorReason) String() string
func (UserErrorReason) Type ¶
func (UserErrorReason) Type() protoreflect.EnumType