Documentation ¶
Index ¶
- type Server
- func (server *Server) CreateUser(w http.ResponseWriter, r *http.Request)
- func (server *Server) CreateWine(w http.ResponseWriter, r *http.Request)
- func (server *Server) DeleteUser(w http.ResponseWriter, r *http.Request)
- func (server *Server) DeleteWine(w http.ResponseWriter, r *http.Request)
- func (server *Server) GetUser(w http.ResponseWriter, r *http.Request)
- func (server *Server) GetUsers(w http.ResponseWriter, r *http.Request)
- func (server *Server) GetWine(w http.ResponseWriter, r *http.Request)
- func (server *Server) GetWines(w http.ResponseWriter, r *http.Request)
- func (server *Server) Home(w http.ResponseWriter, r *http.Request)
- func (server *Server) Initialize(Dbdriver, DbUser, DbPassword, DbPort, DbHost, DbName string)
- func (server *Server) Login(w http.ResponseWriter, r *http.Request)
- func (server *Server) Run(addr string)
- func (server *Server) SignIn(email, password string) (string, error)
- func (server *Server) UpdateUser(w http.ResponseWriter, r *http.Request)
- func (server *Server) UpdateWine(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
func (*Server) CreateUser ¶
func (server *Server) CreateUser(w http.ResponseWriter, r *http.Request)
func (*Server) CreateWine ¶
func (server *Server) CreateWine(w http.ResponseWriter, r *http.Request)
func (*Server) DeleteUser ¶
func (server *Server) DeleteUser(w http.ResponseWriter, r *http.Request)
func (*Server) DeleteWine ¶
func (server *Server) DeleteWine(w http.ResponseWriter, r *http.Request)
func (*Server) Initialize ¶
func (*Server) UpdateUser ¶
func (server *Server) UpdateUser(w http.ResponseWriter, r *http.Request)
func (*Server) UpdateWine ¶
func (server *Server) UpdateWine(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.