model

package
v0.0.0-...-0575462 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group struct {
	ID      string `json:"id"`
	Account string `json:"account"`
	Name    string `json:"name"`
	Avatar  string `json:"avatar"`
}

type LoginInput

type LoginInput struct {
	Account  string `json:"account"`
	Password string `json:"password"`
}

type LoginPayload

type LoginPayload struct {
	User  *User  `json:"user"`
	Token string `json:"token"`
}

type LogoutInput

type LogoutInput struct {
	Account string `json:"account"`
}

type LogoutPayload

type LogoutPayload struct {
	Success bool `json:"success"`
}

type Mutation

type Mutation struct {
}

type Query

type Query struct {
}

type RegisterInput

type RegisterInput struct {
	Account  string `json:"account"`
	Password string `json:"password"`
}

type RegisterPayload

type RegisterPayload struct {
	User  *User  `json:"user"`
	Token string `json:"token"`
}

type User

type User struct {
	ID      string `json:"id"`
	Account string `json:"account"`
	Name    string `json:"name"`
	Avatar  string `json:"avatar"`
}

Jump to

Keyboard shortcuts

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