Documentation
¶
Index ¶
- Constants
- type Client
- type Execute
- type ExecuteReply
- type InitTransaction
- type InitTransactionReply
- type InitUnit
- type InitUnitReply
- type Service
- func (s *Service) Execute(req *Execute) (*ExecuteReply, error)
- func (s *Service) InitTransaction(req *InitTransaction) (*InitTransactionReply, error)
- func (s *Service) InitUnit(req *InitUnit) (*InitUnitReply, error)
- func (s *Service) NewProtocol(tn *onet.TreeNodeInstance, conf *onet.GenericConfig) (onet.ProtocolInstance, error)
Constants ¶
View Source
const ServiceName = "libexec_svc"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) Execute ¶
func (c *Client) Execute(input base.ExecuteInput, execReq *core.ExecutionRequest) (*ExecuteReply, error)
func (*Client) InitTransaction ¶
type Execute ¶
type Execute struct {
Input base.ExecuteInput
ExecReq core.ExecutionRequest
}
type ExecuteReply ¶
type ExecuteReply struct {
Output base.ExecuteOutput
InputReceipts map[string]*core.OpcodeReceipt
OutputReceipts map[string]*core.OpcodeReceipt
}
type InitTransaction ¶
type InitTransaction struct {
Input base.InitTxnInput
}
type InitTransactionReply ¶
type InitTransactionReply struct {
Plan core.ExecutionPlan
}
type InitUnitReply ¶
type InitUnitReply struct{}
type Service ¶
type Service struct {
*onet.ServiceProcessor
// contains filtered or unexported fields
}
func (*Service) InitTransaction ¶
func (s *Service) InitTransaction(req *InitTransaction) (*InitTransactionReply, error)
func (*Service) NewProtocol ¶
func (s *Service) NewProtocol(tn *onet.TreeNodeInstance, conf *onet.GenericConfig) (onet.ProtocolInstance, error)
Click to show internal directories.
Click to hide internal directories.