Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfraConfigRestHandler ¶
type InfraConfigRestHandler interface { UpdateInfraProfile(w http.ResponseWriter, r *http.Request) GetProfile(w http.ResponseWriter, r *http.Request) }
type InfraConfigRestHandlerImpl ¶
type InfraConfigRestHandlerImpl struct {
// contains filtered or unexported fields
}
func NewInfraConfigRestHandlerImpl ¶
func NewInfraConfigRestHandlerImpl(logger *zap.SugaredLogger, infraProfileService infraConfig.InfraConfigService, userService user.UserService, enforcer casbin.Enforcer, enforcerUtil rbac.EnforcerUtil, validator *validator.Validate) *InfraConfigRestHandlerImpl
func (*InfraConfigRestHandlerImpl) GetProfile ¶
func (handler *InfraConfigRestHandlerImpl) GetProfile(w http.ResponseWriter, r *http.Request)
func (*InfraConfigRestHandlerImpl) UpdateInfraProfile ¶
func (handler *InfraConfigRestHandlerImpl) UpdateInfraProfile(w http.ResponseWriter, r *http.Request)
type InfraConfigRouter ¶
type InfraConfigRouterImpl ¶
type InfraConfigRouterImpl struct {
// contains filtered or unexported fields
}
func NewInfraProfileRouterImpl ¶
func NewInfraProfileRouterImpl(infraConfigRestHandler InfraConfigRestHandler) *InfraConfigRouterImpl
func (*InfraConfigRouterImpl) InitInfraConfigRouter ¶
func (impl *InfraConfigRouterImpl) InitInfraConfigRouter(configRouter *mux.Router)
Click to show internal directories.
Click to hide internal directories.