Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrClientRequired = status.Errorf(codes.InvalidArgument, "a client is required.") ErrClientNameRequired = status.Errorf(codes.InvalidArgument, "a client name is required.") )
Request parameters validation errors
Functions ¶
This section is empty.
Types ¶
type GRPCServer ¶
GRPCServer defines available endpoints on a GRPC server
func NewGRPCServer ¶
func NewGRPCServer(scfg config.ServerCfg, e4Service services.E4, eventDispatcher events.Dispatcher, logger log.FieldLogger) GRPCServer
NewGRPCServer creates a new server over GRPC
type HTTPServer ¶
HTTPServer defines methods available on a C2 HTTP server
func NewHTTPServer ¶
func NewHTTPServer(scfg config.HTTPServerCfg, grpcCertPath string, logger log.FieldLogger) HTTPServer
NewHTTPServer creates a new http server for C2
Click to show internal directories.
Click to hide internal directories.