Documentation ¶
Index ¶
- Variables
- func CreateCertificate(appId string) ([]byte, crypto.PrivateKey)
- func InitGramineEntry(hostfs util.Fs, isMain bool) (string, error)
- func LocalLoad(fs util.Fs, isMain bool) error
- func PreLoad(fs util.Fs, isMain bool) error
- func VerifyWorker(reportData *util.TeeParam, fs util.Fs, client *chain.ChainClient) ([]byte, error)
- type TeeExecutor
- type WorkerChannel
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultChainUrl string = "ws://wetee-node.worker-addon.svc.cluster.local:9944"
Functions ¶
func CreateCertificate ¶
func CreateCertificate(appId string) ([]byte, crypto.PrivateKey)
CreateCertificate create certificate
func VerifyWorker ¶
VerifyWorker 函数验证工人报告并返回签名者或错误
Types ¶
type TeeExecutor ¶
type TeeExecutor struct {
// contains filtered or unexported fields
}
func (*TeeExecutor) HandleTeeCall ¶
func (e *TeeExecutor) HandleTeeCall(w http.ResponseWriter, r *http.Request)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.