v1

package
v0.0.0-...-c4f823d Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
var File_filter_v1_filter_error_reason_proto protoreflect.FileDescriptor
View Source
var File_filter_v1_filter_proto protoreflect.FileDescriptor
View Source
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) Enum

func (x UserErrorReason) Enum() *UserErrorReason

func (UserErrorReason) EnumDescriptor deprecated

func (UserErrorReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserErrorReason.Descriptor instead.

func (UserErrorReason) Number

func (UserErrorReason) String

func (x UserErrorReason) String() string

func (UserErrorReason) Type

Jump to

Keyboard shortcuts

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