Versions in this module Expand all Collapse all v1 v1.5.0 Jun 21, 2018 Changes in this version + type UserManager interface + AddWhiteListUser func(user types.WhiteListUser) error + DelWhiteListUser func(user types.WhiteListUser) error + InWhiteList func(owner common.Address) bool + IsWhiteListOpen func() bool + type UserManagerImpl struct + func NewUserManager(options *UserManagerOptions, rds *dao.RdsService) *UserManagerImpl + func (m *UserManagerImpl) AddWhiteListUser(user types.WhiteListUser) error + func (m *UserManagerImpl) DelWhiteListUser(user types.WhiteListUser) error + func (m *UserManagerImpl) InWhiteList(owner common.Address) bool + func (m *UserManagerImpl) IsWhiteListOpen() bool + type UserManagerOptions struct + WhiteListCacheCleanTime int64 + WhiteListCacheExpireTime int64 + WhiteListOpen bool + type WhiteListCache struct + func (c *WhiteListCache) AddWhiteListUser(user types.WhiteListUser) error + func (c *WhiteListCache) DelWhiteListUser(user types.WhiteListUser) error + func (c *WhiteListCache) InWhiteList(address common.Address) bool