Documentation ¶
Index ¶
- type Manager
- type Persister
- func (m Persister) Caller() string
- func (m Persister) Delete(key string)
- func (m Persister) Get(key string) (bool, []byte)
- func (m Persister) GetAccount(_ string) (bool, interface{})
- func (m Persister) GetObject(key string, ret interface{}) bool
- func (m Persister) Has(key string) bool
- func (m Persister) Logger() logrus.FieldLogger
- func (m Persister) Query(prefix string) (bool, [][]byte)
- func (m Persister) Set(key string, value []byte)
- func (m Persister) SetObject(key string, value interface{})
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
}
func NewManager ¶
func NewManager(addr string, pm peermgr.PeerManager, Mgr appchainmgr.AppchainMgr, rule *rulemgr.RuleMgr, logger logrus.FieldLogger) (*Manager, error)
type Persister ¶
type Persister struct {
// contains filtered or unexported fields
}
func NewPersister ¶
func (Persister) GetAccount ¶
func (Persister) Logger ¶
func (m Persister) Logger() logrus.FieldLogger
Click to show internal directories.
Click to hide internal directories.