Documentation ¶
Index ¶
Constants ¶
View Source
const (
StatusPublic = "public"
)
View Source
const (
Version = "dev"
)
Variables ¶
This section is empty.
Functions ¶
func ListenAndServe ¶ added in v0.1.6
func ListenAndServe(cfgPath string)
func LoadCertificate ¶ added in v0.1.6
func LoadCertificate()
Types ¶
type Config ¶
type Config struct { BaseURL string HostName string RootPath string LinkPath []string HomeDocCount int Title string UserName string Password string }
func DefaultConfig ¶ added in v0.1.1
func DefaultConfig() *Config
type Handler ¶ added in v0.1.1
type Handler struct { Cfg *Config // contains filtered or unexported fields }
Initialize
func NewHandler ¶ added in v0.1.1
type LogWriter ¶ added in v0.1.6
type LogWriter struct { http.ResponseWriter // contains filtered or unexported fields }
func (*LogWriter) WriteHeader ¶ added in v0.1.6
Source Files ¶
Click to show internal directories.
Click to hide internal directories.