livemapper

package
v0.8.20 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 53 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BaseSubject events.Subject = "livemap"

	MarkerUpdate events.Type = "marker_update"
)
View Source
const (
	LivemapperService_Stream_FullMethodName               = "/services.livemapper.LivemapperService/Stream"
	LivemapperService_CreateOrUpdateMarker_FullMethodName = "/services.livemapper.LivemapperService/CreateOrUpdateMarker"
	LivemapperService_DeleteMarker_FullMethodName         = "/services.livemapper.LivemapperService/DeleteMarker"
)

Variables

View Source
var (
	ErrMarkerFailed = status.Error(codes.Internal, "errors.LivemapperService.ErrMarkerFailed")
	ErrMarkerDenied = status.Error(codes.PermissionDenied, "errors.LivemapperService.ErrMarkerDenied")
)
View Source
var (
	ErrStreamFailed = status.Error(codes.Internal, "errors.LivemapperService.ErrStreamFailed")
)
View Source
var File_services_livemapper_livemap_proto protoreflect.FileDescriptor
View Source
var LivemapperService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "services.livemapper.LivemapperService",
	HandlerType: (*LivemapperServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateOrUpdateMarker",
			Handler:    _LivemapperService_CreateOrUpdateMarker_Handler,
		},
		{
			MethodName: "DeleteMarker",
			Handler:    _LivemapperService_DeleteMarker_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Stream",
			Handler:       _LivemapperService_Stream_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "services/livemapper/livemap.proto",
}

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

Functions

func RegisterLivemapperServiceServer

func RegisterLivemapperServiceServer(s grpc.ServiceRegistrar, srv LivemapperServiceServer)

Types

type CreateOrUpdateMarkerRequest added in v0.8.1

type CreateOrUpdateMarkerRequest struct {
	Marker *livemap.MarkerMarker `protobuf:"bytes,1,opt,name=marker,proto3" json:"marker,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrUpdateMarkerRequest) Descriptor deprecated added in v0.8.1

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

Deprecated: Use CreateOrUpdateMarkerRequest.ProtoReflect.Descriptor instead.

func (*CreateOrUpdateMarkerRequest) GetMarker added in v0.8.1

func (*CreateOrUpdateMarkerRequest) ProtoMessage added in v0.8.1

func (*CreateOrUpdateMarkerRequest) ProtoMessage()

func (*CreateOrUpdateMarkerRequest) ProtoReflect added in v0.8.1

func (*CreateOrUpdateMarkerRequest) Reset added in v0.8.1

func (x *CreateOrUpdateMarkerRequest) Reset()

func (*CreateOrUpdateMarkerRequest) String added in v0.8.1

func (x *CreateOrUpdateMarkerRequest) String() string

func (*CreateOrUpdateMarkerRequest) Validate added in v0.8.1

func (m *CreateOrUpdateMarkerRequest) Validate() error

Validate checks the field values on CreateOrUpdateMarkerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateOrUpdateMarkerRequest) ValidateAll added in v0.8.1

func (m *CreateOrUpdateMarkerRequest) ValidateAll() error

ValidateAll checks the field values on CreateOrUpdateMarkerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateOrUpdateMarkerRequestMultiError, or nil if none found.

type CreateOrUpdateMarkerRequestMultiError added in v0.8.1

type CreateOrUpdateMarkerRequestMultiError []error

CreateOrUpdateMarkerRequestMultiError is an error wrapping multiple validation errors returned by CreateOrUpdateMarkerRequest.ValidateAll() if the designated constraints aren't met.

func (CreateOrUpdateMarkerRequestMultiError) AllErrors added in v0.8.1

AllErrors returns a list of validation violation errors.

func (CreateOrUpdateMarkerRequestMultiError) Error added in v0.8.1

Error returns a concatenation of all the error messages it wraps.

type CreateOrUpdateMarkerRequestValidationError added in v0.8.1

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

CreateOrUpdateMarkerRequestValidationError is the validation error returned by CreateOrUpdateMarkerRequest.Validate if the designated constraints aren't met.

func (CreateOrUpdateMarkerRequestValidationError) Cause added in v0.8.1

Cause function returns cause value.

func (CreateOrUpdateMarkerRequestValidationError) Error added in v0.8.1

Error satisfies the builtin error interface

func (CreateOrUpdateMarkerRequestValidationError) ErrorName added in v0.8.1

ErrorName returns error name.

func (CreateOrUpdateMarkerRequestValidationError) Field added in v0.8.1

Field function returns field value.

func (CreateOrUpdateMarkerRequestValidationError) Key added in v0.8.1

Key function returns key value.

func (CreateOrUpdateMarkerRequestValidationError) Reason added in v0.8.1

Reason function returns reason value.

type CreateOrUpdateMarkerResponse added in v0.8.1

type CreateOrUpdateMarkerResponse struct {
	Marker *livemap.MarkerMarker `protobuf:"bytes,1,opt,name=marker,proto3" json:"marker,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrUpdateMarkerResponse) Descriptor deprecated added in v0.8.1

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

Deprecated: Use CreateOrUpdateMarkerResponse.ProtoReflect.Descriptor instead.

func (*CreateOrUpdateMarkerResponse) GetMarker added in v0.8.1

func (*CreateOrUpdateMarkerResponse) ProtoMessage added in v0.8.1

func (*CreateOrUpdateMarkerResponse) ProtoMessage()

func (*CreateOrUpdateMarkerResponse) ProtoReflect added in v0.8.1

func (*CreateOrUpdateMarkerResponse) Reset added in v0.8.1

func (x *CreateOrUpdateMarkerResponse) Reset()

func (*CreateOrUpdateMarkerResponse) String added in v0.8.1

func (*CreateOrUpdateMarkerResponse) Validate added in v0.8.1

func (m *CreateOrUpdateMarkerResponse) Validate() error

Validate checks the field values on CreateOrUpdateMarkerResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateOrUpdateMarkerResponse) ValidateAll added in v0.8.1

func (m *CreateOrUpdateMarkerResponse) ValidateAll() error

ValidateAll checks the field values on CreateOrUpdateMarkerResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateOrUpdateMarkerResponseMultiError, or nil if none found.

type CreateOrUpdateMarkerResponseMultiError added in v0.8.1

type CreateOrUpdateMarkerResponseMultiError []error

CreateOrUpdateMarkerResponseMultiError is an error wrapping multiple validation errors returned by CreateOrUpdateMarkerResponse.ValidateAll() if the designated constraints aren't met.

func (CreateOrUpdateMarkerResponseMultiError) AllErrors added in v0.8.1

AllErrors returns a list of validation violation errors.

func (CreateOrUpdateMarkerResponseMultiError) Error added in v0.8.1

Error returns a concatenation of all the error messages it wraps.

type CreateOrUpdateMarkerResponseValidationError added in v0.8.1

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

CreateOrUpdateMarkerResponseValidationError is the validation error returned by CreateOrUpdateMarkerResponse.Validate if the designated constraints aren't met.

func (CreateOrUpdateMarkerResponseValidationError) Cause added in v0.8.1

Cause function returns cause value.

func (CreateOrUpdateMarkerResponseValidationError) Error added in v0.8.1

Error satisfies the builtin error interface

func (CreateOrUpdateMarkerResponseValidationError) ErrorName added in v0.8.1

ErrorName returns error name.

func (CreateOrUpdateMarkerResponseValidationError) Field added in v0.8.1

Field function returns field value.

func (CreateOrUpdateMarkerResponseValidationError) Key added in v0.8.1

Key function returns key value.

func (CreateOrUpdateMarkerResponseValidationError) Reason added in v0.8.1

Reason function returns reason value.

type DeleteMarkerRequest added in v0.8.1

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

func (*DeleteMarkerRequest) Descriptor deprecated added in v0.8.1

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

Deprecated: Use DeleteMarkerRequest.ProtoReflect.Descriptor instead.

func (*DeleteMarkerRequest) GetId added in v0.8.1

func (x *DeleteMarkerRequest) GetId() uint64

func (*DeleteMarkerRequest) ProtoMessage added in v0.8.1

func (*DeleteMarkerRequest) ProtoMessage()

func (*DeleteMarkerRequest) ProtoReflect added in v0.8.1

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

func (*DeleteMarkerRequest) Reset added in v0.8.1

func (x *DeleteMarkerRequest) Reset()

func (*DeleteMarkerRequest) String added in v0.8.1

func (x *DeleteMarkerRequest) String() string

func (*DeleteMarkerRequest) Validate added in v0.8.1

func (m *DeleteMarkerRequest) Validate() error

Validate checks the field values on DeleteMarkerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteMarkerRequest) ValidateAll added in v0.8.1

func (m *DeleteMarkerRequest) ValidateAll() error

ValidateAll checks the field values on DeleteMarkerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteMarkerRequestMultiError, or nil if none found.

type DeleteMarkerRequestMultiError added in v0.8.1

type DeleteMarkerRequestMultiError []error

DeleteMarkerRequestMultiError is an error wrapping multiple validation errors returned by DeleteMarkerRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteMarkerRequestMultiError) AllErrors added in v0.8.1

func (m DeleteMarkerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteMarkerRequestMultiError) Error added in v0.8.1

Error returns a concatenation of all the error messages it wraps.

type DeleteMarkerRequestValidationError added in v0.8.1

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

DeleteMarkerRequestValidationError is the validation error returned by DeleteMarkerRequest.Validate if the designated constraints aren't met.

func (DeleteMarkerRequestValidationError) Cause added in v0.8.1

Cause function returns cause value.

func (DeleteMarkerRequestValidationError) Error added in v0.8.1

Error satisfies the builtin error interface

func (DeleteMarkerRequestValidationError) ErrorName added in v0.8.1

ErrorName returns error name.

func (DeleteMarkerRequestValidationError) Field added in v0.8.1

Field function returns field value.

func (DeleteMarkerRequestValidationError) Key added in v0.8.1

Key function returns key value.

func (DeleteMarkerRequestValidationError) Reason added in v0.8.1

Reason function returns reason value.

type DeleteMarkerResponse added in v0.8.1

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

func (*DeleteMarkerResponse) Descriptor deprecated added in v0.8.1

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

Deprecated: Use DeleteMarkerResponse.ProtoReflect.Descriptor instead.

func (*DeleteMarkerResponse) ProtoMessage added in v0.8.1

func (*DeleteMarkerResponse) ProtoMessage()

func (*DeleteMarkerResponse) ProtoReflect added in v0.8.1

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

func (*DeleteMarkerResponse) Reset added in v0.8.1

func (x *DeleteMarkerResponse) Reset()

func (*DeleteMarkerResponse) String added in v0.8.1

func (x *DeleteMarkerResponse) String() string

func (*DeleteMarkerResponse) Validate added in v0.8.1

func (m *DeleteMarkerResponse) Validate() error

Validate checks the field values on DeleteMarkerResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteMarkerResponse) ValidateAll added in v0.8.1

func (m *DeleteMarkerResponse) ValidateAll() error

ValidateAll checks the field values on DeleteMarkerResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteMarkerResponseMultiError, or nil if none found.

type DeleteMarkerResponseMultiError added in v0.8.1

type DeleteMarkerResponseMultiError []error

DeleteMarkerResponseMultiError is an error wrapping multiple validation errors returned by DeleteMarkerResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteMarkerResponseMultiError) AllErrors added in v0.8.1

func (m DeleteMarkerResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteMarkerResponseMultiError) Error added in v0.8.1

Error returns a concatenation of all the error messages it wraps.

type DeleteMarkerResponseValidationError added in v0.8.1

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

DeleteMarkerResponseValidationError is the validation error returned by DeleteMarkerResponse.Validate if the designated constraints aren't met.

func (DeleteMarkerResponseValidationError) Cause added in v0.8.1

Cause function returns cause value.

func (DeleteMarkerResponseValidationError) Error added in v0.8.1

Error satisfies the builtin error interface

func (DeleteMarkerResponseValidationError) ErrorName added in v0.8.1

ErrorName returns error name.

func (DeleteMarkerResponseValidationError) Field added in v0.8.1

Field function returns field value.

func (DeleteMarkerResponseValidationError) Key added in v0.8.1

Key function returns key value.

func (DeleteMarkerResponseValidationError) Reason added in v0.8.1

Reason function returns reason value.

type JobsList added in v0.8.20

type JobsList struct {
	Users   []*users.Job `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	Markers []*users.Job `protobuf:"bytes,2,rep,name=markers,proto3" json:"markers,omitempty"`
	// contains filtered or unexported fields
}

func (*JobsList) Descriptor deprecated added in v0.8.20

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

Deprecated: Use JobsList.ProtoReflect.Descriptor instead.

func (*JobsList) GetMarkers added in v0.8.20

func (x *JobsList) GetMarkers() []*users.Job

func (*JobsList) GetUsers added in v0.8.20

func (x *JobsList) GetUsers() []*users.Job

func (*JobsList) ProtoMessage added in v0.8.20

func (*JobsList) ProtoMessage()

func (*JobsList) ProtoReflect added in v0.8.20

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

func (*JobsList) Reset added in v0.8.20

func (x *JobsList) Reset()

func (*JobsList) String added in v0.8.20

func (x *JobsList) String() string

func (*JobsList) Validate added in v0.8.20

func (m *JobsList) Validate() error

Validate checks the field values on JobsList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*JobsList) ValidateAll added in v0.8.20

func (m *JobsList) ValidateAll() error

ValidateAll checks the field values on JobsList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JobsListMultiError, or nil if none found.

type JobsListMultiError added in v0.8.20

type JobsListMultiError []error

JobsListMultiError is an error wrapping multiple validation errors returned by JobsList.ValidateAll() if the designated constraints aren't met.

func (JobsListMultiError) AllErrors added in v0.8.20

func (m JobsListMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (JobsListMultiError) Error added in v0.8.20

func (m JobsListMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type JobsListValidationError added in v0.8.20

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

JobsListValidationError is the validation error returned by JobsList.Validate if the designated constraints aren't met.

func (JobsListValidationError) Cause added in v0.8.20

func (e JobsListValidationError) Cause() error

Cause function returns cause value.

func (JobsListValidationError) Error added in v0.8.20

func (e JobsListValidationError) Error() string

Error satisfies the builtin error interface

func (JobsListValidationError) ErrorName added in v0.8.20

func (e JobsListValidationError) ErrorName() string

ErrorName returns error name.

func (JobsListValidationError) Field added in v0.8.20

func (e JobsListValidationError) Field() string

Field function returns field value.

func (JobsListValidationError) Key added in v0.8.20

func (e JobsListValidationError) Key() bool

Key function returns key value.

func (JobsListValidationError) Reason added in v0.8.20

func (e JobsListValidationError) Reason() string

Reason function returns reason value.

type LivemapperServiceClient

type LivemapperServiceClient interface {
	// @perm: Attrs=Markers/JobList|Players/JobGradeList
	Stream(ctx context.Context, in *StreamRequest, opts ...grpc.CallOption) (LivemapperService_StreamClient, error)
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
	CreateOrUpdateMarker(ctx context.Context, in *CreateOrUpdateMarkerRequest, opts ...grpc.CallOption) (*CreateOrUpdateMarkerResponse, error)
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
	DeleteMarker(ctx context.Context, in *DeleteMarkerRequest, opts ...grpc.CallOption) (*DeleteMarkerResponse, error)
}

LivemapperServiceClient is the client API for LivemapperService 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 LivemapperServiceServer

type LivemapperServiceServer interface {
	// @perm: Attrs=Markers/JobList|Players/JobGradeList
	Stream(*StreamRequest, LivemapperService_StreamServer) error
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
	CreateOrUpdateMarker(context.Context, *CreateOrUpdateMarkerRequest) (*CreateOrUpdateMarkerResponse, error)
	// @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"}
	DeleteMarker(context.Context, *DeleteMarkerRequest) (*DeleteMarkerResponse, error)
	// contains filtered or unexported methods
}

LivemapperServiceServer is the server API for LivemapperService service. All implementations must embed UnimplementedLivemapperServiceServer for forward compatibility

type LivemapperService_StreamClient

type LivemapperService_StreamClient interface {
	Recv() (*StreamResponse, error)
	grpc.ClientStream
}

type LivemapperService_StreamServer

type LivemapperService_StreamServer interface {
	Send(*StreamResponse) error
	grpc.ServerStream
}

type MarkerMarkersUpdates added in v0.8.20

type MarkerMarkersUpdates struct {
	Markers []*livemap.MarkerMarker `protobuf:"bytes,1,rep,name=markers,proto3" json:"markers,omitempty"`
	// contains filtered or unexported fields
}

func (*MarkerMarkersUpdates) Descriptor deprecated added in v0.8.20

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

Deprecated: Use MarkerMarkersUpdates.ProtoReflect.Descriptor instead.

func (*MarkerMarkersUpdates) GetMarkers added in v0.8.20

func (x *MarkerMarkersUpdates) GetMarkers() []*livemap.MarkerMarker

func (*MarkerMarkersUpdates) ProtoMessage added in v0.8.20

func (*MarkerMarkersUpdates) ProtoMessage()

func (*MarkerMarkersUpdates) ProtoReflect added in v0.8.20

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

func (*MarkerMarkersUpdates) Reset added in v0.8.20

func (x *MarkerMarkersUpdates) Reset()

func (*MarkerMarkersUpdates) String added in v0.8.20

func (x *MarkerMarkersUpdates) String() string

func (*MarkerMarkersUpdates) Validate added in v0.8.20

func (m *MarkerMarkersUpdates) Validate() error

Validate checks the field values on MarkerMarkersUpdates with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MarkerMarkersUpdates) ValidateAll added in v0.8.20

func (m *MarkerMarkersUpdates) ValidateAll() error

ValidateAll checks the field values on MarkerMarkersUpdates with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MarkerMarkersUpdatesMultiError, or nil if none found.

type MarkerMarkersUpdatesMultiError added in v0.8.20

type MarkerMarkersUpdatesMultiError []error

MarkerMarkersUpdatesMultiError is an error wrapping multiple validation errors returned by MarkerMarkersUpdates.ValidateAll() if the designated constraints aren't met.

func (MarkerMarkersUpdatesMultiError) AllErrors added in v0.8.20

func (m MarkerMarkersUpdatesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MarkerMarkersUpdatesMultiError) Error added in v0.8.20

Error returns a concatenation of all the error messages it wraps.

type MarkerMarkersUpdatesValidationError added in v0.8.20

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

MarkerMarkersUpdatesValidationError is the validation error returned by MarkerMarkersUpdates.Validate if the designated constraints aren't met.

func (MarkerMarkersUpdatesValidationError) Cause added in v0.8.20

Cause function returns cause value.

func (MarkerMarkersUpdatesValidationError) Error added in v0.8.20

Error satisfies the builtin error interface

func (MarkerMarkersUpdatesValidationError) ErrorName added in v0.8.20

ErrorName returns error name.

func (MarkerMarkersUpdatesValidationError) Field added in v0.8.20

Field function returns field value.

func (MarkerMarkersUpdatesValidationError) Key added in v0.8.20

Key function returns key value.

func (MarkerMarkersUpdatesValidationError) Reason added in v0.8.20

Reason function returns reason value.

type Params added in v0.8.0

type Params struct {
	fx.In

	LC fx.Lifecycle

	Logger   *zap.Logger
	TP       *tracesdk.TracerProvider
	DB       *sql.DB
	JS       nats.JetStreamContext
	Perms    perms.Permissions
	Enricher *mstlystcdata.Enricher
	Config   *config.Config
	Tracker  tracker.ITracker
	Audit    audit.IAuditer
}

type Server

type Server struct {
	LivemapperServiceServer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(p Params) *Server

func (*Server) CreateOrUpdateMarker added in v0.8.1

func (*Server) DeleteMarker added in v0.8.1

func (s *Server) DeleteMarker(ctx context.Context, req *DeleteMarkerRequest) (*DeleteMarkerResponse, error)

func (*Server) RegisterServer added in v0.8.0

func (s *Server) RegisterServer(srv *grpc.Server)

func (*Server) Stream

type StreamRequest

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

func (*StreamRequest) Descriptor deprecated

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

Deprecated: Use StreamRequest.ProtoReflect.Descriptor instead.

func (*StreamRequest) ProtoMessage

func (*StreamRequest) ProtoMessage()

func (*StreamRequest) ProtoReflect

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

func (*StreamRequest) Reset

func (x *StreamRequest) Reset()

func (*StreamRequest) String

func (x *StreamRequest) String() string

func (*StreamRequest) Validate

func (m *StreamRequest) Validate() error

Validate checks the field values on StreamRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StreamRequest) ValidateAll

func (m *StreamRequest) ValidateAll() error

ValidateAll checks the field values on StreamRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StreamRequestMultiError, or nil if none found.

type StreamRequestMultiError

type StreamRequestMultiError []error

StreamRequestMultiError is an error wrapping multiple validation errors returned by StreamRequest.ValidateAll() if the designated constraints aren't met.

func (StreamRequestMultiError) AllErrors

func (m StreamRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StreamRequestMultiError) Error

func (m StreamRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type StreamRequestValidationError

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

StreamRequestValidationError is the validation error returned by StreamRequest.Validate if the designated constraints aren't met.

func (StreamRequestValidationError) Cause

Cause function returns cause value.

func (StreamRequestValidationError) Error

Error satisfies the builtin error interface

func (StreamRequestValidationError) ErrorName

func (e StreamRequestValidationError) ErrorName() string

ErrorName returns error name.

func (StreamRequestValidationError) Field

Field function returns field value.

func (StreamRequestValidationError) Key

Key function returns key value.

func (StreamRequestValidationError) Reason

Reason function returns reason value.

type StreamResponse

type StreamResponse struct {

	// Types that are assignable to Data:
	//
	//	*StreamResponse_Jobs
	//	*StreamResponse_Markers
	//	*StreamResponse_Users
	Data isStreamResponse_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*StreamResponse) Descriptor deprecated

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

Deprecated: Use StreamResponse.ProtoReflect.Descriptor instead.

func (*StreamResponse) GetData added in v0.8.20

func (m *StreamResponse) GetData() isStreamResponse_Data

func (*StreamResponse) GetJobs added in v0.8.20

func (x *StreamResponse) GetJobs() *JobsList

func (*StreamResponse) GetMarkers added in v0.8.1

func (x *StreamResponse) GetMarkers() *MarkerMarkersUpdates

func (*StreamResponse) GetUsers

func (x *StreamResponse) GetUsers() *UserMarkersUpdates

func (*StreamResponse) ProtoMessage

func (*StreamResponse) ProtoMessage()

func (*StreamResponse) ProtoReflect

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

func (*StreamResponse) Reset

func (x *StreamResponse) Reset()

func (*StreamResponse) String

func (x *StreamResponse) String() string

func (*StreamResponse) Validate

func (m *StreamResponse) Validate() error

Validate checks the field values on StreamResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*StreamResponse) ValidateAll

func (m *StreamResponse) ValidateAll() error

ValidateAll checks the field values on StreamResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StreamResponseMultiError, or nil if none found.

type StreamResponseMultiError

type StreamResponseMultiError []error

StreamResponseMultiError is an error wrapping multiple validation errors returned by StreamResponse.ValidateAll() if the designated constraints aren't met.

func (StreamResponseMultiError) AllErrors

func (m StreamResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StreamResponseMultiError) Error

func (m StreamResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type StreamResponseValidationError

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

StreamResponseValidationError is the validation error returned by StreamResponse.Validate if the designated constraints aren't met.

func (StreamResponseValidationError) Cause

Cause function returns cause value.

func (StreamResponseValidationError) Error

Error satisfies the builtin error interface

func (StreamResponseValidationError) ErrorName

func (e StreamResponseValidationError) ErrorName() string

ErrorName returns error name.

func (StreamResponseValidationError) Field

Field function returns field value.

func (StreamResponseValidationError) Key

Key function returns key value.

func (StreamResponseValidationError) Reason

Reason function returns reason value.

type StreamResponse_Jobs added in v0.8.20

type StreamResponse_Jobs struct {
	Jobs *JobsList `protobuf:"bytes,1,opt,name=jobs,proto3,oneof"`
}

type StreamResponse_Markers added in v0.8.20

type StreamResponse_Markers struct {
	Markers *MarkerMarkersUpdates `protobuf:"bytes,2,opt,name=markers,proto3,oneof"`
}

type StreamResponse_Users added in v0.8.20

type StreamResponse_Users struct {
	Users *UserMarkersUpdates `protobuf:"bytes,3,opt,name=users,proto3,oneof"`
}

type UnimplementedLivemapperServiceServer

type UnimplementedLivemapperServiceServer struct {
}

UnimplementedLivemapperServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedLivemapperServiceServer) CreateOrUpdateMarker added in v0.8.1

func (UnimplementedLivemapperServiceServer) DeleteMarker added in v0.8.1

func (UnimplementedLivemapperServiceServer) Stream

type UnsafeLivemapperServiceServer

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

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

type UserMarkersUpdates added in v0.8.20

type UserMarkersUpdates struct {
	Users []*livemap.UserMarker `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	Part  int32                 `protobuf:"varint,2,opt,name=part,proto3" json:"part,omitempty"`
	// contains filtered or unexported fields
}

func (*UserMarkersUpdates) Descriptor deprecated added in v0.8.20

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

Deprecated: Use UserMarkersUpdates.ProtoReflect.Descriptor instead.

func (*UserMarkersUpdates) GetPart added in v0.8.20

func (x *UserMarkersUpdates) GetPart() int32

func (*UserMarkersUpdates) GetUsers added in v0.8.20

func (x *UserMarkersUpdates) GetUsers() []*livemap.UserMarker

func (*UserMarkersUpdates) ProtoMessage added in v0.8.20

func (*UserMarkersUpdates) ProtoMessage()

func (*UserMarkersUpdates) ProtoReflect added in v0.8.20

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

func (*UserMarkersUpdates) Reset added in v0.8.20

func (x *UserMarkersUpdates) Reset()

func (*UserMarkersUpdates) String added in v0.8.20

func (x *UserMarkersUpdates) String() string

func (*UserMarkersUpdates) Validate added in v0.8.20

func (m *UserMarkersUpdates) Validate() error

Validate checks the field values on UserMarkersUpdates with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*UserMarkersUpdates) ValidateAll added in v0.8.20

func (m *UserMarkersUpdates) ValidateAll() error

ValidateAll checks the field values on UserMarkersUpdates with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserMarkersUpdatesMultiError, or nil if none found.

type UserMarkersUpdatesMultiError added in v0.8.20

type UserMarkersUpdatesMultiError []error

UserMarkersUpdatesMultiError is an error wrapping multiple validation errors returned by UserMarkersUpdates.ValidateAll() if the designated constraints aren't met.

func (UserMarkersUpdatesMultiError) AllErrors added in v0.8.20

func (m UserMarkersUpdatesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserMarkersUpdatesMultiError) Error added in v0.8.20

Error returns a concatenation of all the error messages it wraps.

type UserMarkersUpdatesValidationError added in v0.8.20

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

UserMarkersUpdatesValidationError is the validation error returned by UserMarkersUpdates.Validate if the designated constraints aren't met.

func (UserMarkersUpdatesValidationError) Cause added in v0.8.20

Cause function returns cause value.

func (UserMarkersUpdatesValidationError) Error added in v0.8.20

Error satisfies the builtin error interface

func (UserMarkersUpdatesValidationError) ErrorName added in v0.8.20

ErrorName returns error name.

func (UserMarkersUpdatesValidationError) Field added in v0.8.20

Field function returns field value.

func (UserMarkersUpdatesValidationError) Key added in v0.8.20

Key function returns key value.

func (UserMarkersUpdatesValidationError) Reason added in v0.8.20

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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