Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmptyResponse ¶
func SuccessResponse ¶
Types ¶
type RestRouter ¶
type RestRouter struct {
// contains filtered or unexported fields
}
func NewRestRouter ¶
func NewRestRouter(service *services.Service) *RestRouter
func (*RestRouter) InitRoutes ¶
func (h *RestRouter) InitRoutes() *gin.Engine
func (*RestRouter) JWTAuthMiddleware ¶
func (h *RestRouter) JWTAuthMiddleware(c *gin.Context)
type RestServer ¶
type RestServer struct {
// contains filtered or unexported fields
}
func NewRestServer ¶
func NewRestServer(handler http.Handler) *RestServer
func (*RestServer) Run ¶
func (h *RestServer) Run() error
Click to show internal directories.
Click to hide internal directories.