endpoint

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeAttestationEndpoint

func MakeAttestationEndpoint(s agent.Service) endpoint.Endpoint

Types

type AttestationRequest

type AttestationRequest struct {
	ReportData string `json:"report_data"`
	Nonce      string `json:"nonce"`
	ToJSON     bool   `json:"to_json"`
}

type AttestationResponse

type AttestationResponse struct {
	Report []byte `json:"report,omitempty"`
	Err    error  `json:"err,omitempty"`
}

func (AttestationResponse) Failed

func (r AttestationResponse) Failed() error

type Endpoints

type Endpoints struct {
	Attestation endpoint.Endpoint
}

func MakeEndpoints

func MakeEndpoints(s agent.Service) Endpoints

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL