services

package
v0.0.0-...-9da643b Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResponseWrtierInterceptor

func NewResponseWrtierInterceptor(w http.ResponseWriter) *responseWriterInterceptor

func RegisterWebFlags

func RegisterWebFlags(f []cli.Flag) []cli.Flag

Types

type MyTransport

type MyTransport struct {
	http.Transport
}

func NewMyTransport

func NewMyTransport() *MyTransport

func (*MyTransport) RoundTrip

func (s *MyTransport) RoundTrip(req *http.Request) (resp *http.Response, err error)

type Web

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

func NewWeb

func NewWeb(c *cli.Context) *Web

func (*Web) Close

func (s *Web) Close()

func (*Web) Serve

func (s *Web) Serve() error

Jump to

Keyboard shortcuts

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