model

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2025 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 AuthLoginInput

type AuthLoginInput struct {
	Username string `json:"username" dc:"username" v:"required"`
	Password string `json:"password" dc:"password" v:"required"`
}

type AuthLoginOutput

type AuthLoginOutput struct {
	TokenType string `json:"tokenType" dc:"Token type, default is Bearer"`
	Token     string `json:"token" dc:"Token string"`
	ExpireIn  int64  `json:"expireIn" dc:"expires in seconds"`
	Username  string `json:"username" dc:"username"`
}

Jump to

Keyboard shortcuts

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