srv

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONPlugin added in v0.8.2

type JSONPlugin struct {
	Config *config.JSONPluginConfig
	// contains filtered or unexported fields
}

func NewJSONPlugin added in v0.8.2

func NewJSONPlugin() *JSONPlugin

func (*JSONPlugin) Close added in v0.8.2

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

func (*JSONPlugin) Delete added in v0.8.2

func (s *JSONPlugin) Delete(userID string) error

func (*JSONPlugin) GetConfig added in v0.8.2

func (s *JSONPlugin) GetConfig() plugin.Config

func (*JSONPlugin) GetVersion added in v0.8.2

func (s *JSONPlugin) GetVersion() (string, string, string)

func (*JSONPlugin) Open added in v0.8.2

func (s *JSONPlugin) Open(cfg plugin.Config, operation plugin.OperationType) error

func (*JSONPlugin) Read added in v0.8.2

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

func (*JSONPlugin) Write added in v0.8.2

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

Jump to

Keyboard shortcuts

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