Documentation ¶
Index ¶
- type Server
- func (server *Server) CreatePost(w http.ResponseWriter, r *http.Request)
- func (server *Server) CreateUser(w http.ResponseWriter, r *http.Request)
- func (server *Server) DeletePost(w http.ResponseWriter, r *http.Request)
- func (server *Server) DeleteUser(w http.ResponseWriter, r *http.Request)
- func (server *Server) GetPost(w http.ResponseWriter, r *http.Request)
- func (server *Server) GetPosts(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) 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) UpdatePost(w http.ResponseWriter, r *http.Request)
- func (server *Server) UpdateUser(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) CreatePost ¶
func (server *Server) CreatePost(w http.ResponseWriter, r *http.Request)
func (*Server) CreateUser ¶
func (server *Server) CreateUser(w http.ResponseWriter, r *http.Request)
func (*Server) DeletePost ¶
func (server *Server) DeletePost(w http.ResponseWriter, r *http.Request)
func (*Server) DeleteUser ¶
func (server *Server) DeleteUser(w http.ResponseWriter, r *http.Request)
func (*Server) Initialize ¶
func (*Server) UpdatePost ¶
func (server *Server) UpdatePost(w http.ResponseWriter, r *http.Request)
func (*Server) UpdateUser ¶
func (server *Server) UpdateUser(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.