api

package
v0.0.0-...-0d671b9 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server interface {
	pb.C2AutomationEngineServer
	ListenAndServe(ctx context.Context) error
	RulesModifiedChan() <-chan bool
}

Server interface

func NewServer

func NewServer(
	cfg config.ServerCfg,
	ruleService services.RuleService,
	converter models.Converter,
	logger log.FieldLogger,
) Server

NewServer creates a new Server implementing the C2AutomationEngineServer interface

Jump to

Keyboard shortcuts

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