MCPcopy
hub / github.com/gotify/server / GetStorage

Method GetStorage

plugin/testing/mock/mock.go:110–112  ·  view source on GitHub ↗

GetStorage sets current storage

()

Source from the content-addressed store, hash-verified

108
109// GetStorage sets current storage
110func (c *PluginInstance) GetStorage() ([]byte, error) {
111 return c.storageHandler.Load()
112}
113
114// RegisterWebhook implements compat.Webhooker
115func (c *PluginInstance) RegisterWebhook(basePath string, mux *gin.RouterGroup) {

Callers 1

TestStorageMethod · 0.80

Implementers 2

PluginV1Instanceplugin/compat/v1.go
PluginInstanceplugin/testing/mock/mock.go

Calls 1

LoadMethod · 0.65

Tested by 1

TestStorageMethod · 0.64