users¶
Package github.com/emergent-company/emergent.memory/apps/server/pkg/sdk/users
The users client manages the authenticated user's profile.
Methods¶
func (c *Client) GetProfile(ctx context.Context) (*UserProfile, error)
func (c *Client) UpdateProfile(ctx context.Context, req *UpdateProfileRequest) (*UserProfile, error)
Key Types¶
UserProfile¶
type UserProfile struct {
ID string
Name string
Email string
Role string
CreatedAt time.Time
UpdatedAt time.Time
}