Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/brutella/can
/ types & classes
Types & classes
16 in github.com/brutella/can
⨍
Functions
52
◇
Types & classes
16
Struct
Bus
Bus represents the CAN bus. Handlers can subscribe to receive frames. Frame are sent using the *Publish* method.
bus.go:11
Struct
Frame
Frame represents a standard CAN data frame
frame.go:9
Interface
Handler
The Handler interfaces defines a method to receive a frame.
handler.go:4
FuncType
HandlerFunc
HandlerFunc defines the function type to handle a frame.
handler.go:9
Interface
ReadWriteCloser
The ReadWriteCloser interface combines the Reader and Writer and `io.Closer` interface.
readwritecloser.go:23
Interface
Reader
The Reader interface extends the `io.Reader` interface by method to read a frame.
readwritecloser.go:9
Struct
WaitResponse
A WaitResponse encapsulates the response of waiting for a frame.
wait.go:9
Interface
Writer
The Writer interface extends the `io.Writer` interface by method to write a frame.
readwritecloser.go:16
Struct
echoReadWriteCloser
test_readwritecloser.go:9
Struct
errReader
frame.go:53
Struct
errWriter
frame.go:64
Struct
filter
filter.go:3
Struct
handler
handler.go:11
Struct
readWriteCloser
readwritecloser.go:30
Struct
testHandler
bus_test.go:18
Struct
waiter
wait.go:14