setup

package
v0.10.4-rc.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InYaoApp

func InYaoApp(root string) bool

InYaoApp Check if the current directory is a yao app

func Initialize

func Initialize(root string, cfg config.Config) error

Initialize the installed app

func Install

func Install(root string) error

Install the app to the root directory

func IsEmptyDir

func IsEmptyDir(dir string) bool

IsEmptyDir Check if the directory is empty

func IsYaoApp

func IsYaoApp(root string) bool

IsYaoApp Check if the directory is a yao app

Types

type Endpoint

type Endpoint struct {
	URL       string
	Interface string
}

Endpoint endpoint

func Endpoints

func Endpoints(cfg config.Config) ([]Endpoint, error)

Endpoints get endpoints

type Network

type Network struct {
	IPv4      string
	Interface string
}

Network network

Jump to

Keyboard shortcuts

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