Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/conf
/ functions
Functions
10 in github.com/cloudflare/conf
⨍
Functions
10
◇
Types & classes
2
↓ 40 callers
Function
assert
(t *testing.T, b bool)
conf_test.go:14
↓ 11 callers
Method
GetString
GetString reads a string value from the parsed config file and return it (or if it is missing then return the default value passed in d)
conf.go:89
↓ 10 callers
Method
CheckUnread
CheckUnread checks to see if any of the parameters in the file have not been read and returns a string containing those that have not been read.
conf.go:123
↓ 8 callers
Function
ReadConfigFile
ReadConfigFile reads an entire config file and return a Config structure that can be used to extract single values.
conf.go:37
↓ 8 callers
Function
makeFile
makeFile creates a file with the given contents, returns the file name. Returns an empty string on error.
conf_test.go:22
↓ 6 callers
Method
GetUint
GetUint reads an unsigned integer from the parsed config file and return it (or if it is missing then return the default value passed in d)
conf.go:104
Function
TestCheckErrors
(t *testing.T)
conf_test.go:108
Function
TestCheckUnread
(t *testing.T)
conf_test.go:91
Function
TestEmptyConfig
(t *testing.T)
conf_test.go:32
Function
TestSimpleConfig
(t *testing.T)
conf_test.go:41