local

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Entry

func Entry(name string, url string) types.ServerEntry

func ListServices

func ListServices(db types.ServerEntry) ([]string, error)

Lists all services in the database

func ListUsers

func ListUsers(service string, db types.ServerEntry) ([]string, error)

Lists all user entries in the database for the current service

func ReadUser

func ReadUser(username string, service string, db types.ServerEntry) (types.UserEntry, error)

Returns the user object for given database with service and entry id/name

func WriteUser

func WriteUser(user types.UserEntry, serv string, db types.ServerEntry) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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