Documentation ¶
Index ¶
Constants ¶
View Source
const FmtJson = "json"
View Source
const KeyHubMode = "hub.mode"
View Source
const KeyHubTopic = "hub.topic"
Variables ¶
View Source
var ErrConflict = errors.New("conflict")
View Source
var ErrInternal = errors.New("internal failure")
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
func MakeCallbackUrl ¶
Types ¶
type Service ¶
type Service interface { CreateCallback(ctx context.Context, subId, url string) (err error) GetCallback(ctx context.Context, subId, url string) (cb Callback, err error) DeleteCallback(ctx context.Context, subId, url string) (err error) ListByUrl(ctx context.Context, limit uint32, url, cursor string) (page []string, err error) }
Click to show internal directories.
Click to hide internal directories.