route

package
v0.0.0-...-d903cca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EditComment

func EditComment(env *bootstrap.Env, timeout time.Duration, db mongo.Database, group *gin.RouterGroup)

func EditPostRouter

func EditPostRouter(env *bootstrap.Env, timeout time.Duration, db mongo.Database, group *gin.RouterGroup)

func EditUserRouter

func EditUserRouter(env *bootstrap.Env, timeout time.Duration, db mongo.Database, group *gin.RouterGroup)

func GetCommentByPostID

func GetCommentByPostID(env *bootstrap.Env, timeout time.Duration, db mongo.Database, group *gin.RouterGroup)

func GetPostRouter

func GetPostRouter(env *bootstrap.Env, timeout time.Duration, db mongo.Database, group *gin.RouterGroup)

func GetUserRouter

func GetUserRouter(env *bootstrap.Env, timeout time.Duration, db mongo.Database, group *gin.RouterGroup)

func NewLoginRouter

func NewLoginRouter(env *bootstrap.Env, timeout time.Duration, db mongo.Database, group *gin.RouterGroup)

func NewPostRouter

func NewPostRouter(env *bootstrap.Env, timeout time.Duration, db mongo.Database, group *gin.RouterGroup)

func NewProfileRouter

func NewProfileRouter(env *bootstrap.Env, timeout time.Duration, db mongo.Database, group *gin.RouterGroup)

func NewRefreshTokenRouter

func NewRefreshTokenRouter(env *bootstrap.Env, timeout time.Duration, db mongo.Database, group *gin.RouterGroup)

func NewSignupRouter

func NewSignupRouter(env *bootstrap.Env, timeout time.Duration, db mongo.Database, group *gin.RouterGroup)

func Setup

func Setup(env *bootstrap.Env, timeout time.Duration, db mongo.Database, gin *gin.Engine)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL