Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProfilesController ¶
type ProfilesController interface { // Get retrieves a user profile from persistent storage and returns it // as JSON Get(rw http.ResponseWriter, r *http.Request) }
ProfilesController handles HTTP requests regarding users
func New ¶
func New(usersService usersservice.UsersService) ProfilesController
New constructs a new ProfilesController instance
Click to show internal directories.
Click to hide internal directories.