Documentation
      ¶
    
    
  
    
  
    Index ¶
- func NewInCache(db profile.Store, ttl time.Duration) profile.Store
 - type Cache
 - func (c *Cache) GetProfile(ctx context.Context, id *commonpb.UserId) (*profilepb.UserProfile, error)
 - func (c *Cache) GetUserLinkedToXAccount(ctx context.Context, xUserID string) (*commonpb.UserId, error)
 - func (c *Cache) GetXProfile(ctx context.Context, userID *commonpb.UserId) (*profilepb.XProfile, error)
 - func (c *Cache) LinkXAccount(ctx context.Context, userID *commonpb.UserId, xProfile *profilepb.XProfile, ...) error
 - func (c *Cache) SetDisplayName(ctx context.Context, id *commonpb.UserId, displayName string) error
 - func (c *Cache) UnlinkXAccount(ctx context.Context, userID *commonpb.UserId, xUserID string) error
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cache ¶
type Cache struct {
	// contains filtered or unexported fields
}
    func (*Cache) GetProfile ¶
func (*Cache) GetUserLinkedToXAccount ¶
func (*Cache) GetXProfile ¶
func (*Cache) LinkXAccount ¶
func (*Cache) SetDisplayName ¶
 Click to show internal directories. 
   Click to hide internal directories.