Documentation
¶
Index ¶
- Constants
- Variables
- type Args
- type Dir
- type DirMap
- type Name
- type OsBridge
- func (me *OsBridge) GetAdminRootDir() Dir
- func (me *OsBridge) GetCacheDir() Dir
- func (me *OsBridge) GetNamedDir(dn Name) Url
- func (me *OsBridge) GetNamedDirMap() DirMap
- func (me *OsBridge) GetNamedPath(pn Name) Url
- func (me *OsBridge) GetNamedPathMap() PathMap
- func (me *OsBridge) GetProjectDir() string
- func (me *OsBridge) GetProjectName() Name
- func (me *OsBridge) GetSupportRequestUrl() Url
- func (me *OsBridge) GetUserConfigDir() Dir
- func (me *OsBridge) GetUserHomeDir() Dir
- type OsBridger
- type Path
- type PathMap
- type Url
Constants ¶
const ( DefaultProjectName Name = "OsBridge for Go" DefaultUserDataPath Path = ".osbridge" DefaultAdminPath Path = "admin" DefaultCachePath Path = "cache" DefaultProjectDir Dir = "project" DefaultSupportRequestUrl Url = "https://github.com/gearboxworks/go-status/issues" )
Go-OsBridge - Operating System Bridge package for use in Go apps Copyright (C) 2019 NewClarity Consulting LLC
This program 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.
This program 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 this program. If not, see <https://www.gnu.org/licenses/>.
Variables ¶
var NilOsBridge = (*OsBridge)(nil)
Functions ¶
This section is empty.
Types ¶
type OsBridge ¶
type OsBridge struct { ProjectName Name ProjectDir Dir UserDataPath Path CachePath Path AdminPath Path SupportRequestUrl Url NamedPathMap map[Name]Path NamedDirMap map[Name]Dir }