http

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Definitions

type Definitions struct {
	DisableAuth          bool `toml:"disable_auth,omitempty" default:"false" json:"disable_auth"`
	DisablePanicRecovery bool `toml:"disable_panic_recovery,omitempty" default:"false" json:"disable_panic_recovery"`
	MaxRequestBodySize   int  `toml:"max_request_body_size,omitempty" default:"4" json:"max_request_body_size"` // in megabytes
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func New

func New() *Server

func (*Server) Info

func (s *Server) Info() []flogger.Attribute

func (*Server) Initialize

func (s *Server) Initialize(ctx context.Context, opt *plugin.ServiceOptions) error

func (*Server) Name

func (s *Server) Name() string

func (*Server) Run

func (s *Server) Run(_ context.Context, _ interface{}) error

func (*Server) Stop

func (s *Server) Stop(_ context.Context) error

Jump to

Keyboard shortcuts

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