dashboard

package
v0.0.0-...-25cadc1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2018 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package dashboard is a generated protocol buffer package.

It is generated from these files:

dashboard.proto

It has these top-level messages:

GetNodeInfosRequest
GetNodeInfosResponse
NodeInfoData
Position
GetTxListRequest
GetTxListResponse
TxListData
Tx
GetBlockListRequest
GetBlockListResponse
BlockData
Block
GetBlockInfoRequest
GetBlockInfoResponse
BlockInfoData
TxList
GetRequirementNumByDayRequest
GetRequirementNumByDayResponse
RequirementNumByDayData
GetTxNumRequest
GetTxNumResponse
GetAssetNumByDayRequest
GetAssetNumByDayResponse
AssetNumByDayData
GetAccountNumByDayRequest
GetAccountNumByDayResponse
AccountNumByDayData
GetTxAmountRequest
GetTxAmountResponse
GetTxNumByDayRequest
GetTxNumByDayResponse
TxNumByDayData
Num
GetTxAmountByDayRequest
GetTxAmountByDayResponse
TxAmountByDay
GetAllTypeTotalRequest
GetAllTypeTotalResponse
AllTypeData
GetNodeIpRequest
GetNodeIpResponse
NodeIpData
NodeIpDataRow

Package dashboard is a generated protocol buffer package.

It is generated from these files:

dashboard.proto

It has these top-level messages:

GetNodeInfosRequest
GetNodeInfosResponse
NodeInfoData
Position
GetTxListRequest
GetTxListResponse
TxListData
Tx
GetBlockListRequest
GetBlockListResponse
BlockData
Block
GetBlockInfoRequest
GetBlockInfoResponse
BlockInfoData
TxList
GetRequirementNumByDayRequest
GetRequirementNumByDayResponse
RequirementNumByDayData
GetTxNumRequest
GetTxNumResponse
GetAssetNumByDayRequest
GetAssetNumByDayResponse
AssetNumByDayData
GetAccountNumByDayRequest
GetAccountNumByDayResponse
AccountNumByDayData
GetTxAmountRequest
GetTxAmountResponse
GetTxNumByDayRequest
GetTxNumByDayResponse
TxNumByDayData
Num
GetTxAmountByDayRequest
GetTxAmountByDayResponse
TxAmountByDay
GetAllTypeTotalRequest
GetAllTypeTotalResponse
AllTypeData
GetNodeIpRequest
GetNodeIpResponse
NodeIpData
NodeIpDataRow

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDashboardHandler

func RegisterDashboardHandler(s server.Server, hdlr DashboardHandler, opts ...server.HandlerOption)

Types

type AccountNumByDayData

type AccountNumByDayData struct {
	Time  int64 `protobuf:"varint,1,opt,name=time" json:"time"`
	Count int64 `protobuf:"varint,2,opt,name=count" json:"count"`
}

func (*AccountNumByDayData) Descriptor

func (*AccountNumByDayData) Descriptor() ([]byte, []int)

func (*AccountNumByDayData) GetCount

func (m *AccountNumByDayData) GetCount() int64

func (*AccountNumByDayData) GetTime

func (m *AccountNumByDayData) GetTime() int64

func (*AccountNumByDayData) ProtoMessage

func (*AccountNumByDayData) ProtoMessage()

func (*AccountNumByDayData) Reset

func (m *AccountNumByDayData) Reset()

func (*AccountNumByDayData) String

func (m *AccountNumByDayData) String() string

type AllTypeData

type AllTypeData struct {
	Type  string `protobuf:"bytes,1,opt,name=type" json:"type"`
	Total int64  `protobuf:"varint,2,opt,name=total" json:"total"`
}

func (*AllTypeData) Descriptor

func (*AllTypeData) Descriptor() ([]byte, []int)

func (*AllTypeData) GetTotal

func (m *AllTypeData) GetTotal() int64

func (*AllTypeData) GetType

func (m *AllTypeData) GetType() string

func (*AllTypeData) ProtoMessage

func (*AllTypeData) ProtoMessage()

func (*AllTypeData) Reset

func (m *AllTypeData) Reset()

func (*AllTypeData) String

func (m *AllTypeData) String() string

type AssetNumByDayData

type AssetNumByDayData struct {
	Time  int64 `protobuf:"varint,1,opt,name=time" json:"time"`
	Count int64 `protobuf:"varint,2,opt,name=count" json:"count"`
}

func (*AssetNumByDayData) Descriptor

func (*AssetNumByDayData) Descriptor() ([]byte, []int)

func (*AssetNumByDayData) GetCount

func (m *AssetNumByDayData) GetCount() int64

func (*AssetNumByDayData) GetTime

func (m *AssetNumByDayData) GetTime() int64

func (*AssetNumByDayData) ProtoMessage

func (*AssetNumByDayData) ProtoMessage()

func (*AssetNumByDayData) Reset

func (m *AssetNumByDayData) Reset()

func (*AssetNumByDayData) String

func (m *AssetNumByDayData) String() string

type Block

type Block struct {
	BlockNumber   uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber" json:"block_number"`
	BlockHash     string `protobuf:"bytes,2,opt,name=block_hash,json=blockHash" json:"block_hash"`
	PrevBlockHash string `protobuf:"bytes,3,opt,name=prev_block_hash,json=prevBlockHash" json:"prev_block_hash"`
	MerkleRoot    string `protobuf:"bytes,4,opt,name=merkle_root,json=merkleRoot" json:"merkle_root"`
	TxNum         uint32 `protobuf:"varint,5,opt,name=tx_num,json=txNum" json:"tx_num"`
	Delegate      string `protobuf:"bytes,6,opt,name=delegate" json:"delegate"`
	DelegateSign  string `protobuf:"bytes,7,opt,name=delegate_sign,json=delegateSign" json:"delegate_sign"`
	Timestamp     uint64 `protobuf:"varint,8,opt,name=timestamp" json:"timestamp"`
}

func (*Block) Descriptor

func (*Block) Descriptor() ([]byte, []int)

func (*Block) GetBlockHash

func (m *Block) GetBlockHash() string

func (*Block) GetBlockNumber

func (m *Block) GetBlockNumber() uint64

func (*Block) GetDelegate

func (m *Block) GetDelegate() string

func (*Block) GetDelegateSign

func (m *Block) GetDelegateSign() string

func (*Block) GetMerkleRoot

func (m *Block) GetMerkleRoot() string

func (*Block) GetPrevBlockHash

func (m *Block) GetPrevBlockHash() string

func (*Block) GetTimestamp

func (m *Block) GetTimestamp() uint64

func (*Block) GetTxNum

func (m *Block) GetTxNum() uint32

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) Reset

func (m *Block) Reset()

func (*Block) String

func (m *Block) String() string

type BlockData

type BlockData struct {
	PageNum  uint64   `protobuf:"varint,1,opt,name=page_num,json=pageNum" json:"page_num"`
	RowCount uint64   `protobuf:"varint,2,opt,name=row_count,json=rowCount" json:"row_count"`
	Row      []*Block `protobuf:"bytes,3,rep,name=row" json:"row"`
}

func (*BlockData) Descriptor

func (*BlockData) Descriptor() ([]byte, []int)

func (*BlockData) GetPageNum

func (m *BlockData) GetPageNum() uint64

func (*BlockData) GetRow

func (m *BlockData) GetRow() []*Block

func (*BlockData) GetRowCount

func (m *BlockData) GetRowCount() uint64

func (*BlockData) ProtoMessage

func (*BlockData) ProtoMessage()

func (*BlockData) Reset

func (m *BlockData) Reset()

func (*BlockData) String

func (m *BlockData) String() string

type BlockInfoData

type BlockInfoData struct {
	Block  *Block    `protobuf:"bytes,1,opt,name=block" json:"block"`
	TxList []*TxList `protobuf:"bytes,2,rep,name=tx_list,json=txList" json:"tx_list"`
}

func (*BlockInfoData) Descriptor

func (*BlockInfoData) Descriptor() ([]byte, []int)

func (*BlockInfoData) GetBlock

func (m *BlockInfoData) GetBlock() *Block

func (*BlockInfoData) GetTxList

func (m *BlockInfoData) GetTxList() []*TxList

func (*BlockInfoData) ProtoMessage

func (*BlockInfoData) ProtoMessage()

func (*BlockInfoData) Reset

func (m *BlockInfoData) Reset()

func (*BlockInfoData) String

func (m *BlockInfoData) String() string

type Dashboard

type Dashboard struct {
	DashboardHandler
}

func (*Dashboard) GetAccountNumByDay

func (*Dashboard) GetAllTypeTotal

func (h *Dashboard) GetAllTypeTotal(ctx context.Context, in *GetAllTypeTotalRequest, out *GetAllTypeTotalResponse) error

func (*Dashboard) GetAssetNumByDay

func (h *Dashboard) GetAssetNumByDay(ctx context.Context, in *GetAssetNumByDayRequest, out *GetAssetNumByDayResponse) error

func (*Dashboard) GetBlockInfo

func (h *Dashboard) GetBlockInfo(ctx context.Context, in *GetBlockInfoRequest, out *GetBlockInfoResponse) error

func (*Dashboard) GetBlockList

func (h *Dashboard) GetBlockList(ctx context.Context, in *GetBlockListRequest, out *GetBlockListResponse) error

func (*Dashboard) GetNodeInfos

func (h *Dashboard) GetNodeInfos(ctx context.Context, in *GetNodeInfosRequest, out *GetNodeInfosResponse) error

func (*Dashboard) GetNodeIp

func (h *Dashboard) GetNodeIp(ctx context.Context, in *GetNodeIpRequest, out *GetNodeIpResponse) error

func (*Dashboard) GetRequirementNumByDay

func (*Dashboard) GetTxAmount

func (h *Dashboard) GetTxAmount(ctx context.Context, in *GetTxAmountRequest, out *GetTxAmountResponse) error

func (*Dashboard) GetTxAmountByDay

func (h *Dashboard) GetTxAmountByDay(ctx context.Context, in *GetTxAmountByDayRequest, out *GetTxAmountByDayResponse) error

func (*Dashboard) GetTxList

func (h *Dashboard) GetTxList(ctx context.Context, in *GetTxListRequest, out *GetTxListResponse) error

func (*Dashboard) GetTxNum

func (h *Dashboard) GetTxNum(ctx context.Context, in *GetTxNumRequest, out *GetTxNumResponse) error

func (*Dashboard) GetTxNumByDay

func (h *Dashboard) GetTxNumByDay(ctx context.Context, in *GetTxNumByDayRequest, out *GetTxNumByDayResponse) error

type DashboardClient

type DashboardClient interface {
	GetBlockList(ctx context.Context, in *GetBlockListRequest, opts ...client.CallOption) (*GetBlockListResponse, error)
	GetBlockInfo(ctx context.Context, in *GetBlockInfoRequest, opts ...client.CallOption) (*GetBlockInfoResponse, error)
	GetNodeInfos(ctx context.Context, in *GetNodeInfosRequest, opts ...client.CallOption) (*GetNodeInfosResponse, error)
	GetTxList(ctx context.Context, in *GetTxListRequest, opts ...client.CallOption) (*GetTxListResponse, error)
	GetTxNum(ctx context.Context, in *GetTxNumRequest, opts ...client.CallOption) (*GetTxNumResponse, error)
	GetRequirementNumByDay(ctx context.Context, in *GetRequirementNumByDayRequest, opts ...client.CallOption) (*GetRequirementNumByDayResponse, error)
	GetAssetNumByDay(ctx context.Context, in *GetAssetNumByDayRequest, opts ...client.CallOption) (*GetAssetNumByDayResponse, error)
	GetAccountNumByDay(ctx context.Context, in *GetAccountNumByDayRequest, opts ...client.CallOption) (*GetAccountNumByDayResponse, error)
	GetTxAmount(ctx context.Context, in *GetTxAmountRequest, opts ...client.CallOption) (*GetTxAmountResponse, error)
	GetTxNumByDay(ctx context.Context, in *GetTxNumByDayRequest, opts ...client.CallOption) (*GetTxNumByDayResponse, error)
	GetTxAmountByDay(ctx context.Context, in *GetTxAmountByDayRequest, opts ...client.CallOption) (*GetTxAmountByDayResponse, error)
	GetAllTypeTotal(ctx context.Context, in *GetAllTypeTotalRequest, opts ...client.CallOption) (*GetAllTypeTotalResponse, error)
	GetNodeIp(ctx context.Context, in *GetNodeIpRequest, opts ...client.CallOption) (*GetNodeIpResponse, error)
}

func NewDashboardClient

func NewDashboardClient(serviceName string, c client.Client) DashboardClient

type GetAccountNumByDayRequest

type GetAccountNumByDayRequest struct {
}

func (*GetAccountNumByDayRequest) Descriptor

func (*GetAccountNumByDayRequest) Descriptor() ([]byte, []int)

func (*GetAccountNumByDayRequest) ProtoMessage

func (*GetAccountNumByDayRequest) ProtoMessage()

func (*GetAccountNumByDayRequest) Reset

func (m *GetAccountNumByDayRequest) Reset()

func (*GetAccountNumByDayRequest) String

func (m *GetAccountNumByDayRequest) String() string

type GetAccountNumByDayResponse

type GetAccountNumByDayResponse struct {
	Code int32                  `protobuf:"varint,1,opt,name=code" json:"code"`
	Data []*AccountNumByDayData `protobuf:"bytes,2,rep,name=data" json:"data"`
}

func (*GetAccountNumByDayResponse) Descriptor

func (*GetAccountNumByDayResponse) Descriptor() ([]byte, []int)

func (*GetAccountNumByDayResponse) GetCode

func (m *GetAccountNumByDayResponse) GetCode() int32

func (*GetAccountNumByDayResponse) GetData

func (*GetAccountNumByDayResponse) ProtoMessage

func (*GetAccountNumByDayResponse) ProtoMessage()

func (*GetAccountNumByDayResponse) Reset

func (m *GetAccountNumByDayResponse) Reset()

func (*GetAccountNumByDayResponse) String

func (m *GetAccountNumByDayResponse) String() string

type GetAllTypeTotalRequest

type GetAllTypeTotalRequest struct {
	Type string `protobuf:"bytes,1,opt,name=type" json:"type"`
}

func (*GetAllTypeTotalRequest) Descriptor

func (*GetAllTypeTotalRequest) Descriptor() ([]byte, []int)

func (*GetAllTypeTotalRequest) GetType

func (m *GetAllTypeTotalRequest) GetType() string

func (*GetAllTypeTotalRequest) ProtoMessage

func (*GetAllTypeTotalRequest) ProtoMessage()

func (*GetAllTypeTotalRequest) Reset

func (m *GetAllTypeTotalRequest) Reset()

func (*GetAllTypeTotalRequest) String

func (m *GetAllTypeTotalRequest) String() string

type GetAllTypeTotalResponse

type GetAllTypeTotalResponse struct {
	Code int32          `protobuf:"varint,1,opt,name=code" json:"code"`
	Data []*AllTypeData `protobuf:"bytes,2,rep,name=data" json:"data"`
}

func (*GetAllTypeTotalResponse) Descriptor

func (*GetAllTypeTotalResponse) Descriptor() ([]byte, []int)

func (*GetAllTypeTotalResponse) GetCode

func (m *GetAllTypeTotalResponse) GetCode() int32

func (*GetAllTypeTotalResponse) GetData

func (m *GetAllTypeTotalResponse) GetData() []*AllTypeData

func (*GetAllTypeTotalResponse) ProtoMessage

func (*GetAllTypeTotalResponse) ProtoMessage()

func (*GetAllTypeTotalResponse) Reset

func (m *GetAllTypeTotalResponse) Reset()

func (*GetAllTypeTotalResponse) String

func (m *GetAllTypeTotalResponse) String() string

type GetAssetNumByDayRequest

type GetAssetNumByDayRequest struct {
}

func (*GetAssetNumByDayRequest) Descriptor

func (*GetAssetNumByDayRequest) Descriptor() ([]byte, []int)

func (*GetAssetNumByDayRequest) ProtoMessage

func (*GetAssetNumByDayRequest) ProtoMessage()

func (*GetAssetNumByDayRequest) Reset

func (m *GetAssetNumByDayRequest) Reset()

func (*GetAssetNumByDayRequest) String

func (m *GetAssetNumByDayRequest) String() string

type GetAssetNumByDayResponse

type GetAssetNumByDayResponse struct {
	Code int32                `protobuf:"varint,1,opt,name=code" json:"code"`
	Data []*AssetNumByDayData `protobuf:"bytes,2,rep,name=data" json:"data"`
}

func (*GetAssetNumByDayResponse) Descriptor

func (*GetAssetNumByDayResponse) Descriptor() ([]byte, []int)

func (*GetAssetNumByDayResponse) GetCode

func (m *GetAssetNumByDayResponse) GetCode() int32

func (*GetAssetNumByDayResponse) GetData

func (*GetAssetNumByDayResponse) ProtoMessage

func (*GetAssetNumByDayResponse) ProtoMessage()

func (*GetAssetNumByDayResponse) Reset

func (m *GetAssetNumByDayResponse) Reset()

func (*GetAssetNumByDayResponse) String

func (m *GetAssetNumByDayResponse) String() string

type GetBlockInfoRequest

type GetBlockInfoRequest struct {
	BlockNumber uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber" json:"block_number"`
}

func (*GetBlockInfoRequest) Descriptor

func (*GetBlockInfoRequest) Descriptor() ([]byte, []int)

func (*GetBlockInfoRequest) GetBlockNumber

func (m *GetBlockInfoRequest) GetBlockNumber() uint64

func (*GetBlockInfoRequest) ProtoMessage

func (*GetBlockInfoRequest) ProtoMessage()

func (*GetBlockInfoRequest) Reset

func (m *GetBlockInfoRequest) Reset()

func (*GetBlockInfoRequest) String

func (m *GetBlockInfoRequest) String() string

type GetBlockInfoResponse

type GetBlockInfoResponse struct {
	Code int32          `protobuf:"varint,1,opt,name=code" json:"code"`
	Data *BlockInfoData `protobuf:"bytes,2,opt,name=data" json:"data"`
}

func (*GetBlockInfoResponse) Descriptor

func (*GetBlockInfoResponse) Descriptor() ([]byte, []int)

func (*GetBlockInfoResponse) GetCode

func (m *GetBlockInfoResponse) GetCode() int32

func (*GetBlockInfoResponse) GetData

func (m *GetBlockInfoResponse) GetData() *BlockInfoData

func (*GetBlockInfoResponse) ProtoMessage

func (*GetBlockInfoResponse) ProtoMessage()

func (*GetBlockInfoResponse) Reset

func (m *GetBlockInfoResponse) Reset()

func (*GetBlockInfoResponse) String

func (m *GetBlockInfoResponse) String() string

type GetBlockListRequest

type GetBlockListRequest struct {
	PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize" json:"page_size"`
	PageNum  uint32 `protobuf:"varint,2,opt,name=page_num,json=pageNum" json:"page_num"`
	Sort     string `protobuf:"bytes,3,opt,name=sort" json:"sort"`
}

func (*GetBlockListRequest) Descriptor

func (*GetBlockListRequest) Descriptor() ([]byte, []int)

func (*GetBlockListRequest) GetPageNum

func (m *GetBlockListRequest) GetPageNum() uint32

func (*GetBlockListRequest) GetPageSize

func (m *GetBlockListRequest) GetPageSize() uint32

func (*GetBlockListRequest) GetSort

func (m *GetBlockListRequest) GetSort() string

func (*GetBlockListRequest) ProtoMessage

func (*GetBlockListRequest) ProtoMessage()

func (*GetBlockListRequest) Reset

func (m *GetBlockListRequest) Reset()

func (*GetBlockListRequest) String

func (m *GetBlockListRequest) String() string

type GetBlockListResponse

type GetBlockListResponse struct {
	Code uint32     `protobuf:"varint,1,opt,name=code" json:"code"`
	Data *BlockData `protobuf:"bytes,2,opt,name=data" json:"data"`
	Msg  string     `protobuf:"bytes,3,opt,name=msg" json:"msg"`
}

func (*GetBlockListResponse) Descriptor

func (*GetBlockListResponse) Descriptor() ([]byte, []int)

func (*GetBlockListResponse) GetCode

func (m *GetBlockListResponse) GetCode() uint32

func (*GetBlockListResponse) GetData

func (m *GetBlockListResponse) GetData() *BlockData

func (*GetBlockListResponse) GetMsg

func (m *GetBlockListResponse) GetMsg() string

func (*GetBlockListResponse) ProtoMessage

func (*GetBlockListResponse) ProtoMessage()

func (*GetBlockListResponse) Reset

func (m *GetBlockListResponse) Reset()

func (*GetBlockListResponse) String

func (m *GetBlockListResponse) String() string

type GetNodeInfosRequest

type GetNodeInfosRequest struct {
}

func (*GetNodeInfosRequest) Descriptor

func (*GetNodeInfosRequest) Descriptor() ([]byte, []int)

func (*GetNodeInfosRequest) ProtoMessage

func (*GetNodeInfosRequest) ProtoMessage()

func (*GetNodeInfosRequest) Reset

func (m *GetNodeInfosRequest) Reset()

func (*GetNodeInfosRequest) String

func (m *GetNodeInfosRequest) String() string

type GetNodeInfosResponse

type GetNodeInfosResponse struct {
	Code int32           `protobuf:"varint,1,opt,name=code" json:"code"`
	Data []*NodeInfoData `protobuf:"bytes,2,rep,name=data" json:"data"`
	Msg  string          `protobuf:"bytes,3,opt,name=msg" json:"msg"`
}

func (*GetNodeInfosResponse) Descriptor

func (*GetNodeInfosResponse) Descriptor() ([]byte, []int)

func (*GetNodeInfosResponse) GetCode

func (m *GetNodeInfosResponse) GetCode() int32

func (*GetNodeInfosResponse) GetData

func (m *GetNodeInfosResponse) GetData() []*NodeInfoData

func (*GetNodeInfosResponse) GetMsg

func (m *GetNodeInfosResponse) GetMsg() string

func (*GetNodeInfosResponse) ProtoMessage

func (*GetNodeInfosResponse) ProtoMessage()

func (*GetNodeInfosResponse) Reset

func (m *GetNodeInfosResponse) Reset()

func (*GetNodeInfosResponse) String

func (m *GetNodeInfosResponse) String() string

type GetNodeIpRequest

type GetNodeIpRequest struct {
	PageSize uint32 `protobuf:"varint,1,opt,name=page_size,json=pageSize" json:"page_size"`
	PageNum  uint32 `protobuf:"varint,2,opt,name=page_num,json=pageNum" json:"page_num"`
}

func (*GetNodeIpRequest) Descriptor

func (*GetNodeIpRequest) Descriptor() ([]byte, []int)

func (*GetNodeIpRequest) GetPageNum

func (m *GetNodeIpRequest) GetPageNum() uint32

func (*GetNodeIpRequest) GetPageSize

func (m *GetNodeIpRequest) GetPageSize() uint32

func (*GetNodeIpRequest) ProtoMessage

func (*GetNodeIpRequest) ProtoMessage()

func (*GetNodeIpRequest) Reset

func (m *GetNodeIpRequest) Reset()

func (*GetNodeIpRequest) String

func (m *GetNodeIpRequest) String() string

type GetNodeIpResponse

type GetNodeIpResponse struct {
	Code int32       `protobuf:"varint,1,opt,name=code" json:"code"`
	Data *NodeIpData `protobuf:"bytes,2,opt,name=data" json:"data"`
	Msg  string      `protobuf:"bytes,3,opt,name=msg" json:"msg"`
}

func (*GetNodeIpResponse) Descriptor

func (*GetNodeIpResponse) Descriptor() ([]byte, []int)

func (*GetNodeIpResponse) GetCode

func (m *GetNodeIpResponse) GetCode() int32

func (*GetNodeIpResponse) GetData

func (m *GetNodeIpResponse) GetData() *NodeIpData

func (*GetNodeIpResponse) GetMsg

func (m *GetNodeIpResponse) GetMsg() string

func (*GetNodeIpResponse) ProtoMessage

func (*GetNodeIpResponse) ProtoMessage()

func (*GetNodeIpResponse) Reset

func (m *GetNodeIpResponse) Reset()

func (*GetNodeIpResponse) String

func (m *GetNodeIpResponse) String() string

type GetRequirementNumByDayRequest

type GetRequirementNumByDayRequest struct {
}

func (*GetRequirementNumByDayRequest) Descriptor

func (*GetRequirementNumByDayRequest) Descriptor() ([]byte, []int)

func (*GetRequirementNumByDayRequest) ProtoMessage

func (*GetRequirementNumByDayRequest) ProtoMessage()

func (*GetRequirementNumByDayRequest) Reset

func (m *GetRequirementNumByDayRequest) Reset()

func (*GetRequirementNumByDayRequest) String

type GetRequirementNumByDayResponse

type GetRequirementNumByDayResponse struct {
	Code int32                      `protobuf:"varint,1,opt,name=code" json:"code"`
	Data []*RequirementNumByDayData `protobuf:"bytes,2,rep,name=data" json:"data"`
}

func (*GetRequirementNumByDayResponse) Descriptor

func (*GetRequirementNumByDayResponse) Descriptor() ([]byte, []int)

func (*GetRequirementNumByDayResponse) GetCode

func (*GetRequirementNumByDayResponse) GetData

func (*GetRequirementNumByDayResponse) ProtoMessage

func (*GetRequirementNumByDayResponse) ProtoMessage()

func (*GetRequirementNumByDayResponse) Reset

func (m *GetRequirementNumByDayResponse) Reset()

func (*GetRequirementNumByDayResponse) String

type GetTxAmountByDayRequest

type GetTxAmountByDayRequest struct {
}

func (*GetTxAmountByDayRequest) Descriptor

func (*GetTxAmountByDayRequest) Descriptor() ([]byte, []int)

func (*GetTxAmountByDayRequest) ProtoMessage

func (*GetTxAmountByDayRequest) ProtoMessage()

func (*GetTxAmountByDayRequest) Reset

func (m *GetTxAmountByDayRequest) Reset()

func (*GetTxAmountByDayRequest) String

func (m *GetTxAmountByDayRequest) String() string

type GetTxAmountByDayResponse

type GetTxAmountByDayResponse struct {
	Code int32            `protobuf:"varint,1,opt,name=code" json:"code"`
	Data []*TxAmountByDay `protobuf:"bytes,2,rep,name=data" json:"data"`
}

func (*GetTxAmountByDayResponse) Descriptor

func (*GetTxAmountByDayResponse) Descriptor() ([]byte, []int)

func (*GetTxAmountByDayResponse) GetCode

func (m *GetTxAmountByDayResponse) GetCode() int32

func (*GetTxAmountByDayResponse) GetData

func (m *GetTxAmountByDayResponse) GetData() []*TxAmountByDay

func (*GetTxAmountByDayResponse) ProtoMessage

func (*GetTxAmountByDayResponse) ProtoMessage()

func (*GetTxAmountByDayResponse) Reset

func (m *GetTxAmountByDayResponse) Reset()

func (*GetTxAmountByDayResponse) String

func (m *GetTxAmountByDayResponse) String() string

type GetTxAmountRequest

type GetTxAmountRequest struct {
}

func (*GetTxAmountRequest) Descriptor

func (*GetTxAmountRequest) Descriptor() ([]byte, []int)

func (*GetTxAmountRequest) ProtoMessage

func (*GetTxAmountRequest) ProtoMessage()

func (*GetTxAmountRequest) Reset

func (m *GetTxAmountRequest) Reset()

func (*GetTxAmountRequest) String

func (m *GetTxAmountRequest) String() string

type GetTxAmountResponse

type GetTxAmountResponse struct {
	Code int32 `protobuf:"varint,1,opt,name=code" json:"code"`
	Data *Num  `protobuf:"bytes,2,opt,name=data" json:"data"`
}

func (*GetTxAmountResponse) Descriptor

func (*GetTxAmountResponse) Descriptor() ([]byte, []int)

func (*GetTxAmountResponse) GetCode

func (m *GetTxAmountResponse) GetCode() int32

func (*GetTxAmountResponse) GetData

func (m *GetTxAmountResponse) GetData() *Num

func (*GetTxAmountResponse) ProtoMessage

func (*GetTxAmountResponse) ProtoMessage()

func (*GetTxAmountResponse) Reset

func (m *GetTxAmountResponse) Reset()

func (*GetTxAmountResponse) String

func (m *GetTxAmountResponse) String() string

type GetTxListRequest

type GetTxListRequest struct {
	PageNum  uint64 `protobuf:"varint,1,opt,name=page_num,json=pageNum" json:"page_num"`
	PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize" json:"page_size"`
	Sort     string `protobuf:"bytes,3,opt,name=sort" json:"sort"`
	Username string `protobuf:"bytes,4,opt,name=username" json:"username"`
}

func (*GetTxListRequest) Descriptor

func (*GetTxListRequest) Descriptor() ([]byte, []int)

func (*GetTxListRequest) GetPageNum

func (m *GetTxListRequest) GetPageNum() uint64

func (*GetTxListRequest) GetPageSize

func (m *GetTxListRequest) GetPageSize() uint64

func (*GetTxListRequest) GetSort

func (m *GetTxListRequest) GetSort() string

func (*GetTxListRequest) GetUsername

func (m *GetTxListRequest) GetUsername() string

func (*GetTxListRequest) ProtoMessage

func (*GetTxListRequest) ProtoMessage()

func (*GetTxListRequest) Reset

func (m *GetTxListRequest) Reset()

func (*GetTxListRequest) String

func (m *GetTxListRequest) String() string

type GetTxListResponse

type GetTxListResponse struct {
	Code int32       `protobuf:"varint,1,opt,name=code" json:"code"`
	Data *TxListData `protobuf:"bytes,2,opt,name=data" json:"data"`
	Msg  string      `protobuf:"bytes,3,opt,name=msg" json:"msg"`
}

func (*GetTxListResponse) Descriptor

func (*GetTxListResponse) Descriptor() ([]byte, []int)

func (*GetTxListResponse) GetCode

func (m *GetTxListResponse) GetCode() int32

func (*GetTxListResponse) GetData

func (m *GetTxListResponse) GetData() *TxListData

func (*GetTxListResponse) GetMsg

func (m *GetTxListResponse) GetMsg() string

func (*GetTxListResponse) ProtoMessage

func (*GetTxListResponse) ProtoMessage()

func (*GetTxListResponse) Reset

func (m *GetTxListResponse) Reset()

func (*GetTxListResponse) String

func (m *GetTxListResponse) String() string

type GetTxNumByDayRequest

type GetTxNumByDayRequest struct {
}

func (*GetTxNumByDayRequest) Descriptor

func (*GetTxNumByDayRequest) Descriptor() ([]byte, []int)

func (*GetTxNumByDayRequest) ProtoMessage

func (*GetTxNumByDayRequest) ProtoMessage()

func (*GetTxNumByDayRequest) Reset

func (m *GetTxNumByDayRequest) Reset()

func (*GetTxNumByDayRequest) String

func (m *GetTxNumByDayRequest) String() string

type GetTxNumByDayResponse

type GetTxNumByDayResponse struct {
	Code int32             `protobuf:"varint,1,opt,name=code" json:"code"`
	Data []*TxNumByDayData `protobuf:"bytes,2,rep,name=data" json:"data"`
}

func (*GetTxNumByDayResponse) Descriptor

func (*GetTxNumByDayResponse) Descriptor() ([]byte, []int)

func (*GetTxNumByDayResponse) GetCode

func (m *GetTxNumByDayResponse) GetCode() int32

func (*GetTxNumByDayResponse) GetData

func (m *GetTxNumByDayResponse) GetData() []*TxNumByDayData

func (*GetTxNumByDayResponse) ProtoMessage

func (*GetTxNumByDayResponse) ProtoMessage()

func (*GetTxNumByDayResponse) Reset

func (m *GetTxNumByDayResponse) Reset()

func (*GetTxNumByDayResponse) String

func (m *GetTxNumByDayResponse) String() string

type GetTxNumRequest

type GetTxNumRequest struct {
}

func (*GetTxNumRequest) Descriptor

func (*GetTxNumRequest) Descriptor() ([]byte, []int)

func (*GetTxNumRequest) ProtoMessage

func (*GetTxNumRequest) ProtoMessage()

func (*GetTxNumRequest) Reset

func (m *GetTxNumRequest) Reset()

func (*GetTxNumRequest) String

func (m *GetTxNumRequest) String() string

type GetTxNumResponse

type GetTxNumResponse struct {
	Code int32 `protobuf:"varint,1,opt,name=code" json:"code"`
	Data *Num  `protobuf:"bytes,2,opt,name=data" json:"data"`
}

func (*GetTxNumResponse) Descriptor

func (*GetTxNumResponse) Descriptor() ([]byte, []int)

func (*GetTxNumResponse) GetCode

func (m *GetTxNumResponse) GetCode() int32

func (*GetTxNumResponse) GetData

func (m *GetTxNumResponse) GetData() *Num

func (*GetTxNumResponse) ProtoMessage

func (*GetTxNumResponse) ProtoMessage()

func (*GetTxNumResponse) Reset

func (m *GetTxNumResponse) Reset()

func (*GetTxNumResponse) String

func (m *GetTxNumResponse) String() string

type NodeInfoData

type NodeInfoData struct {
	Ip       string    `protobuf:"bytes,1,opt,name=ip" json:"ip"`
	Port     string    `protobuf:"bytes,2,opt,name=port" json:"port"`
	Position *Position `protobuf:"bytes,3,opt,name=position" json:"position"`
}

func (*NodeInfoData) Descriptor

func (*NodeInfoData) Descriptor() ([]byte, []int)

func (*NodeInfoData) GetIp

func (m *NodeInfoData) GetIp() string

func (*NodeInfoData) GetPort

func (m *NodeInfoData) GetPort() string

func (*NodeInfoData) GetPosition

func (m *NodeInfoData) GetPosition() *Position

func (*NodeInfoData) ProtoMessage

func (*NodeInfoData) ProtoMessage()

func (*NodeInfoData) Reset

func (m *NodeInfoData) Reset()

func (*NodeInfoData) String

func (m *NodeInfoData) String() string

type NodeIpData

type NodeIpData struct {
	PageNum  uint32           `protobuf:"varint,1,opt,name=page_num,json=pageNum" json:"page_num"`
	RowCount uint32           `protobuf:"varint,2,opt,name=row_count,json=rowCount" json:"row_count"`
	Row      []*NodeIpDataRow `protobuf:"bytes,3,rep,name=row" json:"row"`
}

func (*NodeIpData) Descriptor

func (*NodeIpData) Descriptor() ([]byte, []int)

func (*NodeIpData) GetPageNum

func (m *NodeIpData) GetPageNum() uint32

func (*NodeIpData) GetRow

func (m *NodeIpData) GetRow() []*NodeIpDataRow

func (*NodeIpData) GetRowCount

func (m *NodeIpData) GetRowCount() uint32

func (*NodeIpData) ProtoMessage

func (*NodeIpData) ProtoMessage()

func (*NodeIpData) Reset

func (m *NodeIpData) Reset()

func (*NodeIpData) String

func (m *NodeIpData) String() string

type NodeIpDataRow

type NodeIpDataRow struct {
	Ip     string `protobuf:"bytes,1,opt,name=ip" json:"ip"`
	Port   string `protobuf:"bytes,2,opt,name=port" json:"port"`
	NodeId string `protobuf:"bytes,3,opt,name=nodeId" json:"nodeId"`
}

func (*NodeIpDataRow) Descriptor

func (*NodeIpDataRow) Descriptor() ([]byte, []int)

func (*NodeIpDataRow) GetIp

func (m *NodeIpDataRow) GetIp() string

func (*NodeIpDataRow) GetNodeId

func (m *NodeIpDataRow) GetNodeId() string

func (*NodeIpDataRow) GetPort

func (m *NodeIpDataRow) GetPort() string

func (*NodeIpDataRow) ProtoMessage

func (*NodeIpDataRow) ProtoMessage()

func (*NodeIpDataRow) Reset

func (m *NodeIpDataRow) Reset()

func (*NodeIpDataRow) String

func (m *NodeIpDataRow) String() string

type Num

type Num struct {
	Num int64 `protobuf:"varint,1,opt,name=num" json:"num"`
}

func (*Num) Descriptor

func (*Num) Descriptor() ([]byte, []int)

func (*Num) GetNum

func (m *Num) GetNum() int64

func (*Num) ProtoMessage

func (*Num) ProtoMessage()

func (*Num) Reset

func (m *Num) Reset()

func (*Num) String

func (m *Num) String() string

type Position

type Position struct {
	Longitude string `protobuf:"bytes,1,opt,name=longitude" json:"longitude"`
	Latitude  string `protobuf:"bytes,2,opt,name=latitude" json:"latitude"`
}

func (*Position) Descriptor

func (*Position) Descriptor() ([]byte, []int)

func (*Position) GetLatitude

func (m *Position) GetLatitude() string

func (*Position) GetLongitude

func (m *Position) GetLongitude() string

func (*Position) ProtoMessage

func (*Position) ProtoMessage()

func (*Position) Reset

func (m *Position) Reset()

func (*Position) String

func (m *Position) String() string

type RequirementNumByDayData

type RequirementNumByDayData struct {
	Time  int64 `protobuf:"varint,1,opt,name=time" json:"time"`
	Count int64 `protobuf:"varint,2,opt,name=count" json:"count"`
}

func (*RequirementNumByDayData) Descriptor

func (*RequirementNumByDayData) Descriptor() ([]byte, []int)

func (*RequirementNumByDayData) GetCount

func (m *RequirementNumByDayData) GetCount() int64

func (*RequirementNumByDayData) GetTime

func (m *RequirementNumByDayData) GetTime() int64

func (*RequirementNumByDayData) ProtoMessage

func (*RequirementNumByDayData) ProtoMessage()

func (*RequirementNumByDayData) Reset

func (m *RequirementNumByDayData) Reset()

func (*RequirementNumByDayData) String

func (m *RequirementNumByDayData) String() string

type Tx

type Tx struct {
	TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId" json:"transaction_id"`
	From          string `protobuf:"bytes,2,opt,name=from" json:"from"`
	To            string `protobuf:"bytes,3,opt,name=to" json:"to"`
	TokenType     string `protobuf:"bytes,4,opt,name=token_type,json=tokenType" json:"token_type"`
	Price         uint64 `protobuf:"varint,5,opt,name=price" json:"price"`
	AssetId       string `protobuf:"bytes,6,opt,name=asset_id,json=assetId" json:"asset_id"`
	AssetName     string `protobuf:"bytes,7,opt,name=asset_name,json=assetName" json:"asset_name"`
	AssetType     uint64 `protobuf:"varint,8,opt,name=asset_type,json=assetType" json:"asset_type"`
	Timestamp     uint64 `protobuf:"varint,9,opt,name=timestamp" json:"timestamp"`
	BlockNumber   uint32 `protobuf:"varint,10,opt,name=block_number,json=blockNumber" json:"block_number"`
}

func (*Tx) Descriptor

func (*Tx) Descriptor() ([]byte, []int)

func (*Tx) GetAssetId

func (m *Tx) GetAssetId() string

func (*Tx) GetAssetName

func (m *Tx) GetAssetName() string

func (*Tx) GetAssetType

func (m *Tx) GetAssetType() uint64

func (*Tx) GetBlockNumber

func (m *Tx) GetBlockNumber() uint32

func (*Tx) GetFrom

func (m *Tx) GetFrom() string

func (*Tx) GetPrice

func (m *Tx) GetPrice() uint64

func (*Tx) GetTimestamp

func (m *Tx) GetTimestamp() uint64

func (*Tx) GetTo

func (m *Tx) GetTo() string

func (*Tx) GetTokenType

func (m *Tx) GetTokenType() string

func (*Tx) GetTransactionId

func (m *Tx) GetTransactionId() string

func (*Tx) ProtoMessage

func (*Tx) ProtoMessage()

func (*Tx) Reset

func (m *Tx) Reset()

func (*Tx) String

func (m *Tx) String() string

type TxAmountByDay

type TxAmountByDay struct {
	Time  int64 `protobuf:"varint,1,opt,name=time" json:"time"`
	Count int64 `protobuf:"varint,2,opt,name=count" json:"count"`
}

func (*TxAmountByDay) Descriptor

func (*TxAmountByDay) Descriptor() ([]byte, []int)

func (*TxAmountByDay) GetCount

func (m *TxAmountByDay) GetCount() int64

func (*TxAmountByDay) GetTime

func (m *TxAmountByDay) GetTime() int64

func (*TxAmountByDay) ProtoMessage

func (*TxAmountByDay) ProtoMessage()

func (*TxAmountByDay) Reset

func (m *TxAmountByDay) Reset()

func (*TxAmountByDay) String

func (m *TxAmountByDay) String() string

type TxList

type TxList struct {
	TransactionId string `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId" json:"transaction_id"`
	SequenceNum   uint32 `protobuf:"varint,2,opt,name=sequence_num,json=sequenceNum" json:"sequence_num"`
	CursorNum     uint32 `protobuf:"varint,3,opt,name=cursor_num,json=cursorNum" json:"cursor_num"`
	CursorLabel   uint32 `protobuf:"varint,4,opt,name=cursor_label,json=cursorLabel" json:"cursor_label"`
	Lifetime      uint64 `protobuf:"varint,5,opt,name=lifetime" json:"lifetime"`
	Sender        string `protobuf:"bytes,6,opt,name=sender" json:"sender"`
	Contract      string `protobuf:"bytes,7,opt,name=contract" json:"contract"`
	Method        string `protobuf:"bytes,8,opt,name=method" json:"method"`
	Param         string `protobuf:"bytes,9,opt,name=param" json:"param"`
	SigAlg        uint32 `protobuf:"varint,10,opt,name=sig_alg,json=sigAlg" json:"sig_alg"`
	Signature     string `protobuf:"bytes,11,opt,name=signature" json:"signature"`
	CreateTime    uint64 `protobuf:"varint,12,opt,name=create_time,json=createTime" json:"create_time"`
}

func (*TxList) Descriptor

func (*TxList) Descriptor() ([]byte, []int)

func (*TxList) GetContract

func (m *TxList) GetContract() string

func (*TxList) GetCreateTime

func (m *TxList) GetCreateTime() uint64

func (*TxList) GetCursorLabel

func (m *TxList) GetCursorLabel() uint32

func (*TxList) GetCursorNum

func (m *TxList) GetCursorNum() uint32

func (*TxList) GetLifetime

func (m *TxList) GetLifetime() uint64

func (*TxList) GetMethod

func (m *TxList) GetMethod() string

func (*TxList) GetParam

func (m *TxList) GetParam() string

func (*TxList) GetSender

func (m *TxList) GetSender() string

func (*TxList) GetSequenceNum

func (m *TxList) GetSequenceNum() uint32

func (*TxList) GetSigAlg

func (m *TxList) GetSigAlg() uint32

func (*TxList) GetSignature

func (m *TxList) GetSignature() string

func (*TxList) GetTransactionId

func (m *TxList) GetTransactionId() string

func (*TxList) ProtoMessage

func (*TxList) ProtoMessage()

func (*TxList) Reset

func (m *TxList) Reset()

func (*TxList) String

func (m *TxList) String() string

type TxListData

type TxListData struct {
	PageNum  uint32 `protobuf:"varint,1,opt,name=page_num,json=pageNum" json:"page_num"`
	RowCount uint32 `protobuf:"varint,2,opt,name=row_count,json=rowCount" json:"row_count"`
	Row      []*Tx  `protobuf:"bytes,3,rep,name=row" json:"row"`
}

func (*TxListData) Descriptor

func (*TxListData) Descriptor() ([]byte, []int)

func (*TxListData) GetPageNum

func (m *TxListData) GetPageNum() uint32

func (*TxListData) GetRow

func (m *TxListData) GetRow() []*Tx

func (*TxListData) GetRowCount

func (m *TxListData) GetRowCount() uint32

func (*TxListData) ProtoMessage

func (*TxListData) ProtoMessage()

func (*TxListData) Reset

func (m *TxListData) Reset()

func (*TxListData) String

func (m *TxListData) String() string

type TxNumByDayData

type TxNumByDayData struct {
	Time  int64 `protobuf:"varint,1,opt,name=time" json:"time"`
	Count int64 `protobuf:"varint,2,opt,name=count" json:"count"`
}

func (*TxNumByDayData) Descriptor

func (*TxNumByDayData) Descriptor() ([]byte, []int)

func (*TxNumByDayData) GetCount

func (m *TxNumByDayData) GetCount() int64

func (*TxNumByDayData) GetTime

func (m *TxNumByDayData) GetTime() int64

func (*TxNumByDayData) ProtoMessage

func (*TxNumByDayData) ProtoMessage()

func (*TxNumByDayData) Reset

func (m *TxNumByDayData) Reset()

func (*TxNumByDayData) String

func (m *TxNumByDayData) String() string

Jump to

Keyboard shortcuts

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