Documentation
¶
Index ¶
- func NewInMemory() profile.Store
- type Memory
- func (m *Memory) GetProfile(_ context.Context, id *commonpb.UserId) (*profilepb.UserProfile, error)
- func (m *Memory) GetUserLinkedToXAccount(ctx context.Context, xUserID string) (*commonpb.UserId, error)
- func (m *Memory) GetXProfile(ctx context.Context, userID *commonpb.UserId) (*profilepb.XProfile, error)
- func (m *Memory) LinkXAccount(ctx context.Context, userID *commonpb.UserId, xProfile *profilepb.XProfile, ...) error
- func (m *Memory) SetDisplayName(_ context.Context, id *commonpb.UserId, displayName string) error
- func (m *Memory) UnlinkXAccount(ctx context.Context, userID *commonpb.UserId, xUserID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInMemory ¶
Types ¶
type Memory ¶
func (*Memory) GetProfile ¶
func (*Memory) GetUserLinkedToXAccount ¶
func (*Memory) GetXProfile ¶
func (*Memory) LinkXAccount ¶
func (*Memory) SetDisplayName ¶
Click to show internal directories.
Click to hide internal directories.