server

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package server provides an HTTP server for on-demand Go binaries.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// URL is the API endpoint URL.
	URL string

	// Static file directory.
	Static string

	// Store is the object storage.
	Storage gobinaries.Storage

	// Resolver is the version resolver.
	Resolver gobinaries.Resolver
	// contains filtered or unexported fields
}

Server is the binary server.

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP implementation.

Jump to

Keyboard shortcuts

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