login

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2021 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDLNotFound = errors.New("DiscordLogin not found. Please install it from the GitHub page.")

Functions

func LookPathExtras

func LookPathExtras(file string) (string, error)

func NewHeader

func NewHeader() *gtk.HeaderBar

Types

type Login

type Login struct {
	*gtk.Box
	Token  *gtk.Entry
	Submit *gtk.Button
	Error  *gtk.Label

	// Button that opens discordlogin
	DLogin *gtk.Button

	LastError error
	LastToken string
	// contains filtered or unexported fields
}

func NewLogin

func NewLogin(finish func(s *ningen.State)) *Login

func (*Login) DiscordLogin

func (l *Login) DiscordLogin()

func (*Login) Login

func (l *Login) Login()

func (*Login) Retry

func (l *Login) Retry()

func (*Login) Run

func (l *Login) Run()

Jump to

Keyboard shortcuts

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