MCPcopy Create free account
hub / github.com/eapache/channels / sharedBufferChannel

Struct sharedBufferChannel

shared_buffer.go:11–16  ·  view source on GitHub ↗

sharedBufferChannel implements SimpleChannel and is created by the public SharedBuffer type below

Source from the content-addressed store, hash-verified

9//sharedBufferChannel implements SimpleChannel and is created by the public
10//SharedBuffer type below
11type sharedBufferChannel struct {
12 in chan interface{}
13 out chan interface{}
14 buf *queue.Queue
15 closed bool
16}
17
18func (sch *sharedBufferChannel) In() chan<- interface{} {
19 return sch.in

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected