Documentation ¶
Index ¶
- Variables
- type ExternalLinkRestHandler
- type ExternalLinkRestHandlerImpl
- func (impl ExternalLinkRestHandlerImpl) CreateExternalLinks(w http.ResponseWriter, r *http.Request)
- func (impl ExternalLinkRestHandlerImpl) DeleteExternalLink(w http.ResponseWriter, r *http.Request)
- func (impl ExternalLinkRestHandlerImpl) GetExternalLinkMonitoringTools(w http.ResponseWriter, r *http.Request)
- func (impl ExternalLinkRestHandlerImpl) GetExternalLinks(w http.ResponseWriter, r *http.Request)
- func (impl ExternalLinkRestHandlerImpl) UpdateExternalLink(w http.ResponseWriter, r *http.Request)
- type ExternalLinkRouter
- type ExternalLinkRouterImpl
Constants ¶
This section is empty.
Variables ¶
View Source
var ExternalLinkWireSet = wire.NewSet( externalLink.NewExternalLinkMonitoringToolRepositoryImpl, wire.Bind(new(externalLink.ExternalLinkMonitoringToolRepository), new(*externalLink.ExternalLinkMonitoringToolRepositoryImpl)), externalLink.NewExternalLinkClusterMappingRepositoryImpl, wire.Bind(new(externalLink.ExternalLinkClusterMappingRepository), new(*externalLink.ExternalLinkClusterMappingRepositoryImpl)), externalLink.NewExternalLinkRepositoryImpl, wire.Bind(new(externalLink.ExternalLinkRepository), new(*externalLink.ExternalLinkRepositoryImpl)), externalLink.NewExternalLinkServiceImpl, wire.Bind(new(externalLink.ExternalLinkService), new(*externalLink.ExternalLinkServiceImpl)), NewExternalLinkRestHandlerImpl, wire.Bind(new(ExternalLinkRestHandler), new(*ExternalLinkRestHandlerImpl)), NewExternalLinkRouterImpl, wire.Bind(new(ExternalLinkRouter), new(*ExternalLinkRouterImpl)), )
Functions ¶
This section is empty.
Types ¶
type ExternalLinkRestHandler ¶
type ExternalLinkRestHandler interface { CreateExternalLinks(w http.ResponseWriter, r *http.Request) GetExternalLinkMonitoringTools(w http.ResponseWriter, r *http.Request) GetExternalLinks(w http.ResponseWriter, r *http.Request) UpdateExternalLink(w http.ResponseWriter, r *http.Request) DeleteExternalLink(w http.ResponseWriter, r *http.Request) // Update is_active to false link }
type ExternalLinkRestHandlerImpl ¶
type ExternalLinkRestHandlerImpl struct {
// contains filtered or unexported fields
}
func NewExternalLinkRestHandlerImpl ¶
func NewExternalLinkRestHandlerImpl(logger *zap.SugaredLogger, externalLinkService externalLink.ExternalLinkService, userService user.UserService, enforcer casbin.Enforcer, ) *ExternalLinkRestHandlerImpl
func (ExternalLinkRestHandlerImpl) CreateExternalLinks ¶
func (impl ExternalLinkRestHandlerImpl) CreateExternalLinks(w http.ResponseWriter, r *http.Request)
func (ExternalLinkRestHandlerImpl) DeleteExternalLink ¶
func (impl ExternalLinkRestHandlerImpl) DeleteExternalLink(w http.ResponseWriter, r *http.Request)
func (ExternalLinkRestHandlerImpl) GetExternalLinkMonitoringTools ¶
func (impl ExternalLinkRestHandlerImpl) GetExternalLinkMonitoringTools(w http.ResponseWriter, r *http.Request)
func (ExternalLinkRestHandlerImpl) GetExternalLinks ¶
func (impl ExternalLinkRestHandlerImpl) GetExternalLinks(w http.ResponseWriter, r *http.Request)
func (ExternalLinkRestHandlerImpl) UpdateExternalLink ¶
func (impl ExternalLinkRestHandlerImpl) UpdateExternalLink(w http.ResponseWriter, r *http.Request)
type ExternalLinkRouter ¶
type ExternalLinkRouterImpl ¶
type ExternalLinkRouterImpl struct {
// contains filtered or unexported fields
}
func NewExternalLinkRouterImpl ¶
func NewExternalLinkRouterImpl(externalLinkRestHandler ExternalLinkRestHandler) *ExternalLinkRouterImpl
func (ExternalLinkRouterImpl) InitExternalLinkRouter ¶
func (impl ExternalLinkRouterImpl) InitExternalLinkRouter(configRouter *mux.Router)
Click to show internal directories.
Click to hide internal directories.