Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crawshaw/littleboss
/ functions
Functions
44 in github.com/crawshaw/littleboss
⨍
Functions
44
◇
Types & classes
7
↓ 24 callers
Method
String
()
littleboss.go:131
↓ 23 callers
Method
fatalf
(format string, args ...interface{})
littleboss.go:960
↓ 18 callers
Method
Command
Command gives littleboss a custom command mode flag name and value. By default littleboss creates a flag named -littleboss when Run is called, and se
littleboss.go:215
↓ 13 callers
Method
stderr
()
littleboss.go:952
↓ 11 callers
Method
Run
Run starts the little boss, with mainFn as the entry point to the service. Run does not return.
littleboss.go:222
↓ 8 callers
Function
goBuild
(t *testing.T, name, src string)
littleboss_test.go:558
↓ 6 callers
Method
Error
()
littleboss.go:990
↓ 6 callers
Method
exit
(code int)
littleboss.go:969
↓ 5 callers
Method
socketdir
()
littleboss.go:956
↓ 4 callers
Method
File
()
littleboss.go:286
↓ 4 callers
Method
Read
()
littleboss.go:994
↓ 4 callers
Method
Write
(s string)
littleboss.go:1008
↓ 3 callers
Method
handleStopBegin
(stopSignal chan int)
littleboss.go:488
↓ 2 callers
Method
collectFlags
()
littleboss.go:706
↓ 2 callers
Function
newPiper
(r, w *os.File)
littleboss.go:982
↓ 1 callers
Method
child
child is executed in the child process. It prepares the listener flags, connects the root context to the supervisor and calls mainFn.
littleboss.go:895
↓ 1 callers
Function
findGoTool
(t *testing.T)
littleboss_test.go:543
↓ 1 callers
Method
handleReload
(w *json.Encoder, req ipcReq)
littleboss.go:445
↓ 1 callers
Method
handleStatus
(w *json.Encoder)
littleboss.go:433
↓ 1 callers
Method
handleStop
(w *json.Encoder)
littleboss.go:462
↓ 1 callers
Method
handler
handler handles socket connections to a littleboss supervisor. These can be commands to stop, reload, or provide status.
littleboss.go:409
↓ 1 callers
Function
isASCIILetter
(r rune)
littleboss.go:1031
↓ 1 callers
Function
isDigit
(r rune)
littleboss.go:1032
↓ 1 callers
Method
isSupervisor
()
littleboss.go:965
↓ 1 callers
Function
isValidServiceName
(name string)
littleboss.go:1022
↓ 1 callers
Method
issueReload
issueReload sends a "reload" instruction to a running supervisor.
littleboss.go:809
↓ 1 callers
Method
issueStatus
issueStatus sends a "status" instruction to a running supervisor.
littleboss.go:852
↓ 1 callers
Method
issueStop
issueStop sends a "stop" instruction to a running supervisor.
littleboss.go:780
↓ 1 callers
Method
runChild
(childPath string)
littleboss.go:518
↓ 1 callers
Method
startBoss
()
littleboss.go:326
Method
Listener
()
littleboss.go:141
Method
Listener
(flagName, network, value, usage string)
littleboss.go:177
Method
Network
()
littleboss.go:140
Function
New
(serviceName string)
littleboss.go:148
Method
PacketConn
()
littleboss.go:142
Method
Set
(value string)
littleboss.go:143
Function
TestBlockingSIGINT
(t *testing.T)
littleboss_test.go:239
Function
TestBypass
(t *testing.T)
littleboss_test.go:66
Function
TestListenerFlag
(t *testing.T)
littleboss_test.go:416
Function
TestListenerFlagFD
(t *testing.T)
littleboss_test.go:496
Function
TestMain
(m *testing.M)
littleboss_test.go:531
Function
TestPFlag
(t *testing.T)
littleboss_test.go:286
Function
TestReloadFailure
(t *testing.T)
littleboss_test.go:327
Function
TestStartStopReload
(t *testing.T)
littleboss_test.go:133