mirror of
https://github.com/syntrex-lab/gomcp.git
synced 2026-05-08 19:12:37 +02:00
chore: Apply dashboard audit remediations, sync engine counts, update APIs
This commit is contained in:
parent
53c87c972d
commit
5ddfa74771
14 changed files with 354 additions and 153 deletions
15
internal/domain/engines/ffi_sentinel_stub.go
Normal file
15
internal/domain/engines/ffi_sentinel_stub.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
//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")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue