http

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHttpBaseServer

func NewHttpBaseServer(info *goforarun.InfoServer, handler http.HandlerFunc) goforarun.RunnableServer

Types

type BaseServer

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

func (*BaseServer) Info

func (cs *BaseServer) Info() *goforarun.InfoServer

func (*BaseServer) Run

func (cs *BaseServer) Run(ctx context.Context) error

func (*BaseServer) Shutdown

func (cs *BaseServer) Shutdown(ctx context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳