Documentation
¶
Index ¶
- func NewAPIServer() *apiServer
- func NewMCPServer(version string) *mcp.Server
- func ReloadSigmaRule(ctx context.Context, req *mcp.CallToolRequest, _ any) (*mcp.CallToolResult, any, error)
- func SetGRPCClient(c api.TWLogEyeServiceClient)
- func StartAPIServer(ctx context.Context, wg *sync.WaitGroup, port int, cert, key, caCert string, ...)
- func StartMCPServer(ctx context.Context, wg *sync.WaitGroup, cert, key, version string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAPIServer ¶
func NewAPIServer() *apiServer
func NewMCPServer ¶ added in v0.6.0
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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.