creds

package
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2019 License: MIT Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

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

func New

func New(db *file.DB) *Component

func (*Component) Get

func (s *Component) Get() (*Model, error)

func (*Component) Save

func (s *Component) Save(m *Model) error

type Model

type Model struct {
	Username string
	Password string
	Addr     string
}

Jump to

Keyboard shortcuts

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