database

package
v0.0.0-...-f758046 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2019 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	// contains filtered or unexported fields
}

func NewDatabase

func NewDatabase(driver string, connString string) (*Database, error)

func (*Database) EphemeralPublicKeyExists

func (d *Database) EphemeralPublicKeyExists(pubkey string) (bool, error)

func (*Database) Get3PIDInviteByToken

func (d *Database) Get3PIDInviteByToken(token string) (*types.ThreepidInvite, error)

func (*Database) Save3PIDInvite

func (d *Database) Save3PIDInvite(invite *types.ThreepidInvite) error

func (*Database) SaveEphemeralPublicKey

func (d *Database) SaveEphemeralPublicKey(pubkey string) error

Jump to

Keyboard shortcuts

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