creds

package
v0.0.0-...-487a084 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package creds implements a Credentials structure to represent and store Pop credentials. It also provides functions to extract credentials from a VIMInstance.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credentials

type Credentials struct {
	Host     string
	Username string
	Password string
}

Credentials to connect and authenticate with a Pop server.

func FromVIM

func FromVIM(vimInstance *catalogue.VIMInstance) Credentials

FromVIM extracts pop credentials stored in a VIMInstance.

func (*Credentials) ToPop

func (c *Credentials) ToPop() *pop.Credentials

ToPop converts the Credentials to a pop.Credentials instance.

Jump to

Keyboard shortcuts

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