Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallerImplementation ¶
type CallerImplementation struct { lifecycles.Worker Handlers // contains filtered or unexported fields }
type HandlersImplementation ¶
type HandlersImplementation struct {
// contains filtered or unexported fields
}
func NewHandlers ¶
func NewHandlers() *HandlersImplementation
func (*HandlersImplementation) AddHandler ¶
func (h *HandlersImplementation) AddHandler(endpoint string, handler Handler) error
func (*HandlersImplementation) GetHandler ¶
func (h *HandlersImplementation) GetHandler(endpoint string) (Handler, error)
func (*HandlersImplementation) RemoveHandler ¶
func (h *HandlersImplementation) RemoveHandler(endpoint string) error
type ReaderImplementation ¶
type ReaderImplementation struct { lifecycles.Worker Handlers // contains filtered or unexported fields }
func NewReader ¶
func NewReader(name string) *ReaderImplementation
type Writer ¶
type Writer interface { lifecycles.Worker Handlers SetState(data json.RawMessage) (err error) }
type WriterImplementation ¶
type WriterImplementation struct { lifecycles.Worker Handlers // contains filtered or unexported fields }
func NewWriter ¶
func NewWriter( name string, entityID ksuid.KSUID, getStateCallback func() (interface{}, error), ) *WriterImplementation
func NewWriterWithOverrides ¶
func (*WriterImplementation) SetState ¶
func (w *WriterImplementation) SetState(data json.RawMessage) (err error)
Click to show internal directories.
Click to hide internal directories.