libatframe_utils

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewBuildManager = buildsetting.NewManagerInDir

Functions

func EnsureProtocExecutable

func EnsureProtocExecutable(binDir string) string

func EnsureProtocExecutableByVersion

func EnsureProtocExecutableByVersion(version string, binDir string) string

func EnsureProtocGenGo

func EnsureProtocGenGo()

func FileExists

func FileExists(p string) bool

func MustHTTPGet

func MustHTTPGet(url string) []byte

func PathExists

func PathExists(p string) bool

func RunProc

func RunProc(cwd string, binDir string, outDir string, includePaths []string, protoPaths []string, extFlags []string) error

func RunProcScanFiles

func RunProcScanFiles(cwd string, binDir string, outDir string, includePaths []string, protoDirs []string, extFlags []string) error

func UntarGzToDir

func UntarGzToDir(data []byte, dest string)

func UnzipToDir

func UnzipToDir(data []byte, dest string)

Types

type BuildMananger

type BuildMananger interface {
	Init() error
	SetDocDir(dir string) error

	SetTool(toolName string, version string, path string) error
	GetToolPath(toolName string) (string, error)
	ResetTool(toolName string) error

	ListTools() (map[string]string, error)
}

Directories

Path Synopsis
algorithm
cmd
build-setting command
install-protoc command
run-protoc command

Jump to

Keyboard shortcuts

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