orders

package module
v0.0.0-...-6f621e7 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2017 License: MIT Imports: 11 Imported by: 2

README

eth-orders

eth tx order service

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIServer

type APIServer struct {
	slf4go.Logger
	// contains filtered or unexported fields
}

APIServer .

func NewAPIServer

func NewAPIServer(conf *config.Config) (*APIServer, error)

NewAPIServer .

func (*APIServer) Run

func (server *APIServer) Run() error

Run run http service

type Order

type Order struct {
	ID          int64   `json:"-" xorm:"pk autoincr"`
	TX          string  `json:"tx" xorm:"notnull"`
	From        string  `json:"from" xorm:"index(from_to)"`
	To          string  `json:"to" xorm:"index(from_to)"`
	Asset       string  `json:"asset" xorm:"notnull"`
	Value       string  `json:"value" xorm:"notnull"`
	Blocks      uint64  `json:"blocks" xorm:""`
	CreateTime  *string `json:"createTime,omitempty" xorm:"TIMESTAMP notnull created"`
	ConfirmTime *string `json:"confirmTime" xorm:"TIMESTAMP"`
	Context     *string `json:"context,omitempty" xorm:"json"`
}

Order .

Directories

Path Synopsis
cmd
hugo

Jump to

Keyboard shortcuts

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