mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-24 10:23:41 +02:00
transport/channel.go: Rewrite to not use a interface. Action struct has a Channel() method that returns a channel instead.
This commit is contained in:
parent
8e99146cc2
commit
68c21c8ed8
9 changed files with 31 additions and 45 deletions
|
|
@ -7,5 +7,5 @@ package transport
|
|||
type Reader interface {
|
||||
// Read a message from a channel.
|
||||
// Read may block until a message is ready or an error occured.
|
||||
Read(channel ChannelInterface) ([]byte, error)
|
||||
Read(channel Channel) ([]byte, error)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue