proto

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_event_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) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetEmailWasUpdated

func (x *Event) GetEmailWasUpdated() *Event_EmailWasUpdated

func (*Event) GetEvent

func (m *Event) GetEvent() isEvent_Event

func (*Event) GetWasCreated

func (x *Event) GetWasCreated() *Event_WasCreated

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetBirthDate

func (x *User) GetBirthDate() *date.Date

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetFirstName

func (x *User) GetFirstName() string

func (*User) GetId

func (x *User) GetId() string

func (*User) GetLastName

func (x *User) GetLastName() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

Jump to

Keyboard shortcuts

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