http

package
v0.0.0-...-84d0236 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Router *gin.Engine
	// contains filtered or unexported fields
}

func New

func New(port string) *Server

Create a new instance of the http.Server struct

func (*Server) Setup

func (s *Server) Setup() *Server

Setup the server with the necessary configurations

func (*Server) Start

func (s *Server) Start()

Run the server with the port defined on instantiation

Jump to

Keyboard shortcuts

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