Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidBody = fmt.Errorf("%w: invalid body", status.HTTP[400])
Functions ¶
This section is empty.
Types ¶
type External ¶
type External struct {
// contains filtered or unexported fields
}
func NewExternal ¶
func NewExternal( port string, instructionService *instruction.Service, resultService ResultService, teeInfo *info.Service, wallet *wallets.Service, privateKey *ecdsa.PrivateKey, enableDirect bool, actionQueues *queue.ActionQueues, apiKey string, ) *External
type Internal ¶
type Internal struct {
// contains filtered or unexported fields
}
func NewInternal ¶
func NewInternal(port string, actionQueues *queue.ActionQueues, resultService ResultService, wallet *wallets.Service, liveness liveness, ) *Internal
type ResultService ¶
type ResultService interface {
ProcessAndStore(context.Context, *types.ActionResponse) error
Serve(context.Context, common.Hash, types.SubmissionTag) (*types.ActionResponse, error)
}
Click to show internal directories.
Click to hide internal directories.