Files
sub2api/backend/internal/platform/liveattestation/attestation_unsupported.go
T

20 lines
361 B
Go
Raw Normal View History

//go:build !darwin
package liveattestation
import "context"
type unsupportedProvider struct{}
func NewProvider() Provider {
return unsupportedProvider{}
}
func (unsupportedProvider) Check(context.Context) error {
return ErrUnsupportedPlatform
}
func (unsupportedProvider) Generate(context.Context) (string, error) {
return "", ErrUnsupportedPlatform
}