launchr

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package launchr provides common app functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsurePath

func EnsurePath(parts ...string) error

EnsurePath creates all directories in the path.

func GetFsAbsPath

func GetFsAbsPath(fs fs.FS) string

GetFsAbsPath returns absolute path for a FS struct.

Types

type Service

type Service interface {
	ServiceInfo() ServiceInfo
}

Service is a common interface for a service to register.

type ServiceInfo

type ServiceInfo struct {
	ID string
}

ServiceInfo provides service info for its initialization.

Directories

Path Synopsis
Package config provides global app config object.
Package config provides global app config object.

Jump to

Keyboard shortcuts

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