Documentation
¶
Index ¶
- type TeeInfo
- type TeeRecord
- func (t *TeeRecord) DeleteTee(pubkeyhex string)
- func (t *TeeRecord) GetAllMarkerTeeEndpoint() []string
- func (t *TeeRecord) GetAllTeeEndpoint() []string
- func (t *TeeRecord) GetAllTeePubkeyHex() []string
- func (t *TeeRecord) GetAllVerifierTeeEndpoint() []string
- func (t *TeeRecord) GetTee(pubkeyhex string) (TeeInfo, error)
- func (t *TeeRecord) GetTeePubkeyByEndpoint(endpoint string) ([]byte, error)
- func (t *TeeRecord) GetTeePubkeyHexByEndpoint(endpoint string) (string, error)
- func (t *TeeRecord) Length() int
- func (t *TeeRecord) SaveTee(pubkeyhex, endPoint string, teeType uint8) error
- type TeeRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TeeRecord ¶
type TeeRecord struct {
// contains filtered or unexported fields
}
func (*TeeRecord) GetAllMarkerTeeEndpoint ¶
func (*TeeRecord) GetAllTeeEndpoint ¶
func (*TeeRecord) GetAllTeePubkeyHex ¶
func (*TeeRecord) GetAllVerifierTeeEndpoint ¶
func (*TeeRecord) GetTeePubkeyByEndpoint ¶
func (*TeeRecord) GetTeePubkeyHexByEndpoint ¶
type TeeRecorder ¶
type TeeRecorder interface {
// SaveTee saves or updates tee information
SaveTee(pubkeyhex, endPoint string, teeType uint8) error
//
GetTee(pubkeyhex string) (TeeInfo, error)
//
GetTeePubkeyHexByEndpoint(endpoint string) (string, error)
//
GetTeePubkeyByEndpoint(endpoint string) ([]byte, error)
//
DeleteTee(pubkeyhex string)
//
GetAllTeePubkeyHex() []string
//
GetAllTeeEndpoint() []string
//
GetAllMarkerTeeEndpoint() []string
//
GetAllVerifierTeeEndpoint() []string
//
Length() int
}
func NewTeeRecord ¶
func NewTeeRecord() TeeRecorder
Click to show internal directories.
Click to hide internal directories.