Documentation
¶
Overview ¶
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Index ¶
- Constants
- Variables
- func WriteError(resp http.ResponseWriter, err error)
- type AddEventItemRequest
- func (*AddEventItemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddEventItemRequest) GetDescription() string
- func (x *AddEventItemRequest) GetEventRefId() string
- func (*AddEventItemRequest) ProtoMessage()
- func (x *AddEventItemRequest) ProtoReflect() protoreflect.Message
- func (x *AddEventItemRequest) Reset()
- func (x *AddEventItemRequest) String() string
- type AddEventItemResponse
- func (*AddEventItemResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddEventItemResponse) GetEventItem() *EventItem
- func (*AddEventItemResponse) ProtoMessage()
- func (x *AddEventItemResponse) ProtoReflect() protoreflect.Message
- func (x *AddEventItemResponse) Reset()
- func (x *AddEventItemResponse) String() string
- type CreateEarmarkRequest
- func (*CreateEarmarkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEarmarkRequest) GetEventItemRefId() string
- func (x *CreateEarmarkRequest) GetNote() string
- func (*CreateEarmarkRequest) ProtoMessage()
- func (x *CreateEarmarkRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEarmarkRequest) Reset()
- func (x *CreateEarmarkRequest) String() string
- type CreateEarmarkResponse
- func (*CreateEarmarkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEarmarkResponse) GetEarmark() *Earmark
- func (*CreateEarmarkResponse) ProtoMessage()
- func (x *CreateEarmarkResponse) ProtoReflect() protoreflect.Message
- func (x *CreateEarmarkResponse) Reset()
- func (x *CreateEarmarkResponse) String() string
- type CreateEventRequest
- func (*CreateEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEventRequest) GetDescription() string
- func (x *CreateEventRequest) GetName() string
- func (x *CreateEventRequest) GetWhen() *TimestampTZ
- func (*CreateEventRequest) ProtoMessage()
- func (x *CreateEventRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEventRequest) Reset()
- func (x *CreateEventRequest) String() string
- type CreateEventResponse
- func (*CreateEventResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEventResponse) GetEvent() *Event
- func (*CreateEventResponse) ProtoMessage()
- func (x *CreateEventResponse) ProtoReflect() protoreflect.Message
- func (x *CreateEventResponse) Reset()
- func (x *CreateEventResponse) String() string
- type CreateFavoriteRequest
- func (*CreateFavoriteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFavoriteRequest) GetEventRefId() string
- func (*CreateFavoriteRequest) ProtoMessage()
- func (x *CreateFavoriteRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFavoriteRequest) Reset()
- func (x *CreateFavoriteRequest) String() string
- type CreateFavoriteResponse
- func (*CreateFavoriteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFavoriteResponse) GetFavorite() *Favorite
- func (*CreateFavoriteResponse) ProtoMessage()
- func (x *CreateFavoriteResponse) ProtoReflect() protoreflect.Message
- func (x *CreateFavoriteResponse) Reset()
- func (x *CreateFavoriteResponse) String() string
- type DeleteEventRequest
- func (*DeleteEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteEventRequest) GetRefId() string
- func (*DeleteEventRequest) ProtoMessage()
- func (x *DeleteEventRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteEventRequest) Reset()
- func (x *DeleteEventRequest) String() string
- type DeleteNotificationRequest
- func (*DeleteNotificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNotificationRequest) GetRefId() string
- func (*DeleteNotificationRequest) ProtoMessage()
- func (x *DeleteNotificationRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNotificationRequest) Reset()
- func (x *DeleteNotificationRequest) String() string
- type Earmark
- func (*Earmark) Descriptor() ([]byte, []int)deprecated
- func (x *Earmark) GetCreated() *timestamppb.Timestamp
- func (x *Earmark) GetEventItemRefId() string
- func (x *Earmark) GetNote() string
- func (x *Earmark) GetOwner() string
- func (x *Earmark) GetRefId() string
- func (*Earmark) ProtoMessage()
- func (x *Earmark) ProtoReflect() protoreflect.Message
- func (x *Earmark) Reset()
- func (x *Earmark) String() string
- type Empty
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetArchived() bool
- func (x *Event) GetCreated() *timestamppb.Timestamp
- func (x *Event) GetDescription() string
- func (x *Event) GetName() string
- func (x *Event) GetRefId() string
- func (x *Event) GetWhen() *TimestampTZ
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventItem
- func (*EventItem) Descriptor() ([]byte, []int)deprecated
- func (x *EventItem) GetCreated() *timestamppb.Timestamp
- func (x *EventItem) GetDescription() string
- func (x *EventItem) GetRefId() string
- func (*EventItem) ProtoMessage()
- func (x *EventItem) ProtoReflect() protoreflect.Message
- func (x *EventItem) Reset()
- func (x *EventItem) String() string
- type Favorite
- func (*Favorite) Descriptor() ([]byte, []int)deprecated
- func (x *Favorite) GetCreated() *timestamppb.Timestamp
- func (x *Favorite) GetEventRefId() string
- func (*Favorite) ProtoMessage()
- func (x *Favorite) ProtoReflect() protoreflect.Message
- func (x *Favorite) Reset()
- func (x *Favorite) String() string
- type GetEarmarkDetailsRequest
- func (*GetEarmarkDetailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEarmarkDetailsRequest) GetRefId() string
- func (*GetEarmarkDetailsRequest) ProtoMessage()
- func (x *GetEarmarkDetailsRequest) ProtoReflect() protoreflect.Message
- func (x *GetEarmarkDetailsRequest) Reset()
- func (x *GetEarmarkDetailsRequest) String() string
- type GetEarmarkDetailsResponse
- func (*GetEarmarkDetailsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEarmarkDetailsResponse) GetEarmark() *Earmark
- func (x *GetEarmarkDetailsResponse) GetEventRefId() string
- func (*GetEarmarkDetailsResponse) ProtoMessage()
- func (x *GetEarmarkDetailsResponse) ProtoReflect() protoreflect.Message
- func (x *GetEarmarkDetailsResponse) Reset()
- func (x *GetEarmarkDetailsResponse) String() string
- type GetEventDetailsRequest
- func (*GetEventDetailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEventDetailsRequest) GetRefId() string
- func (*GetEventDetailsRequest) ProtoMessage()
- func (x *GetEventDetailsRequest) ProtoReflect() protoreflect.Message
- func (x *GetEventDetailsRequest) Reset()
- func (x *GetEventDetailsRequest) String() string
- type GetEventDetailsResponse
- func (*GetEventDetailsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEventDetailsResponse) GetEarmarks() []*Earmark
- func (x *GetEventDetailsResponse) GetEvent() *Event
- func (x *GetEventDetailsResponse) GetItems() []*EventItem
- func (*GetEventDetailsResponse) ProtoMessage()
- func (x *GetEventDetailsResponse) ProtoReflect() protoreflect.Message
- func (x *GetEventDetailsResponse) Reset()
- func (x *GetEventDetailsResponse) String() string
- type HTTPClient
- type ListEarmarksRequest
- func (*ListEarmarksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEarmarksRequest) GetArchived() bool
- func (x *ListEarmarksRequest) GetPagination() *PaginationRequest
- func (*ListEarmarksRequest) ProtoMessage()
- func (x *ListEarmarksRequest) ProtoReflect() protoreflect.Message
- func (x *ListEarmarksRequest) Reset()
- func (x *ListEarmarksRequest) String() string
- type ListEarmarksResponse
- func (*ListEarmarksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEarmarksResponse) GetEarmarks() []*Earmark
- func (x *ListEarmarksResponse) GetPagination() *PaginationResult
- func (*ListEarmarksResponse) ProtoMessage()
- func (x *ListEarmarksResponse) ProtoReflect() protoreflect.Message
- func (x *ListEarmarksResponse) Reset()
- func (x *ListEarmarksResponse) String() string
- type ListEventEarmarksRequest
- func (*ListEventEarmarksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEventEarmarksRequest) GetRefId() string
- func (*ListEventEarmarksRequest) ProtoMessage()
- func (x *ListEventEarmarksRequest) ProtoReflect() protoreflect.Message
- func (x *ListEventEarmarksRequest) Reset()
- func (x *ListEventEarmarksRequest) String() string
- type ListEventEarmarksResponse
- func (*ListEventEarmarksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEventEarmarksResponse) GetEarmarks() []*Earmark
- func (x *ListEventEarmarksResponse) GetPagination() *PaginationResult
- func (*ListEventEarmarksResponse) ProtoMessage()
- func (x *ListEventEarmarksResponse) ProtoReflect() protoreflect.Message
- func (x *ListEventEarmarksResponse) Reset()
- func (x *ListEventEarmarksResponse) String() string
- type ListEventItemsRequest
- func (*ListEventItemsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEventItemsRequest) GetRefId() string
- func (*ListEventItemsRequest) ProtoMessage()
- func (x *ListEventItemsRequest) ProtoReflect() protoreflect.Message
- func (x *ListEventItemsRequest) Reset()
- func (x *ListEventItemsRequest) String() string
- type ListEventItemsResponse
- func (*ListEventItemsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEventItemsResponse) GetItems() []*EventItem
- func (x *ListEventItemsResponse) GetPagination() *PaginationResult
- func (*ListEventItemsResponse) ProtoMessage()
- func (x *ListEventItemsResponse) ProtoReflect() protoreflect.Message
- func (x *ListEventItemsResponse) Reset()
- func (x *ListEventItemsResponse) String() string
- type ListEventsRequest
- func (*ListEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListEventsRequest) GetArchived() bool
- func (x *ListEventsRequest) GetPagination() *PaginationRequest
- func (*ListEventsRequest) ProtoMessage()
- func (x *ListEventsRequest) ProtoReflect() protoreflect.Message
- func (x *ListEventsRequest) Reset()
- func (x *ListEventsRequest) String() string
- type ListEventsResponse
- func (*ListEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEventsResponse) GetEvents() []*Event
- func (x *ListEventsResponse) GetPagination() *PaginationResult
- func (*ListEventsResponse) ProtoMessage()
- func (x *ListEventsResponse) ProtoReflect() protoreflect.Message
- func (x *ListEventsResponse) Reset()
- func (x *ListEventsResponse) String() string
- type ListFavoriteEventsRequest
- func (*ListFavoriteEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFavoriteEventsRequest) GetArchived() bool
- func (x *ListFavoriteEventsRequest) GetPagination() *PaginationRequest
- func (*ListFavoriteEventsRequest) ProtoMessage()
- func (x *ListFavoriteEventsRequest) ProtoReflect() protoreflect.Message
- func (x *ListFavoriteEventsRequest) Reset()
- func (x *ListFavoriteEventsRequest) String() string
- type ListFavoriteEventsResponse
- func (*ListFavoriteEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFavoriteEventsResponse) GetEvents() []*Event
- func (x *ListFavoriteEventsResponse) GetPagination() *PaginationResult
- func (*ListFavoriteEventsResponse) ProtoMessage()
- func (x *ListFavoriteEventsResponse) ProtoReflect() protoreflect.Message
- func (x *ListFavoriteEventsResponse) Reset()
- func (x *ListFavoriteEventsResponse) String() string
- type ListNotificationsRequest
- func (*ListNotificationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNotificationsRequest) GetPagination() *PaginationRequest
- func (*ListNotificationsRequest) ProtoMessage()
- func (x *ListNotificationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListNotificationsRequest) Reset()
- func (x *ListNotificationsRequest) String() string
- type ListNotificationsResponse
- func (*ListNotificationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNotificationsResponse) GetNotifications() []*Notification
- func (x *ListNotificationsResponse) GetPagination() *PaginationResult
- func (*ListNotificationsResponse) ProtoMessage()
- func (x *ListNotificationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListNotificationsResponse) Reset()
- func (x *ListNotificationsResponse) String() string
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)deprecated
- func (x *Notification) GetCreated() *timestamppb.Timestamp
- func (x *Notification) GetMessage() string
- func (x *Notification) GetRefId() string
- func (*Notification) ProtoMessage()
- func (x *Notification) ProtoReflect() protoreflect.Message
- func (x *Notification) Reset()
- func (x *Notification) String() string
- type PaginationRequest
- func (*PaginationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationRequest) GetLimit() uint32
- func (x *PaginationRequest) GetOffset() uint32
- func (*PaginationRequest) ProtoMessage()
- func (x *PaginationRequest) ProtoReflect() protoreflect.Message
- func (x *PaginationRequest) Reset()
- func (x *PaginationRequest) String() string
- type PaginationResult
- func (*PaginationResult) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationResult) GetCount() uint32
- func (x *PaginationResult) GetLimit() uint32
- func (x *PaginationResult) GetOffset() uint32
- func (*PaginationResult) ProtoMessage()
- func (x *PaginationResult) ProtoReflect() protoreflect.Message
- func (x *PaginationResult) Reset()
- func (x *PaginationResult) String() string
- type RemoveEarmarkRequest
- func (*RemoveEarmarkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveEarmarkRequest) GetRefId() string
- func (*RemoveEarmarkRequest) ProtoMessage()
- func (x *RemoveEarmarkRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveEarmarkRequest) Reset()
- func (x *RemoveEarmarkRequest) String() string
- type RemoveEventItemRequest
- func (*RemoveEventItemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveEventItemRequest) GetRefId() string
- func (*RemoveEventItemRequest) ProtoMessage()
- func (x *RemoveEventItemRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveEventItemRequest) Reset()
- func (x *RemoveEventItemRequest) String() string
- type RemoveFavoriteRequest
- func (*RemoveFavoriteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveFavoriteRequest) GetEventRefId() string
- func (*RemoveFavoriteRequest) ProtoMessage()
- func (x *RemoveFavoriteRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveFavoriteRequest) Reset()
- func (x *RemoveFavoriteRequest) String() string
- type Rpc
- type TimestampTZ
- func (*TimestampTZ) Descriptor() ([]byte, []int)deprecated
- func (x *TimestampTZ) GetTs() *timestamppb.Timestamp
- func (x *TimestampTZ) GetTz() string
- func (*TimestampTZ) ProtoMessage()
- func (x *TimestampTZ) ProtoReflect() protoreflect.Message
- func (x *TimestampTZ) Reset()
- func (x *TimestampTZ) String() string
- type TwirpServer
- type UpdateEventItemRequest
- func (*UpdateEventItemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEventItemRequest) GetDescription() string
- func (x *UpdateEventItemRequest) GetRefId() string
- func (*UpdateEventItemRequest) ProtoMessage()
- func (x *UpdateEventItemRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEventItemRequest) Reset()
- func (x *UpdateEventItemRequest) String() string
- type UpdateEventItemResponse
- func (*UpdateEventItemResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEventItemResponse) GetEventItem() *EventItem
- func (*UpdateEventItemResponse) ProtoMessage()
- func (x *UpdateEventItemResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateEventItemResponse) Reset()
- func (x *UpdateEventItemResponse) String() string
- type UpdateEventRequest
- func (*UpdateEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateEventRequest) GetDescription() string
- func (x *UpdateEventRequest) GetName() string
- func (x *UpdateEventRequest) GetRefId() string
- func (x *UpdateEventRequest) GetWhen() *TimestampTZ
- func (*UpdateEventRequest) ProtoMessage()
- func (x *UpdateEventRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEventRequest) Reset()
- func (x *UpdateEventRequest) String() string
Constants ¶
const RpcPathPrefix = "/twirp/icbt.Rpc/"
RpcPathPrefix is a convenience constant that may identify URL paths. Should be used with caution, it only matches routes generated by Twirp Go clients, with the default "/twirp" prefix and default CamelCase service and method names. More info: https://twitchtv.github.io/twirp/docs/routing.html
Variables ¶
var File_service_proto protoreflect.FileDescriptor
Functions ¶
func WriteError ¶
func WriteError(resp http.ResponseWriter, err error)
WriteError writes an HTTP response with a valid Twirp error format (code, msg, meta). Useful outside of the Twirp server (e.g. http middleware), but does not trigger hooks. If err is not a twirp.Error, it will get wrapped with twirp.InternalErrorWith(err)
Types ¶
type AddEventItemRequest ¶
type AddEventItemRequest struct {
EventRefId string `protobuf:"bytes,1,opt,name=event_ref_id,json=eventRefId,proto3" json:"event_ref_id,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
func (*AddEventItemRequest) Descriptor
deprecated
func (*AddEventItemRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddEventItemRequest.ProtoReflect.Descriptor instead.
func (*AddEventItemRequest) GetDescription ¶
func (x *AddEventItemRequest) GetDescription() string
func (*AddEventItemRequest) GetEventRefId ¶
func (x *AddEventItemRequest) GetEventRefId() string
func (*AddEventItemRequest) ProtoMessage ¶
func (*AddEventItemRequest) ProtoMessage()
func (*AddEventItemRequest) ProtoReflect ¶
func (x *AddEventItemRequest) ProtoReflect() protoreflect.Message
func (*AddEventItemRequest) Reset ¶
func (x *AddEventItemRequest) Reset()
func (*AddEventItemRequest) String ¶
func (x *AddEventItemRequest) String() string
type AddEventItemResponse ¶
type AddEventItemResponse struct {
EventItem *EventItem `protobuf:"bytes,1,opt,name=event_item,json=eventItem,proto3" json:"event_item,omitempty"`
// contains filtered or unexported fields
}
func (*AddEventItemResponse) Descriptor
deprecated
func (*AddEventItemResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddEventItemResponse.ProtoReflect.Descriptor instead.
func (*AddEventItemResponse) GetEventItem ¶
func (x *AddEventItemResponse) GetEventItem() *EventItem
func (*AddEventItemResponse) ProtoMessage ¶
func (*AddEventItemResponse) ProtoMessage()
func (*AddEventItemResponse) ProtoReflect ¶
func (x *AddEventItemResponse) ProtoReflect() protoreflect.Message
func (*AddEventItemResponse) Reset ¶
func (x *AddEventItemResponse) Reset()
func (*AddEventItemResponse) String ¶
func (x *AddEventItemResponse) String() string
type CreateEarmarkRequest ¶
type CreateEarmarkRequest struct {
EventItemRefId string `protobuf:"bytes,1,opt,name=event_item_ref_id,json=eventItemRefId,proto3" json:"event_item_ref_id,omitempty"`
Note string `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"`
// contains filtered or unexported fields
}
func (*CreateEarmarkRequest) Descriptor
deprecated
func (*CreateEarmarkRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEarmarkRequest.ProtoReflect.Descriptor instead.
func (*CreateEarmarkRequest) GetEventItemRefId ¶
func (x *CreateEarmarkRequest) GetEventItemRefId() string
func (*CreateEarmarkRequest) GetNote ¶
func (x *CreateEarmarkRequest) GetNote() string
func (*CreateEarmarkRequest) ProtoMessage ¶
func (*CreateEarmarkRequest) ProtoMessage()
func (*CreateEarmarkRequest) ProtoReflect ¶
func (x *CreateEarmarkRequest) ProtoReflect() protoreflect.Message
func (*CreateEarmarkRequest) Reset ¶
func (x *CreateEarmarkRequest) Reset()
func (*CreateEarmarkRequest) String ¶
func (x *CreateEarmarkRequest) String() string
type CreateEarmarkResponse ¶
type CreateEarmarkResponse struct {
Earmark *Earmark `protobuf:"bytes,1,opt,name=earmark,proto3" json:"earmark,omitempty"`
// contains filtered or unexported fields
}
func (*CreateEarmarkResponse) Descriptor
deprecated
func (*CreateEarmarkResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateEarmarkResponse.ProtoReflect.Descriptor instead.
func (*CreateEarmarkResponse) GetEarmark ¶
func (x *CreateEarmarkResponse) GetEarmark() *Earmark
func (*CreateEarmarkResponse) ProtoMessage ¶
func (*CreateEarmarkResponse) ProtoMessage()
func (*CreateEarmarkResponse) ProtoReflect ¶
func (x *CreateEarmarkResponse) ProtoReflect() protoreflect.Message
func (*CreateEarmarkResponse) Reset ¶
func (x *CreateEarmarkResponse) Reset()
func (*CreateEarmarkResponse) String ¶
func (x *CreateEarmarkResponse) String() string
type CreateEventRequest ¶
type CreateEventRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
When *TimestampTZ `protobuf:"bytes,3,opt,name=when,proto3" json:"when,omitempty"`
// contains filtered or unexported fields
}
func (*CreateEventRequest) Descriptor
deprecated
func (*CreateEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEventRequest.ProtoReflect.Descriptor instead.
func (*CreateEventRequest) GetDescription ¶
func (x *CreateEventRequest) GetDescription() string
func (*CreateEventRequest) GetName ¶
func (x *CreateEventRequest) GetName() string
func (*CreateEventRequest) GetWhen ¶
func (x *CreateEventRequest) GetWhen() *TimestampTZ
func (*CreateEventRequest) ProtoMessage ¶
func (*CreateEventRequest) ProtoMessage()
func (*CreateEventRequest) ProtoReflect ¶
func (x *CreateEventRequest) ProtoReflect() protoreflect.Message
func (*CreateEventRequest) Reset ¶
func (x *CreateEventRequest) Reset()
func (*CreateEventRequest) String ¶
func (x *CreateEventRequest) String() string
type CreateEventResponse ¶
type CreateEventResponse struct {
Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
// contains filtered or unexported fields
}
func (*CreateEventResponse) Descriptor
deprecated
func (*CreateEventResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateEventResponse.ProtoReflect.Descriptor instead.
func (*CreateEventResponse) GetEvent ¶
func (x *CreateEventResponse) GetEvent() *Event
func (*CreateEventResponse) ProtoMessage ¶
func (*CreateEventResponse) ProtoMessage()
func (*CreateEventResponse) ProtoReflect ¶
func (x *CreateEventResponse) ProtoReflect() protoreflect.Message
func (*CreateEventResponse) Reset ¶
func (x *CreateEventResponse) Reset()
func (*CreateEventResponse) String ¶
func (x *CreateEventResponse) String() string
type CreateFavoriteRequest ¶
type CreateFavoriteRequest struct {
EventRefId string `protobuf:"bytes,1,opt,name=event_ref_id,json=eventRefId,proto3" json:"event_ref_id,omitempty"` // event ref-id
// contains filtered or unexported fields
}
func (*CreateFavoriteRequest) Descriptor
deprecated
func (*CreateFavoriteRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateFavoriteRequest.ProtoReflect.Descriptor instead.
func (*CreateFavoriteRequest) GetEventRefId ¶
func (x *CreateFavoriteRequest) GetEventRefId() string
func (*CreateFavoriteRequest) ProtoMessage ¶
func (*CreateFavoriteRequest) ProtoMessage()
func (*CreateFavoriteRequest) ProtoReflect ¶
func (x *CreateFavoriteRequest) ProtoReflect() protoreflect.Message
func (*CreateFavoriteRequest) Reset ¶
func (x *CreateFavoriteRequest) Reset()
func (*CreateFavoriteRequest) String ¶
func (x *CreateFavoriteRequest) String() string
type CreateFavoriteResponse ¶
type CreateFavoriteResponse struct {
Favorite *Favorite `protobuf:"bytes,1,opt,name=favorite,proto3" json:"favorite,omitempty"`
// contains filtered or unexported fields
}
func (*CreateFavoriteResponse) Descriptor
deprecated
func (*CreateFavoriteResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateFavoriteResponse.ProtoReflect.Descriptor instead.
func (*CreateFavoriteResponse) GetFavorite ¶
func (x *CreateFavoriteResponse) GetFavorite() *Favorite
func (*CreateFavoriteResponse) ProtoMessage ¶
func (*CreateFavoriteResponse) ProtoMessage()
func (*CreateFavoriteResponse) ProtoReflect ¶
func (x *CreateFavoriteResponse) ProtoReflect() protoreflect.Message
func (*CreateFavoriteResponse) Reset ¶
func (x *CreateFavoriteResponse) Reset()
func (*CreateFavoriteResponse) String ¶
func (x *CreateFavoriteResponse) String() string
type DeleteEventRequest ¶
type DeleteEventRequest struct {
RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteEventRequest) Descriptor
deprecated
func (*DeleteEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEventRequest.ProtoReflect.Descriptor instead.
func (*DeleteEventRequest) GetRefId ¶
func (x *DeleteEventRequest) GetRefId() string
func (*DeleteEventRequest) ProtoMessage ¶
func (*DeleteEventRequest) ProtoMessage()
func (*DeleteEventRequest) ProtoReflect ¶
func (x *DeleteEventRequest) ProtoReflect() protoreflect.Message
func (*DeleteEventRequest) Reset ¶
func (x *DeleteEventRequest) Reset()
func (*DeleteEventRequest) String ¶
func (x *DeleteEventRequest) String() string
type DeleteNotificationRequest ¶
type DeleteNotificationRequest struct {
RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteNotificationRequest) Descriptor
deprecated
func (*DeleteNotificationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNotificationRequest.ProtoReflect.Descriptor instead.
func (*DeleteNotificationRequest) GetRefId ¶
func (x *DeleteNotificationRequest) GetRefId() string
func (*DeleteNotificationRequest) ProtoMessage ¶
func (*DeleteNotificationRequest) ProtoMessage()
func (*DeleteNotificationRequest) ProtoReflect ¶
func (x *DeleteNotificationRequest) ProtoReflect() protoreflect.Message
func (*DeleteNotificationRequest) Reset ¶
func (x *DeleteNotificationRequest) Reset()
func (*DeleteNotificationRequest) String ¶
func (x *DeleteNotificationRequest) String() string
type Earmark ¶
type Earmark struct {
RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
EventItemRefId string `protobuf:"bytes,2,opt,name=event_item_ref_id,json=eventItemRefId,proto3" json:"event_item_ref_id,omitempty"`
Note string `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
Owner string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
Created *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created,proto3" json:"created,omitempty"`
// contains filtered or unexported fields
}
func (*Earmark) Descriptor
deprecated
func (*Earmark) GetCreated ¶
func (x *Earmark) GetCreated() *timestamppb.Timestamp
func (*Earmark) GetEventItemRefId ¶
func (*Earmark) ProtoMessage ¶
func (*Earmark) ProtoMessage()
func (*Earmark) ProtoReflect ¶
func (x *Earmark) ProtoReflect() protoreflect.Message
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type Event ¶
type Event struct {
RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
When *TimestampTZ `protobuf:"bytes,4,opt,name=when,proto3" json:"when,omitempty"`
Archived bool `protobuf:"varint,5,opt,name=archived,proto3" json:"archived,omitempty"`
Created *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created,proto3" json:"created,omitempty"`
// contains filtered or unexported fields
}
func (*Event) Descriptor
deprecated
func (*Event) GetArchived ¶
func (*Event) GetCreated ¶
func (x *Event) GetCreated() *timestamppb.Timestamp
func (*Event) GetDescription ¶
func (*Event) GetWhen ¶
func (x *Event) GetWhen() *TimestampTZ
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type EventItem ¶
type EventItem struct {
RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
Created *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"`
// contains filtered or unexported fields
}
func (*EventItem) Descriptor
deprecated
func (*EventItem) GetCreated ¶
func (x *EventItem) GetCreated() *timestamppb.Timestamp
func (*EventItem) GetDescription ¶
func (*EventItem) ProtoMessage ¶
func (*EventItem) ProtoMessage()
func (*EventItem) ProtoReflect ¶
func (x *EventItem) ProtoReflect() protoreflect.Message
type Favorite ¶
type Favorite struct {
EventRefId string `protobuf:"bytes,1,opt,name=event_ref_id,json=eventRefId,proto3" json:"event_ref_id,omitempty"` // event ref-id
Created *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"`
// contains filtered or unexported fields
}
func (*Favorite) Descriptor
deprecated
func (*Favorite) GetCreated ¶
func (x *Favorite) GetCreated() *timestamppb.Timestamp
func (*Favorite) GetEventRefId ¶
func (*Favorite) ProtoMessage ¶
func (*Favorite) ProtoMessage()
func (*Favorite) ProtoReflect ¶
func (x *Favorite) ProtoReflect() protoreflect.Message
type GetEarmarkDetailsRequest ¶
type GetEarmarkDetailsRequest struct {
RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetEarmarkDetailsRequest) Descriptor
deprecated
func (*GetEarmarkDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEarmarkDetailsRequest.ProtoReflect.Descriptor instead.
func (*GetEarmarkDetailsRequest) GetRefId ¶
func (x *GetEarmarkDetailsRequest) GetRefId() string
func (*GetEarmarkDetailsRequest) ProtoMessage ¶
func (*GetEarmarkDetailsRequest) ProtoMessage()
func (*GetEarmarkDetailsRequest) ProtoReflect ¶
func (x *GetEarmarkDetailsRequest) ProtoReflect() protoreflect.Message
func (*GetEarmarkDetailsRequest) Reset ¶
func (x *GetEarmarkDetailsRequest) Reset()
func (*GetEarmarkDetailsRequest) String ¶
func (x *GetEarmarkDetailsRequest) String() string
type GetEarmarkDetailsResponse ¶
type GetEarmarkDetailsResponse struct {
Earmark *Earmark `protobuf:"bytes,1,opt,name=earmark,proto3" json:"earmark,omitempty"`
EventRefId string `protobuf:"bytes,2,opt,name=event_ref_id,json=eventRefId,proto3" json:"event_ref_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetEarmarkDetailsResponse) Descriptor
deprecated
func (*GetEarmarkDetailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEarmarkDetailsResponse.ProtoReflect.Descriptor instead.
func (*GetEarmarkDetailsResponse) GetEarmark ¶
func (x *GetEarmarkDetailsResponse) GetEarmark() *Earmark
func (*GetEarmarkDetailsResponse) GetEventRefId ¶
func (x *GetEarmarkDetailsResponse) GetEventRefId() string
func (*GetEarmarkDetailsResponse) ProtoMessage ¶
func (*GetEarmarkDetailsResponse) ProtoMessage()
func (*GetEarmarkDetailsResponse) ProtoReflect ¶
func (x *GetEarmarkDetailsResponse) ProtoReflect() protoreflect.Message
func (*GetEarmarkDetailsResponse) Reset ¶
func (x *GetEarmarkDetailsResponse) Reset()
func (*GetEarmarkDetailsResponse) String ¶
func (x *GetEarmarkDetailsResponse) String() string
type GetEventDetailsRequest ¶
type GetEventDetailsRequest struct {
RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetEventDetailsRequest) Descriptor
deprecated
func (*GetEventDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEventDetailsRequest.ProtoReflect.Descriptor instead.
func (*GetEventDetailsRequest) GetRefId ¶
func (x *GetEventDetailsRequest) GetRefId() string
func (*GetEventDetailsRequest) ProtoMessage ¶
func (*GetEventDetailsRequest) ProtoMessage()
func (*GetEventDetailsRequest) ProtoReflect ¶
func (x *GetEventDetailsRequest) ProtoReflect() protoreflect.Message
func (*GetEventDetailsRequest) Reset ¶
func (x *GetEventDetailsRequest) Reset()
func (*GetEventDetailsRequest) String ¶
func (x *GetEventDetailsRequest) String() string
type GetEventDetailsResponse ¶
type GetEventDetailsResponse struct {
Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
Items []*EventItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
Earmarks []*Earmark `protobuf:"bytes,3,rep,name=earmarks,proto3" json:"earmarks,omitempty"`
// contains filtered or unexported fields
}
func (*GetEventDetailsResponse) Descriptor
deprecated
func (*GetEventDetailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEventDetailsResponse.ProtoReflect.Descriptor instead.
func (*GetEventDetailsResponse) GetEarmarks ¶
func (x *GetEventDetailsResponse) GetEarmarks() []*Earmark
func (*GetEventDetailsResponse) GetEvent ¶
func (x *GetEventDetailsResponse) GetEvent() *Event
func (*GetEventDetailsResponse) GetItems ¶
func (x *GetEventDetailsResponse) GetItems() []*EventItem
func (*GetEventDetailsResponse) ProtoMessage ¶
func (*GetEventDetailsResponse) ProtoMessage()
func (*GetEventDetailsResponse) ProtoReflect ¶
func (x *GetEventDetailsResponse) ProtoReflect() protoreflect.Message
func (*GetEventDetailsResponse) Reset ¶
func (x *GetEventDetailsResponse) Reset()
func (*GetEventDetailsResponse) String ¶
func (x *GetEventDetailsResponse) String() string
type HTTPClient ¶
HTTPClient is the interface used by generated clients to send HTTP requests. It is fulfilled by *(net/http).Client, which is sufficient for most users. Users can provide their own implementation for special retry policies.
HTTPClient implementations should not follow redirects. Redirects are automatically disabled if *(net/http).Client is passed to client constructors. See the withoutRedirects function in this file for more details.
type ListEarmarksRequest ¶
type ListEarmarksRequest struct {
Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
Archived *bool `protobuf:"varint,2,opt,name=archived,proto3,oneof" json:"archived,omitempty"`
// contains filtered or unexported fields
}
func (*ListEarmarksRequest) Descriptor
deprecated
func (*ListEarmarksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEarmarksRequest.ProtoReflect.Descriptor instead.
func (*ListEarmarksRequest) GetArchived ¶
func (x *ListEarmarksRequest) GetArchived() bool
func (*ListEarmarksRequest) GetPagination ¶
func (x *ListEarmarksRequest) GetPagination() *PaginationRequest
func (*ListEarmarksRequest) ProtoMessage ¶
func (*ListEarmarksRequest) ProtoMessage()
func (*ListEarmarksRequest) ProtoReflect ¶
func (x *ListEarmarksRequest) ProtoReflect() protoreflect.Message
func (*ListEarmarksRequest) Reset ¶
func (x *ListEarmarksRequest) Reset()
func (*ListEarmarksRequest) String ¶
func (x *ListEarmarksRequest) String() string
type ListEarmarksResponse ¶
type ListEarmarksResponse struct {
Earmarks []*Earmark `protobuf:"bytes,1,rep,name=earmarks,proto3" json:"earmarks,omitempty"`
Pagination *PaginationResult `protobuf:"bytes,2,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*ListEarmarksResponse) Descriptor
deprecated
func (*ListEarmarksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEarmarksResponse.ProtoReflect.Descriptor instead.
func (*ListEarmarksResponse) GetEarmarks ¶
func (x *ListEarmarksResponse) GetEarmarks() []*Earmark
func (*ListEarmarksResponse) GetPagination ¶
func (x *ListEarmarksResponse) GetPagination() *PaginationResult
func (*ListEarmarksResponse) ProtoMessage ¶
func (*ListEarmarksResponse) ProtoMessage()
func (*ListEarmarksResponse) ProtoReflect ¶
func (x *ListEarmarksResponse) ProtoReflect() protoreflect.Message
func (*ListEarmarksResponse) Reset ¶
func (x *ListEarmarksResponse) Reset()
func (*ListEarmarksResponse) String ¶
func (x *ListEarmarksResponse) String() string
type ListEventEarmarksRequest ¶
type ListEventEarmarksRequest struct {
RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"` // event ref-id
// contains filtered or unexported fields
}
func (*ListEventEarmarksRequest) Descriptor
deprecated
func (*ListEventEarmarksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEventEarmarksRequest.ProtoReflect.Descriptor instead.
func (*ListEventEarmarksRequest) GetRefId ¶
func (x *ListEventEarmarksRequest) GetRefId() string
func (*ListEventEarmarksRequest) ProtoMessage ¶
func (*ListEventEarmarksRequest) ProtoMessage()
func (*ListEventEarmarksRequest) ProtoReflect ¶
func (x *ListEventEarmarksRequest) ProtoReflect() protoreflect.Message
func (*ListEventEarmarksRequest) Reset ¶
func (x *ListEventEarmarksRequest) Reset()
func (*ListEventEarmarksRequest) String ¶
func (x *ListEventEarmarksRequest) String() string
type ListEventEarmarksResponse ¶
type ListEventEarmarksResponse struct {
Earmarks []*Earmark `protobuf:"bytes,1,rep,name=earmarks,proto3" json:"earmarks,omitempty"`
Pagination *PaginationResult `protobuf:"bytes,2,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*ListEventEarmarksResponse) Descriptor
deprecated
func (*ListEventEarmarksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEventEarmarksResponse.ProtoReflect.Descriptor instead.
func (*ListEventEarmarksResponse) GetEarmarks ¶
func (x *ListEventEarmarksResponse) GetEarmarks() []*Earmark
func (*ListEventEarmarksResponse) GetPagination ¶
func (x *ListEventEarmarksResponse) GetPagination() *PaginationResult
func (*ListEventEarmarksResponse) ProtoMessage ¶
func (*ListEventEarmarksResponse) ProtoMessage()
func (*ListEventEarmarksResponse) ProtoReflect ¶
func (x *ListEventEarmarksResponse) ProtoReflect() protoreflect.Message
func (*ListEventEarmarksResponse) Reset ¶
func (x *ListEventEarmarksResponse) Reset()
func (*ListEventEarmarksResponse) String ¶
func (x *ListEventEarmarksResponse) String() string
type ListEventItemsRequest ¶
type ListEventItemsRequest struct {
RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"` // event ref-id
// contains filtered or unexported fields
}
func (*ListEventItemsRequest) Descriptor
deprecated
func (*ListEventItemsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEventItemsRequest.ProtoReflect.Descriptor instead.
func (*ListEventItemsRequest) GetRefId ¶
func (x *ListEventItemsRequest) GetRefId() string
func (*ListEventItemsRequest) ProtoMessage ¶
func (*ListEventItemsRequest) ProtoMessage()
func (*ListEventItemsRequest) ProtoReflect ¶
func (x *ListEventItemsRequest) ProtoReflect() protoreflect.Message
func (*ListEventItemsRequest) Reset ¶
func (x *ListEventItemsRequest) Reset()
func (*ListEventItemsRequest) String ¶
func (x *ListEventItemsRequest) String() string
type ListEventItemsResponse ¶
type ListEventItemsResponse struct {
Items []*EventItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
Pagination *PaginationResult `protobuf:"bytes,2,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*ListEventItemsResponse) Descriptor
deprecated
func (*ListEventItemsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEventItemsResponse.ProtoReflect.Descriptor instead.
func (*ListEventItemsResponse) GetItems ¶
func (x *ListEventItemsResponse) GetItems() []*EventItem
func (*ListEventItemsResponse) GetPagination ¶
func (x *ListEventItemsResponse) GetPagination() *PaginationResult
func (*ListEventItemsResponse) ProtoMessage ¶
func (*ListEventItemsResponse) ProtoMessage()
func (*ListEventItemsResponse) ProtoReflect ¶
func (x *ListEventItemsResponse) ProtoReflect() protoreflect.Message
func (*ListEventItemsResponse) Reset ¶
func (x *ListEventItemsResponse) Reset()
func (*ListEventItemsResponse) String ¶
func (x *ListEventItemsResponse) String() string
type ListEventsRequest ¶
type ListEventsRequest struct {
Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
Archived *bool `protobuf:"varint,2,opt,name=archived,proto3,oneof" json:"archived,omitempty"`
// contains filtered or unexported fields
}
func (*ListEventsRequest) Descriptor
deprecated
func (*ListEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEventsRequest.ProtoReflect.Descriptor instead.
func (*ListEventsRequest) GetArchived ¶
func (x *ListEventsRequest) GetArchived() bool
func (*ListEventsRequest) GetPagination ¶
func (x *ListEventsRequest) GetPagination() *PaginationRequest
func (*ListEventsRequest) ProtoMessage ¶
func (*ListEventsRequest) ProtoMessage()
func (*ListEventsRequest) ProtoReflect ¶
func (x *ListEventsRequest) ProtoReflect() protoreflect.Message
func (*ListEventsRequest) Reset ¶
func (x *ListEventsRequest) Reset()
func (*ListEventsRequest) String ¶
func (x *ListEventsRequest) String() string
type ListEventsResponse ¶
type ListEventsResponse struct {
Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
Pagination *PaginationResult `protobuf:"bytes,2,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*ListEventsResponse) Descriptor
deprecated
func (*ListEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEventsResponse.ProtoReflect.Descriptor instead.
func (*ListEventsResponse) GetEvents ¶
func (x *ListEventsResponse) GetEvents() []*Event
func (*ListEventsResponse) GetPagination ¶
func (x *ListEventsResponse) GetPagination() *PaginationResult
func (*ListEventsResponse) ProtoMessage ¶
func (*ListEventsResponse) ProtoMessage()
func (*ListEventsResponse) ProtoReflect ¶
func (x *ListEventsResponse) ProtoReflect() protoreflect.Message
func (*ListEventsResponse) Reset ¶
func (x *ListEventsResponse) Reset()
func (*ListEventsResponse) String ¶
func (x *ListEventsResponse) String() string
type ListFavoriteEventsRequest ¶
type ListFavoriteEventsRequest struct {
Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
Archived *bool `protobuf:"varint,2,opt,name=archived,proto3,oneof" json:"archived,omitempty"`
// contains filtered or unexported fields
}
func (*ListFavoriteEventsRequest) Descriptor
deprecated
func (*ListFavoriteEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFavoriteEventsRequest.ProtoReflect.Descriptor instead.
func (*ListFavoriteEventsRequest) GetArchived ¶
func (x *ListFavoriteEventsRequest) GetArchived() bool
func (*ListFavoriteEventsRequest) GetPagination ¶
func (x *ListFavoriteEventsRequest) GetPagination() *PaginationRequest
func (*ListFavoriteEventsRequest) ProtoMessage ¶
func (*ListFavoriteEventsRequest) ProtoMessage()
func (*ListFavoriteEventsRequest) ProtoReflect ¶
func (x *ListFavoriteEventsRequest) ProtoReflect() protoreflect.Message
func (*ListFavoriteEventsRequest) Reset ¶
func (x *ListFavoriteEventsRequest) Reset()
func (*ListFavoriteEventsRequest) String ¶
func (x *ListFavoriteEventsRequest) String() string
type ListFavoriteEventsResponse ¶
type ListFavoriteEventsResponse struct {
Events []*Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
Pagination *PaginationResult `protobuf:"bytes,2,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*ListFavoriteEventsResponse) Descriptor
deprecated
func (*ListFavoriteEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFavoriteEventsResponse.ProtoReflect.Descriptor instead.
func (*ListFavoriteEventsResponse) GetEvents ¶
func (x *ListFavoriteEventsResponse) GetEvents() []*Event
func (*ListFavoriteEventsResponse) GetPagination ¶
func (x *ListFavoriteEventsResponse) GetPagination() *PaginationResult
func (*ListFavoriteEventsResponse) ProtoMessage ¶
func (*ListFavoriteEventsResponse) ProtoMessage()
func (*ListFavoriteEventsResponse) ProtoReflect ¶
func (x *ListFavoriteEventsResponse) ProtoReflect() protoreflect.Message
func (*ListFavoriteEventsResponse) Reset ¶
func (x *ListFavoriteEventsResponse) Reset()
func (*ListFavoriteEventsResponse) String ¶
func (x *ListFavoriteEventsResponse) String() string
type ListNotificationsRequest ¶
type ListNotificationsRequest struct {
Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*ListNotificationsRequest) Descriptor
deprecated
func (*ListNotificationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNotificationsRequest.ProtoReflect.Descriptor instead.
func (*ListNotificationsRequest) GetPagination ¶
func (x *ListNotificationsRequest) GetPagination() *PaginationRequest
func (*ListNotificationsRequest) ProtoMessage ¶
func (*ListNotificationsRequest) ProtoMessage()
func (*ListNotificationsRequest) ProtoReflect ¶
func (x *ListNotificationsRequest) ProtoReflect() protoreflect.Message
func (*ListNotificationsRequest) Reset ¶
func (x *ListNotificationsRequest) Reset()
func (*ListNotificationsRequest) String ¶
func (x *ListNotificationsRequest) String() string
type ListNotificationsResponse ¶
type ListNotificationsResponse struct {
Notifications []*Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"`
Pagination *PaginationResult `protobuf:"bytes,2,opt,name=pagination,proto3,oneof" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*ListNotificationsResponse) Descriptor
deprecated
func (*ListNotificationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNotificationsResponse.ProtoReflect.Descriptor instead.
func (*ListNotificationsResponse) GetNotifications ¶
func (x *ListNotificationsResponse) GetNotifications() []*Notification
func (*ListNotificationsResponse) GetPagination ¶
func (x *ListNotificationsResponse) GetPagination() *PaginationResult
func (*ListNotificationsResponse) ProtoMessage ¶
func (*ListNotificationsResponse) ProtoMessage()
func (*ListNotificationsResponse) ProtoReflect ¶
func (x *ListNotificationsResponse) ProtoReflect() protoreflect.Message
func (*ListNotificationsResponse) Reset ¶
func (x *ListNotificationsResponse) Reset()
func (*ListNotificationsResponse) String ¶
func (x *ListNotificationsResponse) String() string
type Notification ¶
type Notification struct {
RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Created *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"`
// contains filtered or unexported fields
}
func (*Notification) Descriptor
deprecated
func (*Notification) Descriptor() ([]byte, []int)
Deprecated: Use Notification.ProtoReflect.Descriptor instead.
func (*Notification) GetCreated ¶
func (x *Notification) GetCreated() *timestamppb.Timestamp
func (*Notification) GetMessage ¶
func (x *Notification) GetMessage() string
func (*Notification) GetRefId ¶
func (x *Notification) GetRefId() string
func (*Notification) ProtoMessage ¶
func (*Notification) ProtoMessage()
func (*Notification) ProtoReflect ¶
func (x *Notification) ProtoReflect() protoreflect.Message
func (*Notification) Reset ¶
func (x *Notification) Reset()
func (*Notification) String ¶
func (x *Notification) String() string
type PaginationRequest ¶
type PaginationRequest struct {
Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
// contains filtered or unexported fields
}
func (*PaginationRequest) Descriptor
deprecated
func (*PaginationRequest) Descriptor() ([]byte, []int)
Deprecated: Use PaginationRequest.ProtoReflect.Descriptor instead.
func (*PaginationRequest) GetLimit ¶
func (x *PaginationRequest) GetLimit() uint32
func (*PaginationRequest) GetOffset ¶
func (x *PaginationRequest) GetOffset() uint32
func (*PaginationRequest) ProtoMessage ¶
func (*PaginationRequest) ProtoMessage()
func (*PaginationRequest) ProtoReflect ¶
func (x *PaginationRequest) ProtoReflect() protoreflect.Message
func (*PaginationRequest) Reset ¶
func (x *PaginationRequest) Reset()
func (*PaginationRequest) String ¶
func (x *PaginationRequest) String() string
type PaginationResult ¶
type PaginationResult struct {
Limit uint32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}
func (*PaginationResult) Descriptor
deprecated
func (*PaginationResult) Descriptor() ([]byte, []int)
Deprecated: Use PaginationResult.ProtoReflect.Descriptor instead.
func (*PaginationResult) GetCount ¶
func (x *PaginationResult) GetCount() uint32
func (*PaginationResult) GetLimit ¶
func (x *PaginationResult) GetLimit() uint32
func (*PaginationResult) GetOffset ¶
func (x *PaginationResult) GetOffset() uint32
func (*PaginationResult) ProtoMessage ¶
func (*PaginationResult) ProtoMessage()
func (*PaginationResult) ProtoReflect ¶
func (x *PaginationResult) ProtoReflect() protoreflect.Message
func (*PaginationResult) Reset ¶
func (x *PaginationResult) Reset()
func (*PaginationResult) String ¶
func (x *PaginationResult) String() string
type RemoveEarmarkRequest ¶
type RemoveEarmarkRequest struct {
RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveEarmarkRequest) Descriptor
deprecated
func (*RemoveEarmarkRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveEarmarkRequest.ProtoReflect.Descriptor instead.
func (*RemoveEarmarkRequest) GetRefId ¶
func (x *RemoveEarmarkRequest) GetRefId() string
func (*RemoveEarmarkRequest) ProtoMessage ¶
func (*RemoveEarmarkRequest) ProtoMessage()
func (*RemoveEarmarkRequest) ProtoReflect ¶
func (x *RemoveEarmarkRequest) ProtoReflect() protoreflect.Message
func (*RemoveEarmarkRequest) Reset ¶
func (x *RemoveEarmarkRequest) Reset()
func (*RemoveEarmarkRequest) String ¶
func (x *RemoveEarmarkRequest) String() string
type RemoveEventItemRequest ¶
type RemoveEventItemRequest struct {
RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
// contains filtered or unexported fields
}
func (*RemoveEventItemRequest) Descriptor
deprecated
func (*RemoveEventItemRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveEventItemRequest.ProtoReflect.Descriptor instead.
func (*RemoveEventItemRequest) GetRefId ¶
func (x *RemoveEventItemRequest) GetRefId() string
func (*RemoveEventItemRequest) ProtoMessage ¶
func (*RemoveEventItemRequest) ProtoMessage()
func (*RemoveEventItemRequest) ProtoReflect ¶
func (x *RemoveEventItemRequest) ProtoReflect() protoreflect.Message
func (*RemoveEventItemRequest) Reset ¶
func (x *RemoveEventItemRequest) Reset()
func (*RemoveEventItemRequest) String ¶
func (x *RemoveEventItemRequest) String() string
type RemoveFavoriteRequest ¶
type RemoveFavoriteRequest struct {
EventRefId string `protobuf:"bytes,1,opt,name=event_ref_id,json=eventRefId,proto3" json:"event_ref_id,omitempty"` // event ref-id
// contains filtered or unexported fields
}
func (*RemoveFavoriteRequest) Descriptor
deprecated
func (*RemoveFavoriteRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveFavoriteRequest.ProtoReflect.Descriptor instead.
func (*RemoveFavoriteRequest) GetEventRefId ¶
func (x *RemoveFavoriteRequest) GetEventRefId() string
func (*RemoveFavoriteRequest) ProtoMessage ¶
func (*RemoveFavoriteRequest) ProtoMessage()
func (*RemoveFavoriteRequest) ProtoReflect ¶
func (x *RemoveFavoriteRequest) ProtoReflect() protoreflect.Message
func (*RemoveFavoriteRequest) Reset ¶
func (x *RemoveFavoriteRequest) Reset()
func (*RemoveFavoriteRequest) String ¶
func (x *RemoveFavoriteRequest) String() string
type Rpc ¶
type Rpc interface {
// events
CreateEvent(context.Context, *CreateEventRequest) (*CreateEventResponse, error)
UpdateEvent(context.Context, *UpdateEventRequest) (*Empty, error)
DeleteEvent(context.Context, *DeleteEventRequest) (*Empty, error)
ListEvents(context.Context, *ListEventsRequest) (*ListEventsResponse, error)
GetEventDetails(context.Context, *GetEventDetailsRequest) (*GetEventDetailsResponse, error)
ListEventItems(context.Context, *ListEventItemsRequest) (*ListEventItemsResponse, error)
ListEventEarmarks(context.Context, *ListEventEarmarksRequest) (*ListEventEarmarksResponse, error)
// event-items
AddEventItem(context.Context, *AddEventItemRequest) (*AddEventItemResponse, error)
UpdateEventItem(context.Context, *UpdateEventItemRequest) (*UpdateEventItemResponse, error)
RemoveEventItem(context.Context, *RemoveEventItemRequest) (*Empty, error)
// earmarks
CreateEarmark(context.Context, *CreateEarmarkRequest) (*CreateEarmarkResponse, error)
GetEarmarkDetails(context.Context, *GetEarmarkDetailsRequest) (*GetEarmarkDetailsResponse, error)
RemoveEarmark(context.Context, *RemoveEarmarkRequest) (*Empty, error)
ListEarmarks(context.Context, *ListEarmarksRequest) (*ListEarmarksResponse, error)
// favorites
AddFavorite(context.Context, *CreateFavoriteRequest) (*CreateFavoriteResponse, error)
RemoveFavorite(context.Context, *RemoveFavoriteRequest) (*Empty, error)
ListFavoriteEvents(context.Context, *ListFavoriteEventsRequest) (*ListFavoriteEventsResponse, error)
// notifications
DeleteNotification(context.Context, *DeleteNotificationRequest) (*Empty, error)
DeleteAllNotifications(context.Context, *Empty) (*Empty, error)
ListNotifications(context.Context, *ListNotificationsRequest) (*ListNotificationsResponse, error)
}
func NewRpcJSONClient ¶
func NewRpcJSONClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) Rpc
NewRpcJSONClient creates a JSON client that implements the Rpc interface. It communicates using JSON and can be configured with a custom HTTPClient.
func NewRpcProtobufClient ¶
func NewRpcProtobufClient(baseURL string, client HTTPClient, opts ...twirp.ClientOption) Rpc
NewRpcProtobufClient creates a Protobuf client that implements the Rpc interface. It communicates using Protobuf and can be configured with a custom HTTPClient.
type TimestampTZ ¶
type TimestampTZ struct {
Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` // timestamp
Tz string `protobuf:"bytes,2,opt,name=tz,proto3" json:"tz,omitempty"` // timezone
// contains filtered or unexported fields
}
func (*TimestampTZ) Descriptor
deprecated
func (*TimestampTZ) Descriptor() ([]byte, []int)
Deprecated: Use TimestampTZ.ProtoReflect.Descriptor instead.
func (*TimestampTZ) GetTs ¶
func (x *TimestampTZ) GetTs() *timestamppb.Timestamp
func (*TimestampTZ) GetTz ¶
func (x *TimestampTZ) GetTz() string
func (*TimestampTZ) ProtoMessage ¶
func (*TimestampTZ) ProtoMessage()
func (*TimestampTZ) ProtoReflect ¶
func (x *TimestampTZ) ProtoReflect() protoreflect.Message
func (*TimestampTZ) Reset ¶
func (x *TimestampTZ) Reset()
func (*TimestampTZ) String ¶
func (x *TimestampTZ) String() string
type TwirpServer ¶
type TwirpServer interface {
http.Handler
// ServiceDescriptor returns gzipped bytes describing the .proto file that
// this service was generated from. Once unzipped, the bytes can be
// unmarshalled as a
// google.golang.org/protobuf/types/descriptorpb.FileDescriptorProto.
//
// The returned integer is the index of this particular service within that
// FileDescriptorProto's 'Service' slice of ServiceDescriptorProtos. This is a
// low-level field, expected to be used for reflection.
ServiceDescriptor() ([]byte, int)
// ProtocGenTwirpVersion is the semantic version string of the version of
// twirp used to generate this file.
ProtocGenTwirpVersion() string
// PathPrefix returns the HTTP URL path prefix for all methods handled by this
// service. This can be used with an HTTP mux to route Twirp requests.
// The path prefix is in the form: "/<prefix>/<package>.<Service>/"
// that is, everything in a Twirp route except for the <Method> at the end.
PathPrefix() string
}
TwirpServer is the interface generated server structs will support: they're HTTP handlers with additional methods for accessing metadata about the service. Those accessors are a low-level API for building reflection tools. Most people can think of TwirpServers as just http.Handlers.
func NewRpcServer ¶
func NewRpcServer(svc Rpc, opts ...interface{}) TwirpServer
NewRpcServer builds a TwirpServer that can be used as an http.Handler to handle HTTP requests that are routed to the right method in the provided svc implementation. The opts are twirp.ServerOption modifiers, for example twirp.WithServerHooks(hooks).
type UpdateEventItemRequest ¶
type UpdateEventItemRequest struct {
RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateEventItemRequest) Descriptor
deprecated
func (*UpdateEventItemRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEventItemRequest.ProtoReflect.Descriptor instead.
func (*UpdateEventItemRequest) GetDescription ¶
func (x *UpdateEventItemRequest) GetDescription() string
func (*UpdateEventItemRequest) GetRefId ¶
func (x *UpdateEventItemRequest) GetRefId() string
func (*UpdateEventItemRequest) ProtoMessage ¶
func (*UpdateEventItemRequest) ProtoMessage()
func (*UpdateEventItemRequest) ProtoReflect ¶
func (x *UpdateEventItemRequest) ProtoReflect() protoreflect.Message
func (*UpdateEventItemRequest) Reset ¶
func (x *UpdateEventItemRequest) Reset()
func (*UpdateEventItemRequest) String ¶
func (x *UpdateEventItemRequest) String() string
type UpdateEventItemResponse ¶
type UpdateEventItemResponse struct {
EventItem *EventItem `protobuf:"bytes,1,opt,name=event_item,json=eventItem,proto3" json:"event_item,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateEventItemResponse) Descriptor
deprecated
func (*UpdateEventItemResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEventItemResponse.ProtoReflect.Descriptor instead.
func (*UpdateEventItemResponse) GetEventItem ¶
func (x *UpdateEventItemResponse) GetEventItem() *EventItem
func (*UpdateEventItemResponse) ProtoMessage ¶
func (*UpdateEventItemResponse) ProtoMessage()
func (*UpdateEventItemResponse) ProtoReflect ¶
func (x *UpdateEventItemResponse) ProtoReflect() protoreflect.Message
func (*UpdateEventItemResponse) Reset ¶
func (x *UpdateEventItemResponse) Reset()
func (*UpdateEventItemResponse) String ¶
func (x *UpdateEventItemResponse) String() string
type UpdateEventRequest ¶
type UpdateEventRequest struct {
RefId string `protobuf:"bytes,1,opt,name=ref_id,json=refId,proto3" json:"ref_id,omitempty"`
Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
When *TimestampTZ `protobuf:"bytes,4,opt,name=when,proto3,oneof" json:"when,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateEventRequest) Descriptor
deprecated
func (*UpdateEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEventRequest.ProtoReflect.Descriptor instead.
func (*UpdateEventRequest) GetDescription ¶
func (x *UpdateEventRequest) GetDescription() string
func (*UpdateEventRequest) GetName ¶
func (x *UpdateEventRequest) GetName() string
func (*UpdateEventRequest) GetRefId ¶
func (x *UpdateEventRequest) GetRefId() string
func (*UpdateEventRequest) GetWhen ¶
func (x *UpdateEventRequest) GetWhen() *TimestampTZ
func (*UpdateEventRequest) ProtoMessage ¶
func (*UpdateEventRequest) ProtoMessage()
func (*UpdateEventRequest) ProtoReflect ¶
func (x *UpdateEventRequest) ProtoReflect() protoreflect.Message
func (*UpdateEventRequest) Reset ¶
func (x *UpdateEventRequest) Reset()
func (*UpdateEventRequest) String ¶
func (x *UpdateEventRequest) String() string