Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Marshaler ¶
func JSONMarshaler ¶
func JSONMarshaler(v interface{}) Marshaler
type Message ¶
func NewMessage ¶
type MockStorage ¶
type MockStorage struct {
// contains filtered or unexported fields
}
func NewMockStorage ¶
func NewMockStorage(bufferSize int) (*MockStorage, error)
func (*MockStorage) Close ¶
func (s *MockStorage) Close() error
func (*MockStorage) Successes ¶
func (s *MockStorage) Successes() <-chan *Message
func (*MockStorage) Write ¶
func (s *MockStorage) Write(msg *Message) error
type StringMarshaler ¶
type StringMarshaler string
func (StringMarshaler) Marshal ¶
func (s StringMarshaler) Marshal() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.