Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager 所有的组件都注册到这里
func (Manager) GetIPLimiter ¶
func (m Manager) GetIPLimiter() *ratelimit.IPRateLimiter
GetIPLimiter get ip limiter
type RegistryManagerInterface ¶
type RegistryManagerInterface interface { CloseManager() error GetDB() *gorm.DB GetIPLimiter() *ratelimit.IPRateLimiter GetConfig() configs.Config GetEs() *service.Elasticsearch }
RegistryManagerInterface manager interface
Click to show internal directories.
Click to hide internal directories.