Documentation
¶
Index ¶
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetEmailWasUpdated() *Event_EmailWasUpdated
- func (m *Event) GetEvent() isEvent_Event
- func (x *Event) GetWasCreated() *Event_WasCreated
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type Event_EmailWasUpdated
- func (*Event_EmailWasUpdated) Descriptor() ([]byte, []int)deprecated
- func (x *Event_EmailWasUpdated) GetEmail() string
- func (*Event_EmailWasUpdated) ProtoMessage()
- func (x *Event_EmailWasUpdated) ProtoReflect() protoreflect.Message
- func (x *Event_EmailWasUpdated) Reset()
- func (x *Event_EmailWasUpdated) String() string
- type Event_EmailWasUpdated_
- type Event_WasCreated
- func (*Event_WasCreated) Descriptor() ([]byte, []int)deprecated
- func (x *Event_WasCreated) GetBirthDate() *date.Date
- func (x *Event_WasCreated) GetEmail() string
- func (x *Event_WasCreated) GetFirstName() string
- func (x *Event_WasCreated) GetId() string
- func (x *Event_WasCreated) GetLastName() string
- func (*Event_WasCreated) ProtoMessage()
- func (x *Event_WasCreated) ProtoReflect() protoreflect.Message
- func (x *Event_WasCreated) Reset()
- func (x *Event_WasCreated) String() string
- type Event_WasCreated_
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetBirthDate() *date.Date
- func (x *User) GetEmail() string
- func (x *User) GetFirstName() string
- func (x *User) GetId() string
- func (x *User) GetLastName() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_event_proto protoreflect.FileDescriptor
View Source
var File_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { // Types that are assignable to Event: // *Event_WasCreated_ // *Event_EmailWasUpdated_ Event isEvent_Event `protobuf_oneof:"event"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetEmailWasUpdated ¶
func (x *Event) GetEmailWasUpdated() *Event_EmailWasUpdated
func (*Event) GetWasCreated ¶
func (x *Event) GetWasCreated() *Event_WasCreated
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type Event_EmailWasUpdated ¶
type Event_EmailWasUpdated struct { Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*Event_EmailWasUpdated) Descriptor
deprecated
func (*Event_EmailWasUpdated) Descriptor() ([]byte, []int)
Deprecated: Use Event_EmailWasUpdated.ProtoReflect.Descriptor instead.
func (*Event_EmailWasUpdated) GetEmail ¶
func (x *Event_EmailWasUpdated) GetEmail() string
func (*Event_EmailWasUpdated) ProtoMessage ¶
func (*Event_EmailWasUpdated) ProtoMessage()
func (*Event_EmailWasUpdated) ProtoReflect ¶
func (x *Event_EmailWasUpdated) ProtoReflect() protoreflect.Message
func (*Event_EmailWasUpdated) Reset ¶
func (x *Event_EmailWasUpdated) Reset()
func (*Event_EmailWasUpdated) String ¶
func (x *Event_EmailWasUpdated) String() string
type Event_EmailWasUpdated_ ¶
type Event_EmailWasUpdated_ struct {
EmailWasUpdated *Event_EmailWasUpdated `protobuf:"bytes,2,opt,name=email_was_updated,json=emailWasUpdated,proto3,oneof"`
}
type Event_WasCreated ¶
type Event_WasCreated struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` BirthDate *date.Date `protobuf:"bytes,4,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*Event_WasCreated) Descriptor
deprecated
func (*Event_WasCreated) Descriptor() ([]byte, []int)
Deprecated: Use Event_WasCreated.ProtoReflect.Descriptor instead.
func (*Event_WasCreated) GetBirthDate ¶
func (x *Event_WasCreated) GetBirthDate() *date.Date
func (*Event_WasCreated) GetEmail ¶
func (x *Event_WasCreated) GetEmail() string
func (*Event_WasCreated) GetFirstName ¶
func (x *Event_WasCreated) GetFirstName() string
func (*Event_WasCreated) GetId ¶
func (x *Event_WasCreated) GetId() string
func (*Event_WasCreated) GetLastName ¶
func (x *Event_WasCreated) GetLastName() string
func (*Event_WasCreated) ProtoMessage ¶
func (*Event_WasCreated) ProtoMessage()
func (*Event_WasCreated) ProtoReflect ¶
func (x *Event_WasCreated) ProtoReflect() protoreflect.Message
func (*Event_WasCreated) Reset ¶
func (x *Event_WasCreated) Reset()
func (*Event_WasCreated) String ¶
func (x *Event_WasCreated) String() string
type Event_WasCreated_ ¶
type Event_WasCreated_ struct {
WasCreated *Event_WasCreated `protobuf:"bytes,1,opt,name=was_created,json=wasCreated,proto3,oneof"`
}
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` LastName string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` BirthDate *date.Date `protobuf:"bytes,4,opt,name=birth_date,json=birthDate,proto3" json:"birth_date,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetBirthDate ¶
func (*User) GetFirstName ¶
func (*User) GetLastName ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.