Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandlers ¶
Types ¶
type HandlerGroup ¶
type HandlerGroup struct {
// contains filtered or unexported fields
}
func (*HandlerGroup) Me ¶
func (self *HandlerGroup) Me(ctx context.Context, _ *server.BaseAuthInput) (*MeResponse, error)
Me handles GET /me
type MeResponse ¶
type MeResponse struct {
Body struct {
Data *UserAPIResponse `json:"data"`
}
}
type UserAPIResponse ¶
type UserAPIResponse struct {
ID uuid.UUID `json:"id"`
// The time at which the entity was created.
CreatedAt time.Time `json:"created_at,omitempty"`
// The time at which the entity was last updated.
UpdatedAt time.Time `json:"updated_at,omitempty"`
// Email holds the value of the "email" field.
Email string `json:"email,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.