handler

package
Version: v0.0.0-...-1730ba2 Latest Latest
Warning

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

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

Documentation

Overview

Package handler has a set of handlers for different purposes, like gRPC and regular HTTP

Package handler has a set of handlers for different purposes, like gRPC and regular HTTP

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTTPHandler

func HTTPHandler(w http.ResponseWriter, _ *http.Request)

HTTPHandler handles an HTTP request

func RegisterGrpcHandler

func RegisterGrpcHandler(s *grpc.Server)

RegisterGrpcHandler self registers this handler with the GRPC server

Types

type QaclanaGrpcServer

type QaclanaGrpcServer struct{}

QaclanaGrpcServer is a representation of the operations available remotely

func (*QaclanaGrpcServer) Process

func (s *QaclanaGrpcServer) Process(ctx context.Context, in *qaclana.Request) (*qaclana.Empty, error)

Process takes incoming HTTP requests and passes through the processors

func (*QaclanaGrpcServer) SystemStateChange

func (s *QaclanaGrpcServer) SystemStateChange(in *qaclana.Empty, stream qaclana.RequestService_SystemStateChangeServer) error

SystemStateChange streams the system state changes to downstream firewall instances

Source Files

Jump to

Keyboard shortcuts

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