Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBPendingRouterEvent ¶
type DBPendingRouterEvent DBRouterEvent
func NewDBPendingRouterEvent ¶
func NewDBPendingRouterEvent(event *types.RouterEvent) *DBPendingRouterEvent
func (*DBPendingRouterEvent) Entity ¶
func (e *DBPendingRouterEvent) Entity() string
func (*DBPendingRouterEvent) Key ¶
func (e *DBPendingRouterEvent) Key() string
func (*DBPendingRouterEvent) RouterEvent ¶
func (e *DBPendingRouterEvent) RouterEvent() *types.RouterEvent
type DBRouter ¶
type DBRouter struct { // ID is the ThingsIX compressed public key for this router ID string ContractAddress string Owner string NetID int Prefix int Mask int FrequencyPlan string Endpoint string }
func NewDBRouter ¶
type DBRouterEvent ¶
type DBRouterEvent struct { ContractAddress string BlockNumber int TransactionIndex int LogIndex int Block string Transaction string Type types.RouterEventType ID string Owner *string NewNetID int `datastore:",omitempty"` OldNetID int `datastore:",omitempty"` NewPrefix int `datastore:",omitempty"` OldPrefix int `datastore:",omitempty"` NewMask int `datastore:",omitempty"` OldMask int `datastore:",omitempty"` NewFrequencyPlan frequency_plan.BandName `datastore:",omitempty"` OldFrequencyPlan frequency_plan.BandName `datastore:",omitempty"` NewEndpoint string `datastore:",omitempty"` OldEndpoint string `datastore:",omitempty"` Time time.Time }
func NewDBRouterEvent ¶
func NewDBRouterEvent(e *types.RouterEvent) *DBRouterEvent
func (*DBRouterEvent) Entity ¶
func (e *DBRouterEvent) Entity() string
func (*DBRouterEvent) Key ¶
func (e *DBRouterEvent) Key() string
func (*DBRouterEvent) RouterEvent ¶
func (e *DBRouterEvent) RouterEvent() *types.RouterEvent
type DBRouterHistory ¶
type DBRouterHistory struct { // ID is the ThingsIX compressed public key for this router ID string ContractAddress string Owner *string `datastore:",omitempty"` NetID int `datastore:",omitempty"` Prefix int `datastore:",omitempty"` Mask int `datastore:",omitempty"` FrequencyPlan frequency_plan.BandName `datastore:",omitempty"` Endpoint string `datastore:",omitempty"` Time time.Time BlockNumber int Block string Transaction string }
func NewDBRouterHistory ¶
func NewDBRouterHistory(e *types.RouterHistory) *DBRouterHistory
func (*DBRouterHistory) Entity ¶
func (e *DBRouterHistory) Entity() string
func (*DBRouterHistory) Key ¶
func (e *DBRouterHistory) Key() string
func (*DBRouterHistory) RouterHistory ¶
func (e *DBRouterHistory) RouterHistory() *types.RouterHistory
Click to show internal directories.
Click to hide internal directories.