server

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 0 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server interface {
	// Listen is used to listen for requests
	// The Listen method returns an error
	// The error is nil if the server is listening successfully
	Listen() error
}

Server is the interface that must be implemented by a server It is used to listen for requests The Listen method is used to listen for requests The Listen method returns an error The error is nil if the server is listening successfully

Jump to

Keyboard shortcuts

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