Documentation ¶ Index ¶ type Callback func NewCallback() *Callback func (c *Callback) Consume(ctx context.Context, model interface{}, attributes map[string]string) (bool, error) func (c *Callback) GetModel(attributes map[string]string) interface{} type DataModel Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Callback ¶ type Callback struct { // contains filtered or unexported fields } func NewCallback ¶ func NewCallback() *Callback func (*Callback) Consume ¶ func (c *Callback) Consume(ctx context.Context, model interface{}, attributes map[string]string) (bool, error) func (*Callback) GetModel ¶ func (c *Callback) GetModel(attributes map[string]string) interface{} type DataModel ¶ type DataModel struct { Id string Title string } Source Files ¶ View all Source files callback.go Click to show internal directories. Click to hide internal directories.