Documentation ¶
Index ¶
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetEventName() EventName
- func (x *Event) GetId() string
- func (m *Event) GetPayload() isEvent_Payload
- func (x *Event) GetProjectCreatedEvent() *ProjectCreatedEvent
- func (x *Event) GetTaskCreatedEvent() *TaskCreatedEvent
- func (x *Event) GetTime() *timestamppb.Timestamp
- func (x *Event) GetTracerCarrier() map[string]string
- func (x *Event) GetUserCreatedEvent() *UserCreatedEvent
- func (x *Event) GetWriteKeyGeneratedEvent() *WriteKeyGeneratedEvent
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventName
- type Event_ProjectCreatedEvent
- type Event_TaskCreatedEvent
- type Event_UserCreatedEvent
- type Event_WriteKeyGeneratedEvent
- type ProjectCreatedEvent
- func (*ProjectCreatedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectCreatedEvent) GetProject() *project.Project
- func (*ProjectCreatedEvent) ProtoMessage()
- func (x *ProjectCreatedEvent) ProtoReflect() protoreflect.Message
- func (x *ProjectCreatedEvent) Reset()
- func (x *ProjectCreatedEvent) String() string
- type TaskCreatedEvent
- type UserCreatedEvent
- func (*UserCreatedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *UserCreatedEvent) GetCreatedAt() *timestamppb.Timestamp
- func (x *UserCreatedEvent) GetUserId() string
- func (*UserCreatedEvent) ProtoMessage()
- func (x *UserCreatedEvent) ProtoReflect() protoreflect.Message
- func (x *UserCreatedEvent) Reset()
- func (x *UserCreatedEvent) String() string
- type WriteKeyGeneratedEvent
- func (*WriteKeyGeneratedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *WriteKeyGeneratedEvent) GetProject() *project.Project
- func (*WriteKeyGeneratedEvent) ProtoMessage()
- func (x *WriteKeyGeneratedEvent) ProtoReflect() protoreflect.Message
- func (x *WriteKeyGeneratedEvent) Reset()
- func (x *WriteKeyGeneratedEvent) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EventName_name = map[int32]string{ 0: "EVENT_NAME_USER_CREATED", 1: "EVENT_NAME_PROJECT_CREATED", 2: "EVENT_NAME_WRITE_KEY_GENERATED", 3: "EVENT_NAME_TASK_CREATED", } EventName_value = map[string]int32{ "EVENT_NAME_USER_CREATED": 0, "EVENT_NAME_PROJECT_CREATED": 1, "EVENT_NAME_WRITE_KEY_GENERATED": 2, "EVENT_NAME_TASK_CREATED": 3, } )
Enum value maps for EventName.
View Source
var File_internalevent_internalevent_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` EventName EventName `protobuf:"varint,2,opt,name=event_name,json=eventName,proto3,enum=internalevent.EventName" json:"event_name,omitempty"` Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"` TracerCarrier map[string]string `` /* 188-byte string literal not displayed */ // Types that are assignable to Payload: // // *Event_UserCreatedEvent // *Event_ProjectCreatedEvent // *Event_WriteKeyGeneratedEvent // *Event_TaskCreatedEvent Payload isEvent_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetEventName ¶
func (*Event) GetPayload ¶
func (m *Event) GetPayload() isEvent_Payload
func (*Event) GetProjectCreatedEvent ¶
func (x *Event) GetProjectCreatedEvent() *ProjectCreatedEvent
func (*Event) GetTaskCreatedEvent ¶
func (x *Event) GetTaskCreatedEvent() *TaskCreatedEvent
func (*Event) GetTime ¶
func (x *Event) GetTime() *timestamppb.Timestamp
func (*Event) GetTracerCarrier ¶
func (*Event) GetUserCreatedEvent ¶
func (x *Event) GetUserCreatedEvent() *UserCreatedEvent
func (*Event) GetWriteKeyGeneratedEvent ¶
func (x *Event) GetWriteKeyGeneratedEvent() *WriteKeyGeneratedEvent
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type EventName ¶
type EventName int32
func (EventName) Descriptor ¶
func (EventName) Descriptor() protoreflect.EnumDescriptor
func (EventName) EnumDescriptor
deprecated
func (EventName) Number ¶
func (x EventName) Number() protoreflect.EnumNumber
func (EventName) Type ¶
func (EventName) Type() protoreflect.EnumType
type Event_ProjectCreatedEvent ¶
type Event_ProjectCreatedEvent struct {
ProjectCreatedEvent *ProjectCreatedEvent `protobuf:"bytes,101,opt,name=project_created_event,json=projectCreatedEvent,proto3,oneof"`
}
type Event_TaskCreatedEvent ¶
type Event_TaskCreatedEvent struct {
TaskCreatedEvent *TaskCreatedEvent `protobuf:"bytes,103,opt,name=task_created_event,json=taskCreatedEvent,proto3,oneof"`
}
type Event_UserCreatedEvent ¶
type Event_UserCreatedEvent struct {
UserCreatedEvent *UserCreatedEvent `protobuf:"bytes,100,opt,name=user_created_event,json=userCreatedEvent,proto3,oneof"`
}
type Event_WriteKeyGeneratedEvent ¶
type Event_WriteKeyGeneratedEvent struct {
WriteKeyGeneratedEvent *WriteKeyGeneratedEvent `protobuf:"bytes,102,opt,name=write_key_generated_event,json=writeKeyGeneratedEvent,proto3,oneof"`
}
type ProjectCreatedEvent ¶
type ProjectCreatedEvent struct { Project *project.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*ProjectCreatedEvent) Descriptor
deprecated
func (*ProjectCreatedEvent) Descriptor() ([]byte, []int)
Deprecated: Use ProjectCreatedEvent.ProtoReflect.Descriptor instead.
func (*ProjectCreatedEvent) GetProject ¶
func (x *ProjectCreatedEvent) GetProject() *project.Project
func (*ProjectCreatedEvent) ProtoMessage ¶
func (*ProjectCreatedEvent) ProtoMessage()
func (*ProjectCreatedEvent) ProtoReflect ¶
func (x *ProjectCreatedEvent) ProtoReflect() protoreflect.Message
func (*ProjectCreatedEvent) Reset ¶
func (x *ProjectCreatedEvent) Reset()
func (*ProjectCreatedEvent) String ¶
func (x *ProjectCreatedEvent) String() string
type TaskCreatedEvent ¶
type TaskCreatedEvent struct { Task *task.Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` // contains filtered or unexported fields }
func (*TaskCreatedEvent) Descriptor
deprecated
func (*TaskCreatedEvent) Descriptor() ([]byte, []int)
Deprecated: Use TaskCreatedEvent.ProtoReflect.Descriptor instead.
func (*TaskCreatedEvent) GetTask ¶
func (x *TaskCreatedEvent) GetTask() *task.Task
func (*TaskCreatedEvent) ProtoMessage ¶
func (*TaskCreatedEvent) ProtoMessage()
func (*TaskCreatedEvent) ProtoReflect ¶
func (x *TaskCreatedEvent) ProtoReflect() protoreflect.Message
func (*TaskCreatedEvent) Reset ¶
func (x *TaskCreatedEvent) Reset()
func (*TaskCreatedEvent) String ¶
func (x *TaskCreatedEvent) String() string
type UserCreatedEvent ¶
type UserCreatedEvent struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*UserCreatedEvent) Descriptor
deprecated
func (*UserCreatedEvent) Descriptor() ([]byte, []int)
Deprecated: Use UserCreatedEvent.ProtoReflect.Descriptor instead.
func (*UserCreatedEvent) GetCreatedAt ¶
func (x *UserCreatedEvent) GetCreatedAt() *timestamppb.Timestamp
func (*UserCreatedEvent) GetUserId ¶
func (x *UserCreatedEvent) GetUserId() string
func (*UserCreatedEvent) ProtoMessage ¶
func (*UserCreatedEvent) ProtoMessage()
func (*UserCreatedEvent) ProtoReflect ¶
func (x *UserCreatedEvent) ProtoReflect() protoreflect.Message
func (*UserCreatedEvent) Reset ¶
func (x *UserCreatedEvent) Reset()
func (*UserCreatedEvent) String ¶
func (x *UserCreatedEvent) String() string
type WriteKeyGeneratedEvent ¶
type WriteKeyGeneratedEvent struct { Project *project.Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*WriteKeyGeneratedEvent) Descriptor
deprecated
func (*WriteKeyGeneratedEvent) Descriptor() ([]byte, []int)
Deprecated: Use WriteKeyGeneratedEvent.ProtoReflect.Descriptor instead.
func (*WriteKeyGeneratedEvent) GetProject ¶
func (x *WriteKeyGeneratedEvent) GetProject() *project.Project
func (*WriteKeyGeneratedEvent) ProtoMessage ¶
func (*WriteKeyGeneratedEvent) ProtoMessage()
func (*WriteKeyGeneratedEvent) ProtoReflect ¶
func (x *WriteKeyGeneratedEvent) ProtoReflect() protoreflect.Message
func (*WriteKeyGeneratedEvent) Reset ¶
func (x *WriteKeyGeneratedEvent) Reset()
func (*WriteKeyGeneratedEvent) String ¶
func (x *WriteKeyGeneratedEvent) String() string
Click to show internal directories.
Click to hide internal directories.