Documentation ¶
Index ¶
- func CORS() gin.HandlerFunc
- type Server
- func (server *Server) CreateUser(ctx *gin.Context)
- func (server *Server) CreateUserFollower(ctx *gin.Context)
- func (server *Server) DeleteFollower(ctx *gin.Context)
- func (server *Server) GetUser(ctx *gin.Context)
- func (server *Server) GetUserFolloweesCount(ctx *gin.Context)
- func (server *Server) GetUserFollowersCount(ctx *gin.Context)
- func (server *Server) ListFollowees(ctx *gin.Context)
- func (server *Server) ListFollowers(ctx *gin.Context)
- func (server *Server) Start(address string) error
- func (server *Server) VerifyUser(ctx *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CORS ¶
func CORS() gin.HandlerFunc
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) CreateUser ¶
func (*Server) CreateUserFollower ¶
func (*Server) DeleteFollower ¶
func (*Server) GetUserFolloweesCount ¶
func (*Server) GetUserFollowersCount ¶
func (*Server) ListFollowees ¶
func (*Server) ListFollowers ¶
func (*Server) VerifyUser ¶
Click to show internal directories.
Click to hide internal directories.