cmd

package
v0.0.0-...-1012304 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNodeInfo

func GetNodeInfo(NodeID string) (*swarm.Node, error)

func GetNodeList

func GetNodeList() (*prizestypes.NodeListStatistics, error)

func GetServicesFromPubkey

func GetServicesFromPubkey(pubkey string, start int64, count int64, full bool) (*[]service.ServiceInfo, error)

func ServiceCreate

func ServiceCreate(serviceCreate *service.ServiceCreate) (*types.ServiceCreateResponse, error)

ServiceCreate returns response and error

func ServiceInfo

func ServiceInfo(serviceID string) (*service.ServiceInfo, error)

func ServiceReCheck

func ServiceReCheck(ServiceID string) error

func ServiceRefund

func ServiceRefund(ServiceID string) (*order.RefundPayment, error)

ServiceRefund returns RefundInfo and error

func ServiceState

func ServiceState(serviceID string, startTime time.Time, endTime time.Time) (types.ServiceStatistics, error)

ServiceState returns ServiceStatistics error

func ServiceStatement

func ServiceStatement(ServiceID string, statementAt time.Time) (*order.Statement, error)

ServiceStatement returns statement and error

func ServiceUpdate

func ServiceUpdate(serviceUpdate *service.ServiceUpdate) (*types.ServiceUpdateResponse, error)

ServiceUpdate returns response and error

Types

type FindFilters

type FindFilters struct {
	Full  bool
	Start int64
	Count int64
}

Directories

Path Synopsis
db

Jump to

Keyboard shortcuts

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