http

package
v0.0.0-...-97daa34 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 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