Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ahmetb/dlog
/ functions
Functions
19 in github.com/ahmetb/dlog
⨍
Functions
19
◇
Types & classes
2
↓ 9 callers
Function
msg
(fd int8, b []byte)
reader_test.go:146
↓ 1 callers
Method
parse
()
reader.go:65
↓ 1 callers
Method
readMsg
(p []byte)
reader.go:56
↓ 1 callers
Function
same
(a, b []byte)
reader_test.go:159
Function
ExampleNewReader
()
example_test.go:14
Function
NewReader
NewReader returns a reader that strips off the message headers from the underlying raw docker logs stream and returns the messages.
reader.go:32
Method
Read
(p []byte)
reader_test.go:155
Method
Read
(p []byte)
reader.go:39
Function
Test_corruptMessage_missingBody
(t *testing.T)
reader_test.go:99
Function
Test_corruptMessage_partialBody
(t *testing.T)
reader_test.go:110
Function
Test_corruptPrefixInMiddle
(t *testing.T)
reader_test.go:26
Function
Test_growsInitialBuffer
(t *testing.T)
reader_test.go:66
Function
Test_messageLimit_atLimit
(t *testing.T)
reader_test.go:78
Function
Test_messageLimit_exceeds
(t *testing.T)
reader_test.go:87
Function
Test_messageReadFailure
(t *testing.T)
reader_test.go:122
Function
Test_prefixReadFailure
(t *testing.T)
reader_test.go:38
Function
Test_tooShortForPrefix
(t *testing.T)
reader_test.go:15
Function
Test_twoSmallMessages_parsedCorrectly
(t *testing.T)
reader_test.go:135
Function
Test_unrecognizedStreamByte
(t *testing.T)
reader_test.go:55