Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserManager ¶
type UserManager interface { AddWhiteListUser(user types.WhiteListUser) error DelWhiteListUser(user types.WhiteListUser) error InWhiteList(owner common.Address) bool IsWhiteListOpen() bool }
type UserManagerImpl ¶
type UserManagerImpl struct {
// contains filtered or unexported fields
}
func NewUserManager ¶
func NewUserManager(options *config.UserManagerOptions, rds dao.RdsService) *UserManagerImpl
func (*UserManagerImpl) AddWhiteListUser ¶
func (m *UserManagerImpl) AddWhiteListUser(user types.WhiteListUser) error
func (*UserManagerImpl) DelWhiteListUser ¶
func (m *UserManagerImpl) DelWhiteListUser(user types.WhiteListUser) error
func (*UserManagerImpl) InWhiteList ¶
func (m *UserManagerImpl) InWhiteList(owner common.Address) bool
func (*UserManagerImpl) IsWhiteListOpen ¶
func (m *UserManagerImpl) IsWhiteListOpen() bool
type WhiteListCache ¶
type WhiteListCache struct {
// contains filtered or unexported fields
}
func (*WhiteListCache) AddWhiteListUser ¶
func (c *WhiteListCache) AddWhiteListUser(user types.WhiteListUser) error
func (*WhiteListCache) DelWhiteListUser ¶
func (c *WhiteListCache) DelWhiteListUser(user types.WhiteListUser) error
func (*WhiteListCache) InWhiteList ¶
func (c *WhiteListCache) InWhiteList(address common.Address) bool
Click to show internal directories.
Click to hide internal directories.