litterboxsvc

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

Package litterboxsvc is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_litterboxsvc_svc_proto protoreflect.FileDescriptor
View Source
var LitterBox_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "autokitteh.litterbox.LitterBox",
	HandlerType: (*LitterBoxServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Setup",
			Handler:    _LitterBox_Setup_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _LitterBox_Get_Handler,
		},
		{
			MethodName: "Scoop",
			Handler:    _LitterBox_Scoop_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Monitor",
			Handler:       _LitterBox_Monitor_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Event",
			Handler:       _LitterBox_Event_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "Run",
			Handler:       _LitterBox_Run_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "litterboxsvc/svc.proto",
}

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

Functions

func RegisterLitterBoxHandler

func RegisterLitterBoxHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterLitterBoxHandler registers the http handlers for service LitterBox to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterLitterBoxHandlerClient

func RegisterLitterBoxHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LitterBoxClient) error

RegisterLitterBoxHandlerClient registers the http handlers for service LitterBox to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LitterBoxClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LitterBoxClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LitterBoxClient" to call the correct interceptors.

func RegisterLitterBoxHandlerFromEndpoint

func RegisterLitterBoxHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterLitterBoxHandlerFromEndpoint is same as RegisterLitterBoxHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterLitterBoxHandlerServer

func RegisterLitterBoxHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LitterBoxServer) error

RegisterLitterBoxHandlerServer registers the http handlers for service LitterBox to "mux". UnaryRPC :call LitterBoxServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterLitterBoxHandlerFromEndpoint instead.

func RegisterLitterBoxServer

func RegisterLitterBoxServer(s grpc.ServiceRegistrar, srv LitterBoxServer)

Types

type EventRequest added in v0.6.0

type EventRequest struct {
	Id    string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Event *LitterBoxEvent `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

func (*EventRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use EventRequest.ProtoReflect.Descriptor instead.

func (*EventRequest) GetEvent added in v0.6.0

func (x *EventRequest) GetEvent() *LitterBoxEvent

func (*EventRequest) GetId added in v0.6.0

func (x *EventRequest) GetId() string

func (*EventRequest) ProtoMessage added in v0.6.0

func (*EventRequest) ProtoMessage()

func (*EventRequest) ProtoReflect added in v0.6.0

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

func (*EventRequest) Reset added in v0.6.0

func (x *EventRequest) Reset()

func (*EventRequest) String added in v0.6.0

func (x *EventRequest) String() string

func (*EventRequest) Validate added in v0.6.0

func (m *EventRequest) Validate() error

Validate checks the field values on EventRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type EventRequestValidationError added in v0.6.0

type EventRequestValidationError struct {
	// contains filtered or unexported fields
}

EventRequestValidationError is the validation error returned by EventRequest.Validate if the designated constraints aren't met.

func (EventRequestValidationError) Cause added in v0.6.0

Cause function returns cause value.

func (EventRequestValidationError) Error added in v0.6.0

Error satisfies the builtin error interface

func (EventRequestValidationError) ErrorName added in v0.6.0

func (e EventRequestValidationError) ErrorName() string

ErrorName returns error name.

func (EventRequestValidationError) Field added in v0.6.0

Field function returns field value.

func (EventRequestValidationError) Key added in v0.6.0

Key function returns key value.

func (EventRequestValidationError) Reason added in v0.6.0

Reason function returns reason value.

type GetRequest added in v0.9.0

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

func (*GetRequest) Descriptor deprecated added in v0.9.0

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetId added in v0.9.0

func (x *GetRequest) GetId() string

func (*GetRequest) ProtoMessage added in v0.9.0

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect added in v0.9.0

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

func (*GetRequest) Reset added in v0.9.0

func (x *GetRequest) Reset()

func (*GetRequest) String added in v0.9.0

func (x *GetRequest) String() string

func (*GetRequest) Validate added in v0.9.0

func (m *GetRequest) Validate() error

Validate checks the field values on GetRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetRequestValidationError added in v0.9.0

type GetRequestValidationError struct {
	// contains filtered or unexported fields
}

GetRequestValidationError is the validation error returned by GetRequest.Validate if the designated constraints aren't met.

func (GetRequestValidationError) Cause added in v0.9.0

func (e GetRequestValidationError) Cause() error

Cause function returns cause value.

func (GetRequestValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (GetRequestValidationError) ErrorName added in v0.9.0

func (e GetRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetRequestValidationError) Field added in v0.9.0

Field function returns field value.

func (GetRequestValidationError) Key added in v0.9.0

Key function returns key value.

func (GetRequestValidationError) Reason added in v0.9.0

func (e GetRequestValidationError) Reason() string

Reason function returns reason value.

type GetResponse added in v0.9.0

type GetResponse struct {
	FilesTxtar []byte `protobuf:"bytes,1,opt,name=files_txtar,json=filesTxtar,proto3" json:"files_txtar,omitempty"` // in txtar format (see https://pkg.go.dev/golang.org/x/tools/txtar).
	// contains filtered or unexported fields
}

func (*GetResponse) Descriptor deprecated added in v0.9.0

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetFilesTxtar added in v0.10.1

func (x *GetResponse) GetFilesTxtar() []byte

func (*GetResponse) ProtoMessage added in v0.9.0

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect added in v0.9.0

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

func (*GetResponse) Reset added in v0.9.0

func (x *GetResponse) Reset()

func (*GetResponse) String added in v0.9.0

func (x *GetResponse) String() string

func (*GetResponse) Validate added in v0.9.0

func (m *GetResponse) Validate() error

Validate checks the field values on GetResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetResponseValidationError added in v0.9.0

type GetResponseValidationError struct {
	// contains filtered or unexported fields
}

GetResponseValidationError is the validation error returned by GetResponse.Validate if the designated constraints aren't met.

func (GetResponseValidationError) Cause added in v0.9.0

Cause function returns cause value.

func (GetResponseValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (GetResponseValidationError) ErrorName added in v0.9.0

func (e GetResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetResponseValidationError) Field added in v0.9.0

Field function returns field value.

func (GetResponseValidationError) Key added in v0.9.0

Key function returns key value.

func (GetResponseValidationError) Reason added in v0.9.0

Reason function returns reason value.

type LitterBoxClient

type LitterBoxClient interface {
	Setup(ctx context.Context, in *SetupRequest, opts ...grpc.CallOption) (*SetupResponse, error)
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	Monitor(ctx context.Context, in *MonitorRequest, opts ...grpc.CallOption) (LitterBox_MonitorClient, error)
	Event(ctx context.Context, in *EventRequest, opts ...grpc.CallOption) (LitterBox_EventClient, error)
	// Enable live sources and track all incoming events.
	Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (LitterBox_RunClient, error)
	Scoop(ctx context.Context, in *ScoopRequest, opts ...grpc.CallOption) (*ScoopResponse, error)
}

LitterBoxClient is the client API for LitterBox 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 NewLitterBoxClient

func NewLitterBoxClient(cc grpc.ClientConnInterface) LitterBoxClient

type LitterBoxEvent added in v0.6.0

type LitterBoxEvent struct {
	Src    string                   `protobuf:"bytes,1,opt,name=src,proto3" json:"src,omitempty"`
	Type   string                   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Values map[string]*values.Value `` // values and data are mutually exclusive.
	/* 153-byte string literal not displayed */
	Data       string `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // json data to be turned into values.
	OriginalId string `protobuf:"bytes,5,opt,name=original_id,json=originalId,proto3" json:"original_id,omitempty"`
	// contains filtered or unexported fields
}

func (*LitterBoxEvent) Descriptor deprecated added in v0.6.0

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

Deprecated: Use LitterBoxEvent.ProtoReflect.Descriptor instead.

func (*LitterBoxEvent) GetData added in v0.6.0

func (x *LitterBoxEvent) GetData() string

func (*LitterBoxEvent) GetOriginalId added in v0.6.0

func (x *LitterBoxEvent) GetOriginalId() string

func (*LitterBoxEvent) GetSrc added in v0.7.1

func (x *LitterBoxEvent) GetSrc() string

func (*LitterBoxEvent) GetType added in v0.6.0

func (x *LitterBoxEvent) GetType() string

func (*LitterBoxEvent) GetValues added in v0.13.0

func (x *LitterBoxEvent) GetValues() map[string]*values.Value

func (*LitterBoxEvent) ProtoMessage added in v0.6.0

func (*LitterBoxEvent) ProtoMessage()

func (*LitterBoxEvent) ProtoReflect added in v0.6.0

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

func (*LitterBoxEvent) Reset added in v0.6.0

func (x *LitterBoxEvent) Reset()

func (*LitterBoxEvent) String added in v0.6.0

func (x *LitterBoxEvent) String() string

func (*LitterBoxEvent) Validate added in v0.6.0

func (m *LitterBoxEvent) Validate() error

Validate checks the field values on LitterBoxEvent with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type LitterBoxEventValidationError added in v0.6.0

type LitterBoxEventValidationError struct {
	// contains filtered or unexported fields
}

LitterBoxEventValidationError is the validation error returned by LitterBoxEvent.Validate if the designated constraints aren't met.

func (LitterBoxEventValidationError) Cause added in v0.6.0

Cause function returns cause value.

func (LitterBoxEventValidationError) Error added in v0.6.0

Error satisfies the builtin error interface

func (LitterBoxEventValidationError) ErrorName added in v0.6.0

func (e LitterBoxEventValidationError) ErrorName() string

ErrorName returns error name.

func (LitterBoxEventValidationError) Field added in v0.6.0

Field function returns field value.

func (LitterBoxEventValidationError) Key added in v0.6.0

Key function returns key value.

func (LitterBoxEventValidationError) Reason added in v0.6.0

Reason function returns reason value.

type LitterBoxServer

type LitterBoxServer interface {
	Setup(context.Context, *SetupRequest) (*SetupResponse, error)
	Get(context.Context, *GetRequest) (*GetResponse, error)
	Monitor(*MonitorRequest, LitterBox_MonitorServer) error
	Event(*EventRequest, LitterBox_EventServer) error
	// Enable live sources and track all incoming events.
	Run(*RunRequest, LitterBox_RunServer) error
	Scoop(context.Context, *ScoopRequest) (*ScoopResponse, error)
	// contains filtered or unexported methods
}

LitterBoxServer is the server API for LitterBox service. All implementations must embed UnimplementedLitterBoxServer for forward compatibility

type LitterBox_EventClient added in v0.6.0

type LitterBox_EventClient interface {
	Recv() (*event.TrackIngestEventUpdate, error)
	grpc.ClientStream
}

type LitterBox_EventServer added in v0.6.0

type LitterBox_EventServer interface {
	Send(*event.TrackIngestEventUpdate) error
	grpc.ServerStream
}

type LitterBox_MonitorClient added in v0.15.0

type LitterBox_MonitorClient interface {
	Recv() (*event.TrackIngestEventUpdate, error)
	grpc.ClientStream
}

type LitterBox_MonitorServer added in v0.15.0

type LitterBox_MonitorServer interface {
	Send(*event.TrackIngestEventUpdate) error
	grpc.ServerStream
}

type LitterBox_RunClient

type LitterBox_RunClient interface {
	Recv() (*event.TrackIngestEventUpdate, error)
	grpc.ClientStream
}

type LitterBox_RunServer

type LitterBox_RunServer interface {
	Send(*event.TrackIngestEventUpdate) error
	grpc.ServerStream
}

type MonitorRequest added in v0.15.0

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

func (*MonitorRequest) Descriptor deprecated added in v0.15.0

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

Deprecated: Use MonitorRequest.ProtoReflect.Descriptor instead.

func (*MonitorRequest) GetId added in v0.15.0

func (x *MonitorRequest) GetId() string

func (*MonitorRequest) ProtoMessage added in v0.15.0

func (*MonitorRequest) ProtoMessage()

func (*MonitorRequest) ProtoReflect added in v0.15.0

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

func (*MonitorRequest) Reset added in v0.15.0

func (x *MonitorRequest) Reset()

func (*MonitorRequest) String added in v0.15.0

func (x *MonitorRequest) String() string

func (*MonitorRequest) Validate added in v0.15.0

func (m *MonitorRequest) Validate() error

Validate checks the field values on MonitorRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type MonitorRequestValidationError added in v0.15.0

type MonitorRequestValidationError struct {
	// contains filtered or unexported fields
}

MonitorRequestValidationError is the validation error returned by MonitorRequest.Validate if the designated constraints aren't met.

func (MonitorRequestValidationError) Cause added in v0.15.0

Cause function returns cause value.

func (MonitorRequestValidationError) Error added in v0.15.0

Error satisfies the builtin error interface

func (MonitorRequestValidationError) ErrorName added in v0.15.0

func (e MonitorRequestValidationError) ErrorName() string

ErrorName returns error name.

func (MonitorRequestValidationError) Field added in v0.15.0

Field function returns field value.

func (MonitorRequestValidationError) Key added in v0.15.0

Key function returns key value.

func (MonitorRequestValidationError) Reason added in v0.15.0

Reason function returns reason value.

type RunRequest

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

func (*RunRequest) Descriptor deprecated

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

Deprecated: Use RunRequest.ProtoReflect.Descriptor instead.

func (*RunRequest) GetId

func (x *RunRequest) GetId() string

func (*RunRequest) ProtoMessage

func (*RunRequest) ProtoMessage()

func (*RunRequest) ProtoReflect

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

func (*RunRequest) Reset

func (x *RunRequest) Reset()

func (*RunRequest) String

func (x *RunRequest) String() string

func (*RunRequest) Validate

func (m *RunRequest) Validate() error

Validate checks the field values on RunRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RunRequestValidationError

type RunRequestValidationError struct {
	// contains filtered or unexported fields
}

RunRequestValidationError is the validation error returned by RunRequest.Validate if the designated constraints aren't met.

func (RunRequestValidationError) Cause

func (e RunRequestValidationError) Cause() error

Cause function returns cause value.

func (RunRequestValidationError) Error

Error satisfies the builtin error interface

func (RunRequestValidationError) ErrorName

func (e RunRequestValidationError) ErrorName() string

ErrorName returns error name.

func (RunRequestValidationError) Field

Field function returns field value.

func (RunRequestValidationError) Key

Key function returns key value.

func (RunRequestValidationError) Reason

func (e RunRequestValidationError) Reason() string

Reason function returns reason value.

type ScoopRequest

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

func (*ScoopRequest) Descriptor deprecated

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

Deprecated: Use ScoopRequest.ProtoReflect.Descriptor instead.

func (*ScoopRequest) GetId

func (x *ScoopRequest) GetId() string

func (*ScoopRequest) ProtoMessage

func (*ScoopRequest) ProtoMessage()

func (*ScoopRequest) ProtoReflect

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

func (*ScoopRequest) Reset

func (x *ScoopRequest) Reset()

func (*ScoopRequest) String

func (x *ScoopRequest) String() string

func (*ScoopRequest) Validate

func (m *ScoopRequest) Validate() error

Validate checks the field values on ScoopRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ScoopRequestValidationError

type ScoopRequestValidationError struct {
	// contains filtered or unexported fields
}

ScoopRequestValidationError is the validation error returned by ScoopRequest.Validate if the designated constraints aren't met.

func (ScoopRequestValidationError) Cause

Cause function returns cause value.

func (ScoopRequestValidationError) Error

Error satisfies the builtin error interface

func (ScoopRequestValidationError) ErrorName

func (e ScoopRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ScoopRequestValidationError) Field

Field function returns field value.

func (ScoopRequestValidationError) Key

Key function returns key value.

func (ScoopRequestValidationError) Reason

Reason function returns reason value.

type ScoopResponse

type ScoopResponse struct {
	// contains filtered or unexported fields
}

func (*ScoopResponse) Descriptor deprecated

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

Deprecated: Use ScoopResponse.ProtoReflect.Descriptor instead.

func (*ScoopResponse) ProtoMessage

func (*ScoopResponse) ProtoMessage()

func (*ScoopResponse) ProtoReflect

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

func (*ScoopResponse) Reset

func (x *ScoopResponse) Reset()

func (*ScoopResponse) String

func (x *ScoopResponse) String() string

func (*ScoopResponse) Validate

func (m *ScoopResponse) Validate() error

Validate checks the field values on ScoopResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ScoopResponseValidationError

type ScoopResponseValidationError struct {
	// contains filtered or unexported fields
}

ScoopResponseValidationError is the validation error returned by ScoopResponse.Validate if the designated constraints aren't met.

func (ScoopResponseValidationError) Cause

Cause function returns cause value.

func (ScoopResponseValidationError) Error

Error satisfies the builtin error interface

func (ScoopResponseValidationError) ErrorName

func (e ScoopResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ScoopResponseValidationError) Field

Field function returns field value.

func (ScoopResponseValidationError) Key

Key function returns key value.

func (ScoopResponseValidationError) Reason

Reason function returns reason value.

type SetupRequest

type SetupRequest struct {
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	FilesTxtar []byte `protobuf:"bytes,2,opt,name=files_txtar,json=filesTxtar,proto3" json:"files_txtar,omitempty"` // in txtar format (see https://pkg.go.dev/golang.org/x/tools/txtar).
	// contains filtered or unexported fields
}

func (*SetupRequest) Descriptor deprecated

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

Deprecated: Use SetupRequest.ProtoReflect.Descriptor instead.

func (*SetupRequest) GetFilesTxtar added in v0.7.1

func (x *SetupRequest) GetFilesTxtar() []byte

func (*SetupRequest) GetId added in v0.6.0

func (x *SetupRequest) GetId() string

func (*SetupRequest) ProtoMessage

func (*SetupRequest) ProtoMessage()

func (*SetupRequest) ProtoReflect

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

func (*SetupRequest) Reset

func (x *SetupRequest) Reset()

func (*SetupRequest) String

func (x *SetupRequest) String() string

func (*SetupRequest) Validate

func (m *SetupRequest) Validate() error

Validate checks the field values on SetupRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SetupRequestValidationError

type SetupRequestValidationError struct {
	// contains filtered or unexported fields
}

SetupRequestValidationError is the validation error returned by SetupRequest.Validate if the designated constraints aren't met.

func (SetupRequestValidationError) Cause

Cause function returns cause value.

func (SetupRequestValidationError) Error

Error satisfies the builtin error interface

func (SetupRequestValidationError) ErrorName

func (e SetupRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SetupRequestValidationError) Field

Field function returns field value.

func (SetupRequestValidationError) Key

Key function returns key value.

func (SetupRequestValidationError) Reason

Reason function returns reason value.

type SetupResponse

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

func (*SetupResponse) Descriptor deprecated

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

Deprecated: Use SetupResponse.ProtoReflect.Descriptor instead.

func (*SetupResponse) GetId

func (x *SetupResponse) GetId() string

func (*SetupResponse) ProtoMessage

func (*SetupResponse) ProtoMessage()

func (*SetupResponse) ProtoReflect

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

func (*SetupResponse) Reset

func (x *SetupResponse) Reset()

func (*SetupResponse) String

func (x *SetupResponse) String() string

func (*SetupResponse) Validate

func (m *SetupResponse) Validate() error

Validate checks the field values on SetupResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SetupResponseValidationError

type SetupResponseValidationError struct {
	// contains filtered or unexported fields
}

SetupResponseValidationError is the validation error returned by SetupResponse.Validate if the designated constraints aren't met.

func (SetupResponseValidationError) Cause

Cause function returns cause value.

func (SetupResponseValidationError) Error

Error satisfies the builtin error interface

func (SetupResponseValidationError) ErrorName

func (e SetupResponseValidationError) ErrorName() string

ErrorName returns error name.

func (SetupResponseValidationError) Field

Field function returns field value.

func (SetupResponseValidationError) Key

Key function returns key value.

func (SetupResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedLitterBoxServer

type UnimplementedLitterBoxServer struct {
}

UnimplementedLitterBoxServer must be embedded to have forward compatible implementations.

func (UnimplementedLitterBoxServer) Event added in v0.6.0

func (UnimplementedLitterBoxServer) Get added in v0.9.0

func (UnimplementedLitterBoxServer) Monitor added in v0.15.0

func (UnimplementedLitterBoxServer) Run

func (UnimplementedLitterBoxServer) Scoop

func (UnimplementedLitterBoxServer) Setup

type UnsafeLitterBoxServer

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

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

Jump to

Keyboard shortcuts

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