github.com/Rookout/GoSDK@v0.1.48/interface.go (about) 1 //go:build go1.15 && !go1.22 && cgo && (amd64 || arm64) 2 // +build go1.15 3 // +build !go1.22 4 // +build cgo 5 // +build amd64 arm64 6 7 package rookout 8 9 import ( 10 "github.com/Rookout/GoSDK/pkg/config" 11 _ "github.com/Rookout/GoSDK/pkg/services/instrumentation/hooker" 12 ) 13 14 type RookOptions = config.RookOptions 15 16 func Start(opts RookOptions) error { 17 start(opts) 18 return nil 19 } 20 21 func Stop() { 22 stop() 23 } 24 25 func Flush() { 26 flush() 27 }