Documentation ¶
Index ¶
- func NewInstance(us *UserService, cfg *config.Config, logger *log.Entry) *http.Server
- type UserService
- func (us *UserService) CreateContact(w http.ResponseWriter, r *http.Request)
- func (us UserService) DeleteLogin(w http.ResponseWriter, r *http.Request)
- func (us *UserService) DeleteUser(w http.ResponseWriter, r *http.Request)
- func (us UserService) GetAddress(w http.ResponseWriter, r *http.Request)
- func (us UserService) GetAllAddresses(w http.ResponseWriter, r *http.Request)
- func (us UserService) GetAllUsers(w http.ResponseWriter, r *http.Request)
- func (us UserService) GetAuth(w http.ResponseWriter, r *http.Request)
- func (us UserService) GetUser(w http.ResponseWriter, r *http.Request)
- func (us UserService) GetValid(w http.ResponseWriter, r *http.Request)
- func (us *UserService) PatchAddress(w http.ResponseWriter, r *http.Request)
- func (us *UserService) PatchContact(w http.ResponseWriter, r *http.Request)
- func (us UserService) PatchLogin(w http.ResponseWriter, r *http.Request)
- func (us *UserService) PatchUser(w http.ResponseWriter, r *http.Request)
- func (us *UserService) PostAddress(w http.ResponseWriter, r *http.Request)
- func (us UserService) PostLogin(w http.ResponseWriter, r *http.Request)
- func (us UserService) PostLogout(w http.ResponseWriter, r *http.Request)
- func (us *UserService) PostUser(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInstance ¶
Types ¶
type UserService ¶
type UserService struct { shared.Addresser shared.Auther shared.Contacter shared.Userer valid.Validator }
func (*UserService) CreateContact ¶
func (us *UserService) CreateContact(w http.ResponseWriter, r *http.Request)
func (UserService) DeleteLogin ¶
func (us UserService) DeleteLogin(w http.ResponseWriter, r *http.Request)
func (*UserService) DeleteUser ¶
func (us *UserService) DeleteUser(w http.ResponseWriter, r *http.Request)
func (UserService) GetAddress ¶
func (us UserService) GetAddress(w http.ResponseWriter, r *http.Request)
func (UserService) GetAllAddresses ¶
func (us UserService) GetAllAddresses(w http.ResponseWriter, r *http.Request)
func (UserService) GetAllUsers ¶
func (us UserService) GetAllUsers(w http.ResponseWriter, r *http.Request)
func (UserService) GetAuth ¶
func (us UserService) GetAuth(w http.ResponseWriter, r *http.Request)
func (UserService) GetUser ¶
func (us UserService) GetUser(w http.ResponseWriter, r *http.Request)
func (UserService) GetValid ¶
func (us UserService) GetValid(w http.ResponseWriter, r *http.Request)
func (*UserService) PatchAddress ¶
func (us *UserService) PatchAddress(w http.ResponseWriter, r *http.Request)
func (*UserService) PatchContact ¶
func (us *UserService) PatchContact(w http.ResponseWriter, r *http.Request)
func (UserService) PatchLogin ¶
func (us UserService) PatchLogin(w http.ResponseWriter, r *http.Request)
func (*UserService) PatchUser ¶
func (us *UserService) PatchUser(w http.ResponseWriter, r *http.Request)
func (*UserService) PostAddress ¶
func (us *UserService) PostAddress(w http.ResponseWriter, r *http.Request)
func (UserService) PostLogin ¶
func (us UserService) PostLogin(w http.ResponseWriter, r *http.Request)
func (UserService) PostLogout ¶
func (us UserService) PostLogout(w http.ResponseWriter, r *http.Request)
func (*UserService) PostUser ¶
func (us *UserService) PostUser(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.