route

package
v0.0.0-...-23502e9 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommentRouter

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

func NewFeedRouter

func NewFeedRouter(FeedUsecase domain.FeedUsecase, group *gin.RouterGroup)

func NewFileRouter

func NewFileRouter(env *bootstrap.Env, timeout time.Duration,
	orm orm.Database, group *gin.RouterGroup)

func NewLoginRouter

func NewLoginRouter(env *bootstrap.Env, timeout time.Duration, db orm.Database, redisCache cache.RedisCache, group *gin.RouterGroup)

func NewPostRouter

func NewPostRouter(PostUsecase domain.PostUsecase,
	InteractionUseCase domain.InteractionUseCase,
	FeedUsecase domain.FeedUsecase,
	group *gin.RouterGroup)

func NewRefreshTokenRouter

func NewRefreshTokenRouter(env *bootstrap.Env, timeout time.Duration, db orm.Database, redisCache cache.RedisCache,
	group *gin.RouterGroup)

func NewRelationRouter

func NewRelationRouter(env *bootstrap.Env, timeout time.Duration,
	orm orm.Database, cache cache.RedisCache,
	group *gin.RouterGroup,
)

func NewSignupRouter

func NewSignupRouter(env *bootstrap.Env, timeout time.Duration, db orm.Database, redisCache cache.RedisCache, group *gin.RouterGroup)

func NewTagRouter

func NewTagRouter(env *bootstrap.Env, timeout time.Duration,
	orm orm.Database, cache cache.RedisCache,
	group *gin.RouterGroup)

func NewTaskRouter

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

func NewUserRouter

func NewUserRouter(env *bootstrap.Env, timeout time.Duration, db orm.Database, redisCache cache.RedisCache,
	group *gin.RouterGroup)

func Setup

func Setup(env *bootstrap.Env, timeout time.Duration,
	db orm.Database, redisCache cache.RedisCache, localCache cache.LocalCache,
	server *gin.Engine,
	producer event.Producer, saramaClient sarama.Client)

Types

This section is empty.

Jump to

Keyboard shortcuts

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