model

package
v1.0.24 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 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 AutoRegistrationInfo

type AutoRegistrationInfo struct {
	Name         string            `json:"name" yaml:"name"`
	Url          string            `json:"url" yaml:"url"`
	Destinations map[string]string `json:"destinations" yaml:"destinations"`
}

type ServiceRegister

type ServiceRegister struct {
	Name string `json:"name"`
	URL  string `json:"url"`
}

type UserMeta added in v1.0.24

type UserMeta struct {
	ID     int64  `json:"id" gorm:"primary_key;AUTO_INCREMENT;comment:'id'"`
	UserID string `json:"userId,omitempty" gorm:"not_null;unique_index:idx1;comment:'cloud id'"`
	Key    string `json:"key" gorm:"not_null;unique_index:idx1;Column:key;comment:'鍵'"`
	Value  string `json:"value" gorm:"Column:value;coment:'值'"`
}

type Version added in v1.0.19

type Version struct {
	ServerVersion   string `json:"serverVersion,omitempty"`
	DatabaseVersion string `json:"databaseVersion,omitempty"`
	RedisVersion    string `json:"redisVersion,omitempty"`
}

Jump to

Keyboard shortcuts

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