Documentation ¶
Index ¶
- Constants
- type Fund
- func (s *Fund) Assign(rw web.ResponseWriter, req *web.Request)
- func (s *Fund) Fund(rw web.ResponseWriter, req *web.Request)
- func (s *Fund) InitCaller(rw web.ResponseWriter, req *web.Request, next web.NextMiddlewareFunc)
- func (s *Fund) InitGlobal(rw web.ResponseWriter, req *web.Request)
- func (s *Fund) Query(rw web.ResponseWriter, req *web.Request)
- func (s *Fund) QueryAddress(rw web.ResponseWriter, req *web.Request)
- func (s *Fund) QueryGlobal(rw web.ResponseWriter, req *web.Request)
- func (s *Fund) QueryTransfer(rw web.ResponseWriter, req *web.Request)
- type FundBatch
- type FundBatchRouter
- type FundEntry
- type FundRouter
- type Subscription
- func (s *Subscription) InitCaller(rw web.ResponseWriter, req *web.Request, next web.NextMiddlewareFunc)
- func (s *Subscription) NewContract(rw web.ResponseWriter, req *web.Request)
- func (s *Subscription) QueryContract(rw web.ResponseWriter, req *web.Request)
- func (s *Subscription) Redeem(rw web.ResponseWriter, req *web.Request)
- type SubscriptionRouter
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) InitCaller ¶
func (s *Fund) InitCaller(rw web.ResponseWriter, req *web.Request, next web.NextMiddlewareFunc)
type FundBatch ¶
type FundBatchRouter ¶
func CreateFundBatchRouter ¶
func CreateFundBatchRouter(root util.TxBatchRouter, path string) FundBatchRouter
func (FundBatchRouter) BuildRoutes ¶
func (r FundBatchRouter) BuildRoutes()
type FundEntry ¶
type FundRouter ¶
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 ¶
func CreatSubscriptionRouter ¶
func CreatSubscriptionRouter(root util.TxRouter, path string) SubscriptionRouter
func (SubscriptionRouter) BuildRoutes ¶
func (r SubscriptionRouter) BuildRoutes()
func (SubscriptionRouter) Init ¶
func (r SubscriptionRouter) Init() SubscriptionRouter
Click to show internal directories.
Click to hide internal directories.