Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(s *service.SegmentIDGenImpl, snowflake *service.SnowFlakeIdGenImpl)
Types ¶
type BaseController ¶
type BaseController struct{}
func (*BaseController) Ping ¶
func (c *BaseController) Ping(ctx *gin.Context)
type SegmentController ¶
type SegmentController struct{}
func (*SegmentController) Get ¶
func (c *SegmentController) Get(ctx *gin.Context)
type SnowFlakeController ¶
type SnowFlakeController struct{}
func (*SnowFlakeController) Get ¶
func (c *SnowFlakeController) Get(ctx *gin.Context)
Click to show internal directories.
Click to hide internal directories.