Documentation ¶
Index ¶
- Variables
- type A
- func (*A) Descriptor() ([]byte, []int)
- func (this *A) Equal(that interface{}) bool
- func (m *A) GetAlias() string
- func (m *A) GetEmail() string
- func (m *A) GetPassword() []byte
- func (this *A) GoString() string
- func (m *A) Marshal() (dAtA []byte, err error)
- func (m *A) MarshalTo(dAtA []byte) (int, error)
- func (m *A) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*A) ProtoMessage()
- func (m *A) Reset()
- func (m *A) Size() (n int)
- func (this *A) String() string
- func (m *A) Unmarshal(dAtA []byte) error
- func (m *A) XXX_DiscardUnknown()
- func (m *A) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *A) XXX_Merge(src proto.Message)
- func (m *A) XXX_Size() int
- func (m *A) XXX_Unmarshal(b []byte) error
- type App
- type Filter
- type FilterEmail
- type Store
- type StoreEmail
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type A ¶
type A struct { ID github_com_elojah_game_02_pkg_ulid.ID `protobuf:"bytes,1,opt,name=ID,proto3,customtype=github.com/elojah/game_02/pkg/ulid.ID" json:"ID"` Email string `protobuf:"bytes,2,opt,name=Email,proto3" json:"Email,omitempty"` Password []byte `protobuf:"bytes,3,opt,name=Password,proto3" json:"Password,omitempty"` Alias string `protobuf:"bytes,4,opt,name=Alias,proto3" json:"Alias,omitempty"` Token *github_com_elojah_game_02_pkg_ulid.ID `protobuf:"bytes,5,opt,name=Token,proto3,customtype=github.com/elojah/game_02/pkg/ulid.ID" json:"Token,omitempty"` Room *github_com_elojah_game_02_pkg_ulid.ID `protobuf:"bytes,6,opt,name=Room,proto3,customtype=github.com/elojah/game_02/pkg/ulid.ID" json:"Room,omitempty"` }
func NewPopulatedA ¶
func (*A) Descriptor ¶
func (*A) GetPassword ¶
func (*A) ProtoMessage ¶
func (*A) ProtoMessage()
func (*A) XXX_DiscardUnknown ¶
func (m *A) XXX_DiscardUnknown()
func (*A) XXX_Unmarshal ¶
type App ¶
type App interface { Store StoreEmail Signin(context.Context, string, string) (A, error) Signout(context.Context, gulid.ID, gulid.ID) (A, error) Authorize(context.Context, gulid.ID, gulid.ID) (A, error) }
Application layer for account domain.
Click to show internal directories.
Click to hide internal directories.