Documentation ¶
Overview ¶
The Digital Ocean App Platform HTTP gateway plugin
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(mw HttpMiddleware) (gateway.GatewayService, error)
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
Click to show internal directories.
Click to hide internal directories.