mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-03 08:40:36 +00:00
20 lines
361 B
Go
20 lines
361 B
Go
//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
|
|
}
|