Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRouter ¶
func RegisterRouter(r *gin.RouterGroup, auth *user.AuthService, s *Service)
Types ¶
type InfoResponse ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(lc fx.Lifecycle, p ServiceParams) *Service
func (*Service) WhoamiHandler ¶
@ID infoWhoami @Summary Get information about current session @Success 200 {object} WhoAmIResponse @Router /info/whoami [get] @Security JwtAuth @Failure 401 {object} rest.ErrorResponse
type ServiceParams ¶
type WhoAmIResponse ¶
Click to show internal directories.
Click to hide internal directories.