models

package
v0.0.0-...-f1b76ca Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomClaims

type CustomClaims struct {
	*jwt.StandardClaims
	*User
}

type Dashboard

type Dashboard struct {
	Scens   []Scen `json:"scens" from:"scens"`
	Seconds string `json:"seconds" form:"seconds"`
}

type Result

type Result struct {
	Id   string `json:"id" form:"id"`
	Data string `json:"data" form:"data"`
}

type Run

type Run struct {
	Scen    string `json:"scen" form:"scen"`
	Browser string `json:"browser" form:"browser"`
}

type Scen

type Scen struct {
	Name string `json:"name" form:"name"`
	Text string `json:"text" form:"text"`
}

type TokenAuthentication

type TokenAuthentication struct {
	Token string `json:"token" form:"token"`
}

type User

type User struct {
	Username string `json:"username" form:"username"`
	Password string `json:"password" form:"password"`
}

func (*User) GetPassword

func (user *User) GetPassword() string

Jump to

Keyboard shortcuts

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