mateking

package
v0.0.0-...-7f371a6 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2021 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(w http.ResponseWriter, r *http.Request)

Types

type Mateking

type Mateking struct {
	Users    []User
	CacheHit uint64
	Requests uint64
}

func (*Mateking) Load

func (m *Mateking) Load() error

func (*Mateking) Save

func (m *Mateking) Save()

type User

type User struct {
	Email string
	Pw    string
	Scope []string
	Jar   *cookiejar.Jar `json:"-"`
}

func (*User) Login

func (u *User) Login() error

Jump to

Keyboard shortcuts

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