Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StackExchange/httpunit
/ functions
Functions
233 in github.com/StackExchange/httpunit
⨍
Functions
233
◇
Types & classes
83
↓ 40 callers
Method
next
()
_third_party/github.com/BurntSushi/toml/lex.go:126
↓ 35 callers
Method
String
()
_third_party/github.com/BurntSushi/toml/lex.go:872
↓ 29 callers
Method
errorf
errorf stops all lexing by emitting an error and returning `nil`. Note that any value that is a character is escaped if it's a special character (new
_third_party/github.com/BurntSushi/toml/lex.go:172
↓ 23 callers
Method
backup
backup steps back one rune. Can be called only once per call of next.
_third_party/github.com/BurntSushi/toml/lex.go:146
↓ 21 callers
Method
emit
(typ itemType)
_third_party/github.com/BurntSushi/toml/lex.go:116
↓ 19 callers
Function
Decode
Decode will decode the contents of `data` in TOML format into a pointer `v`. TOML hashes correspond to Go structs or maps. (Dealer's choice. They can
_third_party/github.com/BurntSushi/toml/decode.go:105
↓ 19 callers
Method
Type
Type returns a string representation of the type of the key specified. Type will return the empty string if given an empty key or a key that does not
_third_party/github.com/BurntSushi/toml/decode_meta.go:46
↓ 19 callers
Method
ignore
ignore skips over the pending input before this point.
_third_party/github.com/BurntSushi/toml/lex.go:141
↓ 16 callers
Method
pop
()
_third_party/github.com/BurntSushi/toml/lex.go:103
↓ 14 callers
Method
bug
(format string, v ...interface{})
_third_party/github.com/BurntSushi/toml/parse.go:83
↓ 14 callers
Method
wf
(format string, v ...interface{})
_third_party/github.com/BurntSushi/toml/encode.go:507
↓ 12 callers
Method
push
(state stateFn)
_third_party/github.com/BurntSushi/toml/lex.go:99
↓ 11 callers
Function
encPanic
(err error)
_third_party/github.com/BurntSushi/toml/encode.go:518
↓ 10 callers
Method
Len
()
_third_party/github.com/BurntSushi/toml/type_fields.go:28
↓ 10 callers
Function
isWhitespace
isWhitespace returns true if `r` is a whitespace character according to the spec.
_third_party/github.com/BurntSushi/toml/lex.go:804
↓ 10 callers
Method
next
()
_third_party/github.com/BurntSushi/toml/parse.go:75
↓ 10 callers
Function
typeEqual
typeEqual accepts any two types and returns true if they are equal.
_third_party/github.com/BurntSushi/toml/type_check.go:12
↓ 9 callers
Function
badtype
(expected string, data interface{})
_third_party/github.com/BurntSushi/toml/decode.go:485
↓ 9 callers
Function
isNL
(r rune)
_third_party/github.com/BurntSushi/toml/lex.go:808
↓ 9 callers
Method
typeOfPrimitive
typeOfPrimitive returns a tomlType of any primitive value in TOML. Primitive values are: Integer, Float, Datetime, String and Bool. Passing a lexer i
_third_party/github.com/BurntSushi/toml/type_check.go:49
↓ 8 callers
Method
accept
accept consumes the next rune if it's equal to `valid`.
_third_party/github.com/BurntSushi/toml/lex.go:154
↓ 8 callers
Function
isDigit
(r rune)
_third_party/github.com/BurntSushi/toml/lex.go:812
↓ 8 callers
Method
panicf
(format string, v ...interface{})
_third_party/github.com/BurntSushi/toml/parse.go:69
↓ 7 callers
Function
encodeExpected
( t *testing.T, label string, val interface{}, wantStr string, wantErr error, )
_third_party/github.com/BurntSushi/toml/encode_test.go:494
↓ 7 callers
Function
lexSkip
lexSkip ignores all slurped input and moves on to the next state.
_third_party/github.com/BurntSushi/toml/lex.go:795
↓ 7 callers
Function
printStringsIfExist
(w *bufio.Writer, label string, list []string)
cmd/httpunit/main.go:46
↓ 6 callers
Method
unify
unify performs a sort of type unification based on the structure of `rv`, which is the client representation. Any type mismatch produces an error. Fi
_third_party/github.com/BurntSushi/toml/decode.go:142
↓ 5 callers
Function
Sort
Sort sorts the provided slice using the function less. If slice is not a slice, Sort panics.
_third_party/github.com/bradfitz/slice/slice.go:25
↓ 5 callers
Method
add
(piece string)
_third_party/github.com/BurntSushi/toml/decode_meta.go:85
↓ 5 callers
Function
isNil
(rv reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:531
↓ 5 callers
Method
newline
()
_third_party/github.com/BurntSushi/toml/encode.go:491
↓ 5 callers
Function
tomlTypeOfGo
tomlTypeName returns the TOML type name of the Go value's type. It is used to determine whether the types of array elements are mixed (which is forbid
_third_party/github.com/BurntSushi/toml/encode.go:368
↓ 4 callers
Method
Encode
Encode writes a TOML representation of the Go value to the underlying io.Writer. If the value given cannot be encoded to a valid TOML document, then a
_third_party/github.com/BurntSushi/toml/encode.go:86
↓ 4 callers
Method
Error
()
_third_party/github.com/BurntSushi/toml/parse.go:36
↓ 4 callers
Function
NewEncoder
NewEncoder returns a TOML encoder that encodes Go values to the io.Writer given. By default, a single indentation level is 2 spaces.
_third_party/github.com/BurntSushi/toml/encode.go:56
↓ 4 callers
Method
current
()
_third_party/github.com/BurntSushi/toml/lex.go:112
↓ 4 callers
Function
eindirect
(v reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:522
↓ 4 callers
Function
indirect
indirect returns the value pointed to by a pointer. Pointers are followed until the value is not a pointer. New values are allocated for each nil poin
_third_party/github.com/BurntSushi/toml/decode.go:459
↓ 4 callers
Method
peek
peek returns but does not consume the next rune in the input.
_third_party/github.com/BurntSushi/toml/lex.go:163
↓ 4 callers
Function
rvalue
rvalue returns a reflect.Value of `v`. All pointers are resolved.
_third_party/github.com/BurntSushi/toml/decode.go:449
↓ 3 callers
Method
Name
()
_third_party/github.com/BurntSushi/toml/decode_test.go:916
↓ 3 callers
Method
assertEqual
(expected, got itemType)
_third_party/github.com/BurntSushi/toml/parse.go:93
↓ 3 callers
Method
emitTrim
(typ itemType)
_third_party/github.com/BurntSushi/toml/lex.go:121
↓ 3 callers
Method
encode
(key Key, rv reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:108
↓ 3 callers
Method
indentStr
(key Key)
_third_party/github.com/BurntSushi/toml/encode.go:514
↓ 3 callers
Function
isBareKeyChar
(r rune)
_third_party/github.com/BurntSushi/toml/lex.go:822
↓ 3 callers
Method
keyEqElement
(key Key, val reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:497
↓ 3 callers
Method
keyString
Gets a string for a key (or part of a key in a table name).
_third_party/github.com/BurntSushi/toml/parse.go:146
↓ 3 callers
Method
maybeQuotedAll
()
_third_party/github.com/BurntSushi/toml/decode_meta.go:62
↓ 3 callers
Function
panicIfInvalidKey
(key Key)
_third_party/github.com/BurntSushi/toml/encode.go:540
↓ 3 callers
Method
setType
setType sets the type of a particular value at a given key. It should be called immediately AFTER setValue. Note that if `key` is empty, then the typ
_third_party/github.com/BurntSushi/toml/parse.go:361
↓ 3 callers
Method
typeString
()
_third_party/github.com/BurntSushi/toml/type_check.go:8
↓ 2 callers
Method
Expand
Expand expands s into IP addresses. A successful return will consist of valid IP addresses or "*". The following process is repeated until there are n
httpunit.go:169
↓ 2 callers
Method
MarshalText
()
_third_party/github.com/BurntSushi/toml/encoding_types_1.1.go:11
↓ 2 callers
Function
SortInterface
SortInterface returns a sort.Interface to sort the provided slice using the function less.
_third_party/github.com/bradfitz/slice/slice.go:31
↓ 2 callers
Method
Undecoded
Undecoded returns all keys that have not been decoded in the order in which they appear in the original TOML document. This includes keys that haven'
_third_party/github.com/BurntSushi/toml/decode_meta.go:114
↓ 2 callers
Method
addr
()
httpunit.go:440
↓ 2 callers
Method
asciiEscapeToUnicode
(bs []byte)
_third_party/github.com/BurntSushi/toml/parse.go:477
↓ 2 callers
Method
eElement
eElement encodes any value that can be an array element (primitives and arrays).
_third_party/github.com/BurntSushi/toml/encode.go:157
↓ 2 callers
Method
eMapOrStruct
(key Key, rv reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:255
↓ 2 callers
Method
eTable
(key Key, rv reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:241
↓ 2 callers
Method
establishContext
establishContext sets the current context of the parser, where the context is either a hash or an array of hashes. Which one is set depends on the val
_third_party/github.com/BurntSushi/toml/parse.go:248
↓ 2 callers
Method
expect
(typ itemType)
_third_party/github.com/BurntSushi/toml/parse.go:87
↓ 2 callers
Function
floatAddDecimal
By the TOML spec, all floats must have a decimal with at least one number on either side.
_third_party/github.com/BurntSushi/toml/encode.go:200
↓ 2 callers
Function
getOptions
(keyName string)
_third_party/github.com/BurntSushi/toml/encode.go:444
↓ 2 callers
Function
isHexadecimal
(r rune)
_third_party/github.com/BurntSushi/toml/lex.go:816
↓ 2 callers
Function
lexConst
lexConst consumes the s[1:] in s. It assumes that s[0] has already been consumed.
_third_party/github.com/BurntSushi/toml/lex.go:743
↓ 2 callers
Method
maybeQuoted
(i int)
_third_party/github.com/BurntSushi/toml/decode_meta.go:70
↓ 2 callers
Function
newMemSwap
(size uintptr, baseMem, tempMem unsafe.Pointer)
_third_party/github.com/bradfitz/slice/slice.go:82
↓ 2 callers
Function
printCert
(w *bufio.Writer, c *x509.Certificate)
cmd/httpunit/main.go:58
↓ 2 callers
Function
printNames
(x []pkix.AttributeTypeAndValue)
cmd/httpunit/main.go:38
↓ 2 callers
Method
replaceEscapes
(str string)
_third_party/github.com/BurntSushi/toml/parse.go:417
↓ 2 callers
Method
setValue
setValue sets the given key to the given value in the current context. It will make sure that the key hasn't already been defined, account for implici
_third_party/github.com/BurntSushi/toml/parse.go:307
↓ 2 callers
Function
strEqual
(a, b []string)
httpunit.go:236
↓ 2 callers
Function
stripFirstNewline
(s string)
_third_party/github.com/BurntSushi/toml/parse.go:400
↓ 2 callers
Function
typeIsHash
(t tomlType)
_third_party/github.com/BurntSushi/toml/type_check.go:19
↓ 2 callers
Method
unifySliceArray
(data, rv reflect.Value)
_third_party/github.com/BurntSushi/toml/decode.go:317
↓ 2 callers
Method
value
value translates an expected value from the lexer into a Go value wrapped as an empty interface.
_third_party/github.com/BurntSushi/toml/parse.go:162
↓ 2 callers
Method
writeQuoted
(s string)
_third_party/github.com/BurntSushi/toml/encode.go:207
↓ 1 callers
Method
Cases
Cases computes the actual test cases from a test plan. filter and no10 are described in Plans.Test.
httpunit.go:268
↓ 1 callers
Method
IsDefined
IsDefined returns true if the key given exists in the TOML data. The key should be specified hierarchially. e.g., // access the TOML key 'a.b.c' Is
_third_party/github.com/BurntSushi/toml/decode_meta.go:23
↓ 1 callers
Method
Len
()
_third_party/github.com/bradfitz/slice/slice.go:107
↓ 1 callers
Method
Less
(i, j int)
_third_party/github.com/bradfitz/slice/slice_test.go:196
↓ 1 callers
Method
PrimitiveDecode
PrimitiveDecode is just like the other `Decode*` functions, except it decodes a TOML value that has already been parsed. Valid primitive values can *o
_third_party/github.com/BurntSushi/toml/decode.go:63
↓ 1 callers
Method
String
()
_third_party/github.com/BurntSushi/toml/decode_meta.go:58
↓ 1 callers
Method
Swap
(i, j int)
_third_party/github.com/bradfitz/slice/slice_test.go:197
↓ 1 callers
Method
Test
Test performs tests. Filter optionally specifies an IP filter to use. no10 disallows 10.* addresses. It returns a channel where results will be sent w
httpunit.go:105
↓ 1 callers
Function
Unmarshal
Unmarshal decodes the contents of `p` in TOML format into a pointer `v`.
_third_party/github.com/BurntSushi/toml/decode.go:22
↓ 1 callers
Method
UnmarshalTOML
(p interface{})
_third_party/github.com/BurntSushi/toml/decode_test.go:453
↓ 1 callers
Method
UnmarshalTOML
(interface{})
_third_party/github.com/BurntSushi/toml/decode.go:18
↓ 1 callers
Method
UnmarshalText
(text []byte)
_third_party/github.com/BurntSushi/toml/encoding_types_1.1.go:17
↓ 1 callers
Method
addImplicit
addImplicit sets the given Key as having been created implicitly.
_third_party/github.com/BurntSushi/toml/parse.go:373
↓ 1 callers
Function
cachedTypeFields
cachedTypeFields is like typeFields but uses a cache to avoid repeated work.
_third_party/github.com/BurntSushi/toml/type_fields.go:219
↓ 1 callers
Method
current
current returns the full key name of the current context.
_third_party/github.com/BurntSushi/toml/parse.go:390
↓ 1 callers
Function
doMain
()
cmd/httpunit/main.go:81
↓ 1 callers
Function
dominantField
dominantField looks through the fields, all of which are known to have the same name, to find the single field that dominates the others using Go's em
_third_party/github.com/BurntSushi/toml/type_fields.go:181
↓ 1 callers
Method
eArrayOfTables
(key Key, rv reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:224
↓ 1 callers
Method
eArrayOrSliceElement
(rv reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:211
↓ 1 callers
Method
eMap
(key Key, rv reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:266
↓ 1 callers
Method
eStruct
(key Key, rv reflect.Value)
_third_party/github.com/BurntSushi/toml/encode.go:299
next →
1–100 of 233, ranked by callers