backend

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectArchLinux

func DetectArchLinux(fs afero.Fs) bool

func DetectDarwin

func DetectDarwin(exc exec.Interface) bool

func NewExecInterface

func NewExecInterface() exec.Interface

func NewFs

func NewFs() afero.Fs

func NewHTTPClient added in v0.0.12

func NewHTTPClient() *http.Client

Types

type OS

type OS int
const (
	Unknown OS = iota + 1
	Darwin
	Arch
)

func DetectOS

func DetectOS(exc exec.Interface, fs afero.Fs) OS

Jump to

Keyboard shortcuts

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