utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGOARCH

func GetGOARCH() string

GetGOARCH returns the compilation target architecture

func GetGOOS

func GetGOOS() string

GetGOOS returns the compilation target OS

func GetGo

func GetGo() string

GetGo returns the go executable to use depending on what is set in the XCADDY_WHICH_GO environment variable.

func WindowsResource

func WindowsResource(version, outputFile, tempDir string) error

WindowsResource create a Windows resource system object for embedding into the Caddy binary. reference: https://github.com/rclone/rclone/blob/v1.66.0/bin/resource_windows.go

Types

This section is empty.

Jump to

Keyboard shortcuts

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