bookmarks

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Path

func Path() string

func ReadAll

func ReadAll(path string) (map[string]Bookmark, error)

Types

type Bookmark

type Bookmark struct {
	Url      string         `json:"url"`      // Postgres connection URL
	Host     string         `json:"host"`     // Server hostname
	Port     string         `json:"port"`     // Server port
	User     string         `json:"user"`     // Database user
	Password string         `json:"password"` // User password
	Database string         `json:"database"` // Database name
	Ssl      string         `json:"ssl"`      // Connection SSL mode
	Ssh      shared.SSHInfo `json:"ssh"`      // SSH tunnel config
}

Jump to

Keyboard shortcuts

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