jsondb

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDefaultData

func InitDefaultData(jsonHome string) (err error)

Types

type JsonFileDB

type JsonFileDB struct {
}

func NewJsonDB

func NewJsonDB() *JsonFileDB

func (*JsonFileDB) Login

func (jd *JsonFileDB) Login(connInfo *imap.ConnInfo, username, password string) (backend.User, error)

func (*JsonFileDB) NewSession

func (jd *JsonFileDB) NewSession(c *smtp.Conn) (smtp.Session, error)

Jump to

Keyboard shortcuts

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