MCPcopy Create free account
hub / github.com/gotify/server / SetStorageHandler

Method SetStorageHandler

plugin/testing/mock/mock.go:100–102  ·  view source on GitHub ↗

SetStorageHandler implements compat.Storager

(handler compat.StorageHandler)

Source from the content-addressed store, hash-verified

98
99// SetStorageHandler implements compat.Storager
100func (c *PluginInstance) SetStorageHandler(handler compat.StorageHandler) {
101 c.storageHandler = handler
102}
103
104// SetStorage sets current storage
105func (c *PluginInstance) SetStorage(b []byte) error {

Callers

nothing calls this directly

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected