Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallbacksHandler ¶
type CallbacksHandler struct {
// contains filtered or unexported fields
}
func (*CallbacksHandler) NotifyUpdate ¶
func (c *CallbacksHandler) NotifyUpdate(namespace, key string)
func (*CallbacksHandler) RegisterCallback ¶
func (c *CallbacksHandler) RegisterCallback(namespace, key, callback string)
type HttpServer ¶
type HttpServer interface {
ServeRequests()
}
func GetHttpServer ¶
func GetHttpServer(db data.Storage, notifier UpdatesNotifier) HttpServer
type PutProperty ¶
type StoreBackedServer ¶
type StoreBackedServer struct {
// contains filtered or unexported fields
}
func (*StoreBackedServer) ServeRequests ¶
func (h *StoreBackedServer) ServeRequests()
type UpdatesNotifier ¶
type UpdatesNotifier interface { NotifyUpdate(namespace, key string) RegisterCallback(namespace, key, callback string) }
func GetCallbacksHandler ¶
func GetCallbacksHandler(callbacksMapping map[string]string) UpdatesNotifier
type WebhookProperty ¶
Click to show internal directories.
Click to hide internal directories.