auth

package
v2.0.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *happy.Command

Types

type RequestHistoryEntry

type RequestHistoryEntry struct {
	Date     string
	Requests uint
}

type Subscription

type Subscription struct {
	JWT           string
	RequestsToday uint
	Date          string
	History       []RequestHistoryEntry
	// contains filtered or unexported fields
}

func LoadSubscription

func LoadSubscription(sess *happy.Session) (*Subscription, error)

func LoadSubscriptionFile

func LoadSubscriptionFile(koiosAuthFile string) (*Subscription, error)

func (*Subscription) Save

func (s *Subscription) Save() error

Jump to

Keyboard shortcuts

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