server

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIServer

func NewAPIServer() *apiServer

func NewMCPServer added in v0.6.0

func NewMCPServer(version string) *mcp.Server

func ReloadSigmaRule added in v0.4.0

func ReloadSigmaRule(ctx context.Context, req *mcp.CallToolRequest, _ any) (*mcp.CallToolResult, any, error)

func SetGRPCClient added in v0.6.0

func SetGRPCClient(c api.TWLogEyeServiceClient)

func StartAPIServer

func StartAPIServer(ctx context.Context, wg *sync.WaitGroup, port int, cert, key, caCert string, sigTerm chan os.Signal)

func StartMCPServer added in v0.2.0

func StartMCPServer(ctx context.Context, wg *sync.WaitGroup, cert, key, version string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址