rundir

package
v0.0.0-...-ce6b118 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2016 License: BSD-3-Clause Imports: 7 Imported by: 0

README

Package rundir creates and removes /run/goes/... files.


© 2015-2016 Platina Systems, Inc. All rights reserved. Use of this source code is governed by this BSD-style LICENSE.

Documentation

Overview

Package rundir creates and removes /run/goes/... files.

Index

Constants

View Source
const (
	Dir = "/run/goes"
)

Variables

View Source
var ErrNotRoot = errors.New("you aren't root")

Functions

func Create

func Create(name string) (*os.File, error)

Create the named file within Dir with proper permissions.

func New

func New(dir string) error

New creates dir within Dir if it doesn't exist.

func Path

func Path(name string) string

Path returns Dir + "/" + name if name isn't already prefaced by Dir

Types

This section is empty.

Jump to

Keyboard shortcuts

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