Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIV1Handler ¶
type APIV1Handler interface { Routes(rg *gin.RouterGroup) RequiredAdminRotues(rg *gin.RouterGroup) }
*
- ###############################################
- handler
- ###############################################
func NewAPIV1Handler ¶
func NewAPIV1Handler(params *Params, now func() time.Time) APIV1Handler
type Params ¶
type Params struct { Admin user.AdminServiceClient Auth user.AuthServiceClient Book book.BookServiceClient User user.UserServiceClient }
Click to show internal directories.
Click to hide internal directories.