base_http

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

The Digital Ocean App Platform HTTP gateway plugin

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

Create new HTTP gateway XXX: No External Args for function atm (currently the plugin loader does not pass any argument information)

Types

type BaseHttpGateway

type BaseHttpGateway struct {
	gateway.UnimplementedGatewayPlugin
	// contains filtered or unexported fields
}

func (*BaseHttpGateway) Start

func (s *BaseHttpGateway) Start(pool worker.WorkerPool) error

func (*BaseHttpGateway) Stop

func (s *BaseHttpGateway) Stop() error

type HttpMiddleware

type HttpMiddleware func(*fasthttp.RequestCtx, worker.WorkerPool) bool

Jump to

Keyboard shortcuts

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