Documentation ¶
Index ¶
- func NewDatabase() *gorm.DB
- func SetAuthJWTGroup(e *echo.Echo) *echo.Group
- func SetGroupRouterGraphQLQuery(e *echo.Group, graphController controller.GraphController)
- func SetGroupRouterTodo(e *echo.Group, todoController controller.TodoController)
- func SetRouterAuth(e *echo.Echo, authController controller.AuthController)
- func SetRouterGraphQLPlayGround(e *echo.Echo, graphController controller.GraphController)
- type DBConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDatabase ¶
func SetAuthJWTGroup ¶
func SetAuthJWTGroup(e *echo.Echo) *echo.Group
func SetGroupRouterGraphQLQuery ¶
func SetGroupRouterGraphQLQuery(e *echo.Group, graphController controller.GraphController)
NEED auth
func SetGroupRouterTodo ¶
func SetGroupRouterTodo(e *echo.Group, todoController controller.TodoController)
NEED auth
func SetRouterAuth ¶
func SetRouterAuth(e *echo.Echo, authController controller.AuthController)
* * Rest API Router * NO auth
func SetRouterGraphQLPlayGround ¶
func SetRouterGraphQLPlayGround(e *echo.Echo, graphController controller.GraphController)
* * GraphQL Router * NO auth
Types ¶
Click to show internal directories.
Click to hide internal directories.