bean

package
v0.0.0-...-2aa98dc Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBConfig

type DBConfig struct {
	Dialect      string
	Database     string
	User         string
	Password     string
	Host         string
	Port         int
	Charset      string
	URL          string
	MaxIdleConns int
	MaxOpenConns int
}

DBConfig DBConfig Struct

type LoggerConfig

type LoggerConfig struct {
	File  string
	Level string
}

LoggerConfig LoggerConfig

type Version

type Version struct {
	gorm.Model
	VersionBase
}

Version 版本管理表

type VersionBase

type VersionBase struct {
	Version    string `gorm:"not null" form:"new_version" json:"new_version"` // app 版本号
	Type       string `gorm:"not null" form:"type" json:"type"`               // 1 安卓, 2 ios
	ApkURL     string `gorm:"not null" form:"apk_url" json:"apk_url"`         // 安装包下载地址
	UpdateLog  string `gorm:"not null" form:"update_log" json:"update_log"`   // 更新内容
	Delta      string `form:"delta" json:"delta"`                             // Delta
	NewMd5     string `form:"new_md5" json:"new_md5"`                         // md5
	TargetSize string `form:"target_size" json:"target_size"`                 // TargetSize
}

VersionBase VersionBase

Jump to

Keyboard shortcuts

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