server

package
v0.0.33 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: MIT Imports: 6 Imported by: 8

Documentation

Overview

Package server provides a way to access a server TODO: consider moving this into gin helper

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server is a way to access a server listener.

func (Server) ListenAndServe

func (s Server) ListenAndServe(ctx context.Context, port string, handler *gin.Engine) error

ListenAndServe provides a way to listen and serve a server with context.

Jump to

Keyboard shortcuts

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