Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBMapper ¶
type DBMapper struct { // ID is the ThingsIX compressed public key for this mapper ID string ContractAddress string Revision int FrequencyPlan frequency_plan.BandName Owner *string `datastore:",omitempty"` Active bool }
func NewDBMapper ¶
type DBMapperEvent ¶
type DBMapperEvent struct { ContractAddress string BlockNumber int TransactionIndex int LogIndex int Block string Transaction string Type types.MapperEventType ID string Revision int FrequencyPlan frequency_plan.BandName NewOwner *string `datastore:",omitempty"` OldOwner *string `datastore:",omitempty"` Time time.Time }
func NewDBMapperEvent ¶
func NewDBMapperEvent(event *types.MapperEvent) *DBMapperEvent
func (*DBMapperEvent) Entity ¶
func (e *DBMapperEvent) Entity() string
func (*DBMapperEvent) Key ¶
func (e *DBMapperEvent) Key() string
func (*DBMapperEvent) MapperEvent ¶
func (e *DBMapperEvent) MapperEvent() *types.MapperEvent
type DBMapperHistory ¶
type DBMapperHistory struct { // ID is the ThingsIX compressed public key for this mapper ID string ContractAddress string Revision int Owner *string `datastore:",omitempty"` FrequencyPlan frequency_plan.BandName `datastore:",omitempty"` Active bool Time time.Time BlockNumber int Block string Transaction string }
func NewDBMapperHistory ¶
func NewDBMapperHistory(e *types.MapperHistory) *DBMapperHistory
func (*DBMapperHistory) Entity ¶
func (e *DBMapperHistory) Entity() string
func (*DBMapperHistory) Key ¶
func (e *DBMapperHistory) Key() string
func (*DBMapperHistory) MapperHistory ¶
func (e *DBMapperHistory) MapperHistory() *types.MapperHistory
type DBPendingMapperEvent ¶
type DBPendingMapperEvent DBMapperEvent
func NewDBPendingMapperEvent ¶
func NewDBPendingMapperEvent(event *types.MapperEvent) *DBPendingMapperEvent
func (*DBPendingMapperEvent) Entity ¶
func (e *DBPendingMapperEvent) Entity() string
func (*DBPendingMapperEvent) Key ¶
func (e *DBPendingMapperEvent) Key() string
func (*DBPendingMapperEvent) MapperEvent ¶
func (e *DBPendingMapperEvent) MapperEvent() *types.MapperEvent
Click to show internal directories.
Click to hide internal directories.