login

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd(sp *SessionProvider) *cobra.Command

Types

type SessionProvider

type SessionProvider struct {
	Host      string `yaml:"host"`
	SessionID string `yaml:"sessionID"`
	// contains filtered or unexported fields
}

func NewSessionProvider

func NewSessionProvider(sessionFilePath string) *SessionProvider

func (*SessionProvider) Login

func (sp *SessionProvider) Login(acct, pwd string) error

func (*SessionProvider) SaveSession

func (sp *SessionProvider) SaveSession() error

Jump to

Keyboard shortcuts

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