currency

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TokenName     = "tokenName"
	TokenNamePath = ":" + TokenName + ":token.\\w+"
	FundID        = "fundID"
	AddressFlag   = "address"
	Simple        = "simple"
)
View Source
const (
	ContrcatAddr = "contractAddr"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Fund

type Fund struct {
	*util.FabricRPCCore
	// contains filtered or unexported fields
}

func (*Fund) Assign

func (s *Fund) Assign(rw web.ResponseWriter, req *web.Request)

func (*Fund) Fund

func (s *Fund) Fund(rw web.ResponseWriter, req *web.Request)

func (*Fund) InitCaller

func (s *Fund) InitCaller(rw web.ResponseWriter,
	req *web.Request, next web.NextMiddlewareFunc)

func (*Fund) InitGlobal

func (s *Fund) InitGlobal(rw web.ResponseWriter, req *web.Request)

func (*Fund) Query

func (s *Fund) Query(rw web.ResponseWriter, req *web.Request)

func (*Fund) QueryAddress

func (s *Fund) QueryAddress(rw web.ResponseWriter, req *web.Request)

func (*Fund) QueryGlobal

func (s *Fund) QueryGlobal(rw web.ResponseWriter, req *web.Request)

func (*Fund) QueryTransfer

func (s *Fund) QueryTransfer(rw web.ResponseWriter, req *web.Request)

type FundBatch

type FundBatch struct {
	*util.TxBatch
}

func (*FundBatch) InitAndAssign

func (s *FundBatch) InitAndAssign(rw web.ResponseWriter, req *web.Request)

type FundBatchRouter

type FundBatchRouter struct {
	*web.Router
}

func CreateFundBatchRouter

func CreateFundBatchRouter(root util.TxBatchRouter, path string) FundBatchRouter

func (FundBatchRouter) BuildRoutes

func (r FundBatchRouter) BuildRoutes()

type FundEntry

type FundEntry struct {
	Txid  string      `json:"txID"`
	Nonce string      `json:"Nonce"`
	Entry interface{} `json:"FundNonce,omitempty"`
}

type FundRouter

type FundRouter struct {
	*web.Router
}

func CreateFundRouter

func CreateFundRouter(root util.TxRouter, path string) FundRouter

func (FundRouter) BuildAddressRoutes

func (r FundRouter) BuildAddressRoutes()

func (FundRouter) BuildFundRoutes

func (r FundRouter) BuildFundRoutes()

func (FundRouter) BuildGlobalRoutes

func (r FundRouter) BuildGlobalRoutes()

func (FundRouter) Init

func (r FundRouter) Init() FundRouter

type Subscription

type Subscription struct {
	*util.FabricRPCCore
}

func (*Subscription) InitCaller

func (s *Subscription) InitCaller(rw web.ResponseWriter,
	req *web.Request, next web.NextMiddlewareFunc)

func (*Subscription) NewContract

func (s *Subscription) NewContract(rw web.ResponseWriter, req *web.Request)

func (*Subscription) QueryContract

func (s *Subscription) QueryContract(rw web.ResponseWriter, req *web.Request)

func (*Subscription) Redeem

func (s *Subscription) Redeem(rw web.ResponseWriter, req *web.Request)

type SubscriptionRouter

type SubscriptionRouter struct {
	*web.Router
}

func CreatSubscriptionRouter

func CreatSubscriptionRouter(root util.TxRouter, path string) SubscriptionRouter

func (SubscriptionRouter) BuildRoutes

func (r SubscriptionRouter) BuildRoutes()

func (SubscriptionRouter) Init

Jump to

Keyboard shortcuts

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