Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StateInterface ¶
type StateList ¶
type StateList struct {
Ctx contractapi.TransactionContextInterface
Name string
Deserialize func([]byte, StateInterface) error
}
func (*StateList) AddState ¶
func (sl *StateList) AddState(stateInterface StateInterface) error
func (*StateList) GetState ¶
func (sl *StateList) GetState(key string, stateInterface StateInterface) error
func (*StateList) UpdateState ¶
func (sl *StateList) UpdateState(stateInterface StateInterface) error
type StateListInterface ¶
type StateListInterface interface {
AddState(StateInterface) error
GetState(string, StateInterface) error
UpdateState(StateInterface) error
}
Click to show internal directories.
Click to hide internal directories.