Versions in this module Expand all Collapse all v4 v4.25.2 Apr 26, 2024 v4.25.1 Apr 26, 2024 v4.24.3 Apr 26, 2024 Changes in this version + const Event_List_FullMethodName + const Event_Show_FullMethodName + var Event_ServiceDesc = grpc.ServiceDesc + var File_event_event_proto protoreflect.FileDescriptor + func RegisterEventHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterEventHandlerClient(ctx context.Context, mux *runtime.ServeMux, client EventClient) error + func RegisterEventHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterEventHandlerServer(ctx context.Context, mux *runtime.ServeMux, server EventServer) error + func RegisterEventServer(s grpc.ServiceRegistrar, srv EventServer) + type EventClient interface + List func(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) + Show func(ctx context.Context, in *ShowRequest, opts ...grpc.CallOption) (*ShowResponse, error) + func NewEventClient(cc grpc.ClientConnInterface) EventClient + type EventServer interface + List func(context.Context, *ListRequest) (*ListResponse, error) + Show func(context.Context, *ShowRequest) (*ShowResponse, error) + type ListRequest struct + ActionType types.EventActionType + Page int64 + PageSize int64 + Search string + func (*ListRequest) Descriptor() ([]byte, []int) + func (*ListRequest) ProtoMessage() + func (m *ListRequest) Validate() error + func (m *ListRequest) ValidateAll() error + func (x *ListRequest) GetActionType() types.EventActionType + func (x *ListRequest) GetPage() int64 + func (x *ListRequest) GetPageSize() int64 + func (x *ListRequest) GetSearch() string + func (x *ListRequest) ProtoReflect() protoreflect.Message + func (x *ListRequest) Reset() + func (x *ListRequest) String() string + type ListRequestMultiError []error + func (m ListRequestMultiError) AllErrors() []error + func (m ListRequestMultiError) Error() string + type ListRequestValidationError struct + func (e ListRequestValidationError) Cause() error + func (e ListRequestValidationError) Error() string + func (e ListRequestValidationError) ErrorName() string + func (e ListRequestValidationError) Field() string + func (e ListRequestValidationError) Key() bool + func (e ListRequestValidationError) Reason() string + type ListResponse struct + Items []*types.EventModel + Page int64 + PageSize int64 + func (*ListResponse) Descriptor() ([]byte, []int) + func (*ListResponse) ProtoMessage() + func (m *ListResponse) Validate() error + func (m *ListResponse) ValidateAll() error + func (x *ListResponse) GetItems() []*types.EventModel + func (x *ListResponse) GetPage() int64 + func (x *ListResponse) GetPageSize() int64 + func (x *ListResponse) ProtoReflect() protoreflect.Message + func (x *ListResponse) Reset() + func (x *ListResponse) String() string + type ListResponseMultiError []error + func (m ListResponseMultiError) AllErrors() []error + func (m ListResponseMultiError) Error() string + type ListResponseValidationError struct + func (e ListResponseValidationError) Cause() error + func (e ListResponseValidationError) Error() string + func (e ListResponseValidationError) ErrorName() string + func (e ListResponseValidationError) Field() string + func (e ListResponseValidationError) Key() bool + func (e ListResponseValidationError) Reason() string + type ShowRequest struct + Id int64 + func (*ShowRequest) Descriptor() ([]byte, []int) + func (*ShowRequest) ProtoMessage() + func (m *ShowRequest) Validate() error + func (m *ShowRequest) ValidateAll() error + func (x *ShowRequest) GetId() int64 + func (x *ShowRequest) ProtoReflect() protoreflect.Message + func (x *ShowRequest) Reset() + func (x *ShowRequest) String() string + type ShowRequestMultiError []error + func (m ShowRequestMultiError) AllErrors() []error + func (m ShowRequestMultiError) Error() string + type ShowRequestValidationError struct + func (e ShowRequestValidationError) Cause() error + func (e ShowRequestValidationError) Error() string + func (e ShowRequestValidationError) ErrorName() string + func (e ShowRequestValidationError) Field() string + func (e ShowRequestValidationError) Key() bool + func (e ShowRequestValidationError) Reason() string + type ShowResponse struct + Event *types.EventModel + func (*ShowResponse) Descriptor() ([]byte, []int) + func (*ShowResponse) ProtoMessage() + func (m *ShowResponse) Validate() error + func (m *ShowResponse) ValidateAll() error + func (x *ShowResponse) GetEvent() *types.EventModel + func (x *ShowResponse) ProtoReflect() protoreflect.Message + func (x *ShowResponse) Reset() + func (x *ShowResponse) String() string + type ShowResponseMultiError []error + func (m ShowResponseMultiError) AllErrors() []error + func (m ShowResponseMultiError) Error() string + type ShowResponseValidationError struct + func (e ShowResponseValidationError) Cause() error + func (e ShowResponseValidationError) Error() string + func (e ShowResponseValidationError) ErrorName() string + func (e ShowResponseValidationError) Field() string + func (e ShowResponseValidationError) Key() bool + func (e ShowResponseValidationError) Reason() string + type UnimplementedEventServer struct + func (UnimplementedEventServer) List(context.Context, *ListRequest) (*ListResponse, error) + func (UnimplementedEventServer) Show(context.Context, *ShowRequest) (*ShowResponse, error) + type UnsafeEventServer interface