Documentation ¶
Index ¶
- type GinRouter
- func (gr GinRouter) About(c *gin.Context)
- func (gr GinRouter) GetPostByName(postName string, frag bool, c *gin.Context)
- func (gr GinRouter) Index(c *gin.Context)
- func (gr GinRouter) NoRoute(c *gin.Context)
- func (gr GinRouter) Post(c *gin.Context)
- func (gr GinRouter) PostAsset(c *gin.Context)
- func (gr GinRouter) PostAssetAbs(c *gin.Context)
- func (gr GinRouter) SearchPosts(c *gin.Context)
- func (gr GinRouter) Subscribe(c *gin.Context)
- func (gr GinRouter) SubscribeAdd(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GinRouter ¶
type GinRouter struct { Engine *gin.Engine PostSrv ports.PostService }
func NewGinRouter ¶
func NewGinRouter(ps ports.PostService) *GinRouter
func (GinRouter) GetPostByName ¶
func (GinRouter) PostAssetAbs ¶
func (GinRouter) SearchPosts ¶
func (GinRouter) SubscribeAdd ¶
Click to show internal directories.
Click to hide internal directories.