GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — getJS/runner/objects.go at master · 003random/getJS Expand file tree/ Copy pathobjects.goMore file actions 50 lines (40 loc) · 902 Bytes / Copy pathobjects.goFile metadata and controls50 lines (40 loc) · 902 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 package runner import ( "io" "net/http" "net/url" "time" ) // Input represents an input source for getJS. The input format is determined by the `Type` property. type Input struct { Type InputType Data io.Reader } // InputType defines the type of input source for getJS. type InputType int const ( // InputURL defines the input format to line separated, plain text, URLs. InputURL InputType = iota // InputResponse defines the input format to a HTTP response body. InputResponse ) type runner struct { Options Options Results chan url.URL } // Options represents the configuration options for the runner. type Options struct { Request struct { Method string Headers http.Header InsecureSkipVerify bool Timeout time.Duration } Inputs []Input Outputs []io.Writer Complete bool Resolve bool Threads int Verbose bool Colors bool } |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |