serializers

package
v0.0.0-...-e75809f Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: GPL-3.0 Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identify

type Identify struct {
	Email    string `json:"email"`
	EmailOTP bool   `json:"emailOTP"`
}

Identify ...

type MembersSerializer

type MembersSerializer struct {
	Members []User
}

MembersSerializer ...

type Recover

type Recover struct {
	Email    string `json:"email"`
	OTP      string `json:"otp"`
	Password string `json:"password"`
}

Recover ...

type Team

type Team struct {
	ID          uint
	Name        string
	Description string
	Active      bool
}

Team ...

type TeamsSerializer

type TeamsSerializer struct {
	Teams []Team
}

TeamsSerializer ...

type User

type User struct {
	ID        uint
	Email     string
	FirstName string
	LastName  string
	Active    bool
}

User ...

type UserAuthSerializer

type UserAuthSerializer struct {
	models.User
	Token string
}

UserAuthSerializer ...

type UserLogin

type UserLogin struct {
	Email    string `json:"email"`
	Password string `json:"password"`
}

UserLogin ...

Jump to

Keyboard shortcuts

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