Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cubicdaiya/slackboard
/ functions
Functions
35 in github.com/cubicdaiya/slackboard
⨍
Functions
35
◇
Types & classes
16
↓ 12 callers
Function
sendResponse
(w http.ResponseWriter, msg string, code int)
slackboard/response.go:13
↓ 8 callers
Function
jsonBytesEqual
(a, b []byte)
slackboard/notify_test.go:552
↓ 6 callers
Function
LogAcceptedRequest
(r *http.Request, tag string)
slackboard/log.go:74
↓ 4 callers
Function
sendNotification2Slack
(payload *SlackPayload, sync bool)
slackboard/notify.go:64
↓ 3 callers
Function
PrintVersion
()
slackboard/version.go:8
↓ 2 callers
Function
NewQPSPerSlackEndpoint
NewQPSPerSlackEndpoint initializes QPSPerSlackEndpoint.
slackboard/qps.go:16
↓ 2 callers
Function
SendNotification2Slackboard
(server string, payload *SlackboardPayload, retry *Retry)
slackboard/cli.go:101
↓ 2 callers
Function
SendNotification2SlackboardDirectly
(server string, payload *SlackboardDirectPayload, retry *Retry)
slackboard/cli.go:87
↓ 2 callers
Function
SetLogLevel
(log *logrus.Logger, levelString string)
slackboard/log.go:65
↓ 2 callers
Function
SetLogOut
(log *logrus.Logger, outString string)
slackboard/log.go:49
↓ 2 callers
Function
sendNotification2Slackboard
(server, api, body string, retry *Retry)
slackboard/cli.go:30
↓ 1 callers
Method
Available
Available takes count from the bucket. If it is not available immediately, do nothing and return false.
slackboard/qps.go:37
↓ 1 callers
Function
BuildDefaultConf
()
slackboard/conf.go:42
↓ 1 callers
Method
Format
(entry *logrus.Entry)
slackboard/log.go:37
↓ 1 callers
Function
LoadConf
(confPath string, confToml *ConfToml)
slackboard/conf.go:57
↓ 1 callers
Function
RegisterAPIs
()
slackboard/server.go:18
↓ 1 callers
Function
Run
()
slackboard/server.go:24
↓ 1 callers
Method
WaitAndAvailable
WaitAndAvailable waits until the bucket becomes available
slackboard/qps.go:46
↓ 1 callers
Function
createInJSONStr
(sync string)
slackboard/notify_test.go:571
↓ 1 callers
Function
multiLineStringEqual
(a, b string)
slackboard/notify_test.go:563
Method
Dial
(proto, addr string)
slackboard/cli.go:26
Function
InitLog
()
slackboard/log.go:45
Function
NotifyDirectlyHandler
(w http.ResponseWriter, r *http.Request)
slackboard/notify.go:239
Function
NotifyHandler
(w http.ResponseWriter, r *http.Request)
slackboard/notify.go:139
Function
TestNotifyDirectlyHandlerQPS
(t *testing.T)
slackboard/notify_test.go:327
Function
TestNotifyDirectlyHandlerSlackServerError_IncomingWebhook
(t *testing.T)
slackboard/notify_test.go:279
Function
TestNotifyDirectlyHandlerSlackServerError_PostMessage
(t *testing.T)
slackboard/notify_test.go:231
Function
TestNotifyDirectlyHandler_IncomingWebhook
(t *testing.T)
slackboard/notify_test.go:128
Function
TestNotifyDirectlyHandler_PostMessage
(t *testing.T)
slackboard/notify_test.go:22
Function
init
()
slackboard/server.go:14
Function
init
()
slackboard/conf.go:38
Function
init
()
slackboard/log.go:28
Function
main
()
cmd/slackboard/slackboard.go:10
Function
main
()
cmd/slackboard-log/slackboard-log.go:15
Function
main
()
cmd/slackboard-cli/slackboard-cli.go:14