Documentation ¶
Index ¶
- type JSONPlugin
- func (s *JSONPlugin) Close() (*plugin.Stats, error)
- func (s *JSONPlugin) Delete(userID string) error
- func (s *JSONPlugin) GetConfig() plugin.Config
- func (s *JSONPlugin) GetVersion() (string, string, string)
- func (s *JSONPlugin) Open(cfg plugin.Config, operation plugin.OperationType) error
- func (s *JSONPlugin) Read() ([]*api.User, error)
- func (s *JSONPlugin) Write(user *api.User) error
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) 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
Click to show internal directories.
Click to hide internal directories.