srv

package
v0.0.0-...-809933c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DummyPlugin

type DummyPlugin struct {
	Config    config.DummyPluginConfig
	Operation plugin.OperationType
}

func NewDummyPlugin

func NewDummyPlugin() *DummyPlugin

func (DummyPlugin) Close

func (s DummyPlugin) Close() (*plugin.Stats, error)

func (DummyPlugin) Delete

func (s DummyPlugin) Delete(userId string) error

func (DummyPlugin) GetConfig

func (s DummyPlugin) GetConfig() plugin.Config

func (DummyPlugin) GetVersion

func (s DummyPlugin) GetVersion() (string, string, string)

func (DummyPlugin) Open

func (s DummyPlugin) Open(config plugin.Config, operation plugin.OperationType) error

func (DummyPlugin) Read

func (s DummyPlugin) Read() ([]*api.User, error)

func (DummyPlugin) Write

func (s DummyPlugin) Write(user *api.User) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL