ginhdl

package
v0.0.0-...-346bb9c Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

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) About

func (gr GinRouter) About(c *gin.Context)

func (GinRouter) GetPostByName

func (gr GinRouter) GetPostByName(postName string, frag bool, c *gin.Context)

func (GinRouter) Index

func (gr GinRouter) Index(c *gin.Context)

func (GinRouter) NoRoute

func (gr GinRouter) NoRoute(c *gin.Context)

func (GinRouter) Post

func (gr GinRouter) Post(c *gin.Context)

func (GinRouter) PostAsset

func (gr GinRouter) PostAsset(c *gin.Context)

func (GinRouter) PostAssetAbs

func (gr GinRouter) PostAssetAbs(c *gin.Context)

func (GinRouter) SearchPosts

func (gr GinRouter) SearchPosts(c *gin.Context)

func (GinRouter) Subscribe

func (gr GinRouter) Subscribe(c *gin.Context)

func (GinRouter) SubscribeAdd

func (gr GinRouter) SubscribeAdd(c *gin.Context)

Jump to

Keyboard shortcuts

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