Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var APIServer = gin.Default()
View Source
var CurrentDB *gorm.DB = nil
View Source
var MESSAGE_ERROR int = 0
View Source
var MESSAGE_OK int = 1
View Source
var SESSION_SECRET string = "changeme"
Functions ¶
func CountByTime ¶
func InitCounters ¶
func InitCounters()
func InitRouter ¶
func InitRouter()
func ListCommits ¶
func NewCounter ¶
func NewCounter()
Types ¶
type Config ¶
type Config struct { Server *ServerConfig `mapstructure:"server"` DB *DBConfig `mapstructure:"db"` Oauth *OauthConfig `mapstructure:"oauth"` }
type OauthConfig ¶
type ServerConfig ¶
Click to show internal directories.
Click to hide internal directories.