mirror of
https://github.com/syntrex-lab/gomcp.git
synced 2026-05-18 13:45:13 +02:00
19 lines
589 B
Go
19 lines
589 B
Go
// Copyright 2026 Syntrex Lab. All rights reserved.
|
|
// Use of this source code is governed by an Apache-2.0 license
|
|
// that can be found in the LICENSE file.
|
|
|
|
//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")
|
|
}
|