squid

package
v0.0.0-...-8bb615b Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	Id   int
	Url  string
	Args map[string]string
}

func ParseRequest

func ParseRequest(line string) *Request

func (*Request) MakeResponse

func (r *Request) MakeResponse() *Response

type Response

type Response struct {
	Id     int
	Result string
	Args   map[string]string
}

func (*Response) Format

func (r *Response) Format() string

func (*Response) RewriteTo

func (r *Response) RewriteTo(dest string)

func (*Response) SetArg

func (r *Response) SetArg(arg string, value string)

func (*Response) StoreId

func (r *Response) StoreId(id string)

Jump to

Keyboard shortcuts

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