http

package
v0.0.0-...-04c4af4 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Options)

func WithPort

func WithPort(port int) Option

type Options

type Options struct {
	Port int
}

func (*Options) MergeIn

func (o *Options) MergeIn(opts ...Option)

type Server

type Server struct {
	providers.AbstractRunProvider

	Opts   *Options
	Server *gin.Engine
}

func New

func New(opts ...Option) *Server

func (*Server) Init

func (p *Server) Init() error

func (*Server) Run

func (p *Server) Run() error

Jump to

Keyboard shortcuts

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