tracker

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2015 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTables

func CreateTables(conn *sqlx.DB) (gdb.Table, error)

Types

type Record

type Record struct {
	Id      gdb.PrimaryKey
	Address string
	Alias   string
	Message []byte
}

type Tracker

type Tracker struct {
	// FS Information
	KeyFile string
	// Database Info
	DBString string

	// Composition
	tracker.BasicTracker
	// contains filtered or unexported fields
}

func (*Tracker) GetRecordByAddress

func (t *Tracker) GetRecordByAddress(address *identity.Address) *message.SignedMessage

func (*Tracker) GetRecordByAlias

func (t *Tracker) GetRecordByAlias(alias string) *message.SignedMessage

func (*Tracker) Run

func (t *Tracker) Run(port int) error

func (*Tracker) SaveRecord

func (t *Tracker) SaveRecord(address *identity.Address, record *message.SignedMessage, alias string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL