notificator

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const StartWaitTicks = 3

Variables

View Source
var File_services_notificator_notificator_proto protoreflect.FileDescriptor
View Source
var (
	InvalidRequestErr = status.Error(codes.InvalidArgument, "errors.NotificatorService.InvalidRequestErr")
)
View Source
var NotificatorService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "services.notificator.NotificatorService",
	HandlerType: (*NotificatorServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetNotifications",
			Handler:    _NotificatorService_GetNotifications_Handler,
		},
		{
			MethodName: "ReadNotifications",
			Handler:    _NotificatorService_ReadNotifications_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Stream",
			Handler:       _NotificatorService_Stream_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "services/notificator/notificator.proto",
}

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

Functions

func RegisterNotificatorServiceServer

func RegisterNotificatorServiceServer(s grpc.ServiceRegistrar, srv NotificatorServiceServer)

Types

type GetNotificationsRequest

type GetNotificationsRequest struct {
	Pagination  *database.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	IncludeRead *bool                       `protobuf:"varint,2,opt,name=include_read,json=includeRead,proto3,oneof" json:"include_read,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotificationsRequest) Descriptor deprecated

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

Deprecated: Use GetNotificationsRequest.ProtoReflect.Descriptor instead.

func (*GetNotificationsRequest) GetIncludeRead

func (x *GetNotificationsRequest) GetIncludeRead() bool

func (*GetNotificationsRequest) GetPagination

func (*GetNotificationsRequest) ProtoMessage

func (*GetNotificationsRequest) ProtoMessage()

func (*GetNotificationsRequest) ProtoReflect

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

func (*GetNotificationsRequest) Reset

func (x *GetNotificationsRequest) Reset()

func (*GetNotificationsRequest) String

func (x *GetNotificationsRequest) String() string

func (*GetNotificationsRequest) Validate

func (m *GetNotificationsRequest) Validate() error

Validate checks the field values on GetNotificationsRequest 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 (*GetNotificationsRequest) ValidateAll

func (m *GetNotificationsRequest) ValidateAll() error

ValidateAll checks the field values on GetNotificationsRequest 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 GetNotificationsRequestMultiError, or nil if none found.

type GetNotificationsRequestMultiError

type GetNotificationsRequestMultiError []error

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

func (GetNotificationsRequestMultiError) AllErrors

func (m GetNotificationsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetNotificationsRequestMultiError) Error

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

type GetNotificationsRequestValidationError

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

GetNotificationsRequestValidationError is the validation error returned by GetNotificationsRequest.Validate if the designated constraints aren't met.

func (GetNotificationsRequestValidationError) Cause

Cause function returns cause value.

func (GetNotificationsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetNotificationsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetNotificationsRequestValidationError) Field

Field function returns field value.

func (GetNotificationsRequestValidationError) Key

Key function returns key value.

func (GetNotificationsRequestValidationError) Reason

Reason function returns reason value.

type GetNotificationsResponse

type GetNotificationsResponse struct {
	Pagination    *database.PaginationResponse  `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	Notifications []*notifications.Notification `protobuf:"bytes,2,rep,name=notifications,proto3" json:"notifications,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNotificationsResponse) Descriptor deprecated

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

Deprecated: Use GetNotificationsResponse.ProtoReflect.Descriptor instead.

func (*GetNotificationsResponse) GetNotifications

func (x *GetNotificationsResponse) GetNotifications() []*notifications.Notification

func (*GetNotificationsResponse) GetPagination

func (*GetNotificationsResponse) ProtoMessage

func (*GetNotificationsResponse) ProtoMessage()

func (*GetNotificationsResponse) ProtoReflect

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

func (*GetNotificationsResponse) Reset

func (x *GetNotificationsResponse) Reset()

func (*GetNotificationsResponse) String

func (x *GetNotificationsResponse) String() string

func (*GetNotificationsResponse) Validate

func (m *GetNotificationsResponse) Validate() error

Validate checks the field values on GetNotificationsResponse 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 (*GetNotificationsResponse) ValidateAll

func (m *GetNotificationsResponse) ValidateAll() error

ValidateAll checks the field values on GetNotificationsResponse 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 GetNotificationsResponseMultiError, or nil if none found.

type GetNotificationsResponseMultiError

type GetNotificationsResponseMultiError []error

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

func (GetNotificationsResponseMultiError) AllErrors

func (m GetNotificationsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetNotificationsResponseMultiError) Error

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

type GetNotificationsResponseValidationError

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

GetNotificationsResponseValidationError is the validation error returned by GetNotificationsResponse.Validate if the designated constraints aren't met.

func (GetNotificationsResponseValidationError) Cause

Cause function returns cause value.

func (GetNotificationsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetNotificationsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetNotificationsResponseValidationError) Field

Field function returns field value.

func (GetNotificationsResponseValidationError) Key

Key function returns key value.

func (GetNotificationsResponseValidationError) Reason

Reason function returns reason value.

type NotificatorServiceClient

type NotificatorServiceClient interface {
	GetNotifications(ctx context.Context, in *GetNotificationsRequest, opts ...grpc.CallOption) (*GetNotificationsResponse, error)
	ReadNotifications(ctx context.Context, in *ReadNotificationsRequest, opts ...grpc.CallOption) (*ReadNotificationsResponse, error)
	Stream(ctx context.Context, in *StreamRequest, opts ...grpc.CallOption) (NotificatorService_StreamClient, error)
}

NotificatorServiceClient is the client API for NotificatorService 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 NotificatorServiceServer

type NotificatorServiceServer interface {
	GetNotifications(context.Context, *GetNotificationsRequest) (*GetNotificationsResponse, error)
	ReadNotifications(context.Context, *ReadNotificationsRequest) (*ReadNotificationsResponse, error)
	Stream(*StreamRequest, NotificatorService_StreamServer) error
	// contains filtered or unexported methods
}

NotificatorServiceServer is the server API for NotificatorService service. All implementations must embed UnimplementedNotificatorServiceServer for forward compatibility

type NotificatorService_StreamClient

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

type NotificatorService_StreamServer

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

type ReadNotificationsRequest

type ReadNotificationsRequest struct {
	Ids []uint64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	All *bool    `protobuf:"varint,2,opt,name=all,proto3,oneof" json:"all,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadNotificationsRequest) Descriptor deprecated

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

Deprecated: Use ReadNotificationsRequest.ProtoReflect.Descriptor instead.

func (*ReadNotificationsRequest) GetAll added in v0.6.0

func (x *ReadNotificationsRequest) GetAll() bool

func (*ReadNotificationsRequest) GetIds

func (x *ReadNotificationsRequest) GetIds() []uint64

func (*ReadNotificationsRequest) ProtoMessage

func (*ReadNotificationsRequest) ProtoMessage()

func (*ReadNotificationsRequest) ProtoReflect

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

func (*ReadNotificationsRequest) Reset

func (x *ReadNotificationsRequest) Reset()

func (*ReadNotificationsRequest) String

func (x *ReadNotificationsRequest) String() string

func (*ReadNotificationsRequest) Validate

func (m *ReadNotificationsRequest) Validate() error

Validate checks the field values on ReadNotificationsRequest 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 (*ReadNotificationsRequest) ValidateAll

func (m *ReadNotificationsRequest) ValidateAll() error

ValidateAll checks the field values on ReadNotificationsRequest 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 ReadNotificationsRequestMultiError, or nil if none found.

type ReadNotificationsRequestMultiError

type ReadNotificationsRequestMultiError []error

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

func (ReadNotificationsRequestMultiError) AllErrors

func (m ReadNotificationsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReadNotificationsRequestMultiError) Error

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

type ReadNotificationsRequestValidationError

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

ReadNotificationsRequestValidationError is the validation error returned by ReadNotificationsRequest.Validate if the designated constraints aren't met.

func (ReadNotificationsRequestValidationError) Cause

Cause function returns cause value.

func (ReadNotificationsRequestValidationError) Error

Error satisfies the builtin error interface

func (ReadNotificationsRequestValidationError) ErrorName

ErrorName returns error name.

func (ReadNotificationsRequestValidationError) Field

Field function returns field value.

func (ReadNotificationsRequestValidationError) Key

Key function returns key value.

func (ReadNotificationsRequestValidationError) Reason

Reason function returns reason value.

type ReadNotificationsResponse

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

func (*ReadNotificationsResponse) Descriptor deprecated

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

Deprecated: Use ReadNotificationsResponse.ProtoReflect.Descriptor instead.

func (*ReadNotificationsResponse) ProtoMessage

func (*ReadNotificationsResponse) ProtoMessage()

func (*ReadNotificationsResponse) ProtoReflect

func (*ReadNotificationsResponse) Reset

func (x *ReadNotificationsResponse) Reset()

func (*ReadNotificationsResponse) String

func (x *ReadNotificationsResponse) String() string

func (*ReadNotificationsResponse) Validate

func (m *ReadNotificationsResponse) Validate() error

Validate checks the field values on ReadNotificationsResponse 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 (*ReadNotificationsResponse) ValidateAll

func (m *ReadNotificationsResponse) ValidateAll() error

ValidateAll checks the field values on ReadNotificationsResponse 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 ReadNotificationsResponseMultiError, or nil if none found.

type ReadNotificationsResponseMultiError

type ReadNotificationsResponseMultiError []error

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

func (ReadNotificationsResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ReadNotificationsResponseMultiError) Error

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

type ReadNotificationsResponseValidationError

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

ReadNotificationsResponseValidationError is the validation error returned by ReadNotificationsResponse.Validate if the designated constraints aren't met.

func (ReadNotificationsResponseValidationError) Cause

Cause function returns cause value.

func (ReadNotificationsResponseValidationError) Error

Error satisfies the builtin error interface

func (ReadNotificationsResponseValidationError) ErrorName

ErrorName returns error name.

func (ReadNotificationsResponseValidationError) Field

Field function returns field value.

func (ReadNotificationsResponseValidationError) Key

Key function returns key value.

func (ReadNotificationsResponseValidationError) Reason

Reason function returns reason value.

type Server

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

func NewServer

func NewServer(logger *zap.Logger, db *sql.DB, p perms.Permissions, tm *auth.TokenMgr, ui userinfo.UserInfoRetriever) *Server

func (*Server) GetNotifications

func (s *Server) GetNotifications(ctx context.Context, req *GetNotificationsRequest) (*GetNotificationsResponse, error)

func (*Server) PermissionStreamFuncOverride

func (s *Server) PermissionStreamFuncOverride(ctx context.Context, srv interface{}, info *grpc.StreamServerInfo) (context.Context, error)

func (*Server) PermissionUnaryFuncOverride added in v0.6.0

func (s *Server) PermissionUnaryFuncOverride(ctx context.Context, info *grpc.UnaryServerInfo) (context.Context, error)

func (*Server) ReadNotifications

func (s *Server) ReadNotifications(ctx context.Context, req *ReadNotificationsRequest) (*ReadNotificationsResponse, error)

func (*Server) Stream

type StreamRequest

type StreamRequest struct {
	LastId uint64 `protobuf:"varint,1,opt,name=last_id,json=lastId,proto3" json:"last_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamRequest) Descriptor deprecated

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

Deprecated: Use StreamRequest.ProtoReflect.Descriptor instead.

func (*StreamRequest) GetLastId

func (x *StreamRequest) GetLastId() uint64

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 {
	LastId        uint64                        `protobuf:"varint,1,opt,name=last_id,json=lastId,proto3" json:"last_id,omitempty"`
	RestartStream bool                          `protobuf:"varint,2,opt,name=restart_stream,json=restartStream,proto3" json:"restart_stream,omitempty"`
	Notifications []*notifications.Notification `protobuf:"bytes,3,rep,name=notifications,proto3" json:"notifications,omitempty"`
	Token         *TokenUpdate                  `protobuf:"bytes,4,opt,name=token,proto3,oneof" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamResponse) Descriptor deprecated

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

Deprecated: Use StreamResponse.ProtoReflect.Descriptor instead.

func (*StreamResponse) GetLastId

func (x *StreamResponse) GetLastId() uint64

func (*StreamResponse) GetNotifications

func (x *StreamResponse) GetNotifications() []*notifications.Notification

func (*StreamResponse) GetRestartStream

func (x *StreamResponse) GetRestartStream() bool

func (*StreamResponse) GetToken

func (x *StreamResponse) GetToken() *TokenUpdate

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 TokenUpdate

type TokenUpdate struct {
	NewToken    *string              `protobuf:"bytes,1,opt,name=new_token,json=newToken,proto3,oneof" json:"new_token,omitempty"`
	Expires     *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expires,proto3" json:"expires,omitempty"`
	Permissions []string             `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"`
	UserInfo    *users.User          `protobuf:"bytes,4,opt,name=user_info,json=userInfo,proto3,oneof" json:"user_info,omitempty"`
	JobProps    *jobs.JobProps       `protobuf:"bytes,5,opt,name=job_props,json=jobProps,proto3,oneof" json:"job_props,omitempty"`
	// contains filtered or unexported fields
}

func (*TokenUpdate) Descriptor deprecated

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

Deprecated: Use TokenUpdate.ProtoReflect.Descriptor instead.

func (*TokenUpdate) GetExpires

func (x *TokenUpdate) GetExpires() *timestamp.Timestamp

func (*TokenUpdate) GetJobProps

func (x *TokenUpdate) GetJobProps() *jobs.JobProps

func (*TokenUpdate) GetNewToken

func (x *TokenUpdate) GetNewToken() string

func (*TokenUpdate) GetPermissions

func (x *TokenUpdate) GetPermissions() []string

func (*TokenUpdate) GetUserInfo

func (x *TokenUpdate) GetUserInfo() *users.User

func (*TokenUpdate) ProtoMessage

func (*TokenUpdate) ProtoMessage()

func (*TokenUpdate) ProtoReflect

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

func (*TokenUpdate) Reset

func (x *TokenUpdate) Reset()

func (*TokenUpdate) String

func (x *TokenUpdate) String() string

func (*TokenUpdate) Validate

func (m *TokenUpdate) Validate() error

Validate checks the field values on TokenUpdate 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 (*TokenUpdate) ValidateAll

func (m *TokenUpdate) ValidateAll() error

ValidateAll checks the field values on TokenUpdate 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 TokenUpdateMultiError, or nil if none found.

type TokenUpdateMultiError

type TokenUpdateMultiError []error

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

func (TokenUpdateMultiError) AllErrors

func (m TokenUpdateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TokenUpdateMultiError) Error

func (m TokenUpdateMultiError) Error() string

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

type TokenUpdateValidationError

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

TokenUpdateValidationError is the validation error returned by TokenUpdate.Validate if the designated constraints aren't met.

func (TokenUpdateValidationError) Cause

Cause function returns cause value.

func (TokenUpdateValidationError) Error

Error satisfies the builtin error interface

func (TokenUpdateValidationError) ErrorName

func (e TokenUpdateValidationError) ErrorName() string

ErrorName returns error name.

func (TokenUpdateValidationError) Field

Field function returns field value.

func (TokenUpdateValidationError) Key

Key function returns key value.

func (TokenUpdateValidationError) Reason

Reason function returns reason value.

type UnimplementedNotificatorServiceServer

type UnimplementedNotificatorServiceServer struct {
}

UnimplementedNotificatorServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedNotificatorServiceServer) GetNotifications

func (UnimplementedNotificatorServiceServer) ReadNotifications

func (UnimplementedNotificatorServiceServer) Stream

type UnsafeNotificatorServiceServer

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

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

Jump to

Keyboard shortcuts

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