model

package
v0.0.0-...-4628a2c Latest Latest
Warning

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

Go to latest
Published: Aug 6, 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 LrJwtPayload

type LrJwtPayload struct {
	jwt.StandardClaims
	Audience  string `json:"aud,omitempty"`
	ExpiresAt int64  `json:"exp,omitempty"`
	Id        string `json:"jti,omitempty"`
	IssuedAt  int64  `json:"iat,omitempty"`
	Issuer    string `json:"iss,omitempty"`
	NotBefore int64  `json:"nbf,omitempty"`
	Subject   string `json:"sub,omitempty"`
}

type LrServerConfig

type LrServerConfig struct {
	Host                      string            `json:"host"`
	Port                      int               `json:"port"`
	DbType                    string            `json:"dbType"`
	DbUrl                     string            `json:"dbUrl"`
	DbTablePrefix             string            `json:"dbTablePrefix"`
	LoginAuthLength           int               `json:"loginAuthLength"` // unit: minutes
	WorkSpacePath             string            `json:"workSpacePath"`
	DebugMode                 bool              `json:"debugMode"`
	SecretHmacKeyword         string            `json:"secretHmacKeyword"`
	ClusterNodeActiveInterval int               `json:"clusterNodeActiveInterval"` // unit: seconds
	FileResourceType          string            `json:"fileResourceType"`
	FileResourceConfig        map[string]string `json:"fileResourceConfig"`
	GitType                   string            `json:"gitType"`
	GitConfig                 map[string]string `json:"gitConfig"`
}

Jump to

Keyboard shortcuts

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