mirror of
https://github.com/syntrex-lab/gomcp.git
synced 2026-05-07 18:42:37 +02:00
15 lines
430 B
Go
15 lines
430 B
Go
//go:build !sentinel_native
|
|
|
|
package engines
|
|
|
|
import "errors"
|
|
|
|
// NativeSentinelCore is a dummy to make compilation pass when tag is missing.
|
|
type NativeSentinelCore struct {
|
|
StubSentinelCore
|
|
}
|
|
|
|
// NewNativeSentinelCore returns an error when built without sentinel_native tag.
|
|
func NewNativeSentinelCore() (*NativeSentinelCore, error) {
|
|
return nil, errors.New("sentinel_native build tag not provided; native engine disabled")
|
|
}
|