webserver

package
v0.0.0-...-78ae391 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Home

func Home(w http.ResponseWriter, r *http.Request)

Types

type Response

type Response struct {
	Status  uint   `json:"status"`
	Message string `json:"message"`
	Data    any    `json:"data"`
}

func NewResponse

func NewResponse(status uint, message string) *Response

func (*Response) Write

func (r *Response) Write(w http.ResponseWriter)

type RingData

type RingData struct {
	Name            string
	Host            string
	ProtocolVersion string
	ApplicationName string
	Description     string
}
var Data *RingData

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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