conf

package
v0.0.0-...-b99a58d Latest Latest
Warning

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

Go to latest
Published: May 10, 2017 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

* Copyright 2007-2016 Abstrium <contact (at) pydio.com> * This file is part of Pydio. * * Pydio is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Pydio is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with Pydio. If not, see <http://www.gnu.org/licenses/>. * * The latest code can be found at <https://pydio.com/>.

Index

Constants

View Source
const (
	// VersionString gives the latest verson details
	VersionString string = "##BUILD_VERSION_STRING##"

	// VersionDate gives the latest verson date of release
	VersionDate string = "##BUILD_VERSION_DATE##"
)

Variables

This section is empty.

Functions

func LoadConfigurationFile

func LoadConfigurationFile(confFilePath string, configuration Configurer) error

LoadConfigurationFile into the caddy main file

Types

type Configuration

type Configuration struct {
	CaddyFilePath string
	CaddyFile     caddy.Input
}

Configuration object

func (*Configuration) GetCaddyFilePath

func (c *Configuration) GetCaddyFilePath() string

GetCaddyFilePath from config

func (*Configuration) SetCaddyFile

func (c *Configuration) SetCaddyFile(input caddy.Input)

SetCaddyFile for config

func (*Configuration) SetCaddyFilePath

func (c *Configuration) SetCaddyFilePath(str string)

SetCaddyFilePath for config

type Configurer

type Configurer interface {
	GetCaddyFilePath() string
	SetCaddyFilePath(string)
	SetCaddyFile(caddy.Input)
}

Configurer interface

type LogConf

type LogConf struct {
	Level int
	File  string
}

LogConf definition

type NsqConf

type NsqConf struct {
	Host string
	Port int
}

NsqConf definition

type SchedulerConf

type SchedulerConf struct {
	Host    string
	TokenP  string
	TokenS  string
	Minutes int
}

SchedulerConf definition

Jump to

Keyboard shortcuts

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