audio

package
v1.0.45 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

View Source
const (
	SubConfMount      = "mount"
	SubConfApp        = "app"
	SubConfAttachment = "attachment"
)
View Source
const DefaultRootPath = "."

Variables

View Source
var (
	LocalIP string
	AppName string
	RunMode string
)

Functions

func GetAppName

func GetAppName() string

func GetConfDirPath

func GetConfDirPath() string

GetConfDirPath 配置目录

func GetLocalIp

func GetLocalIp() string

GetLocalIp 获取本机IP

func GetRootPath

func GetRootPath() string

GetRootPath 运行目录

func GetRunMode

func GetRunMode() string

func LoadConf

func LoadConf(filename, subConf string, s interface{})

func LoadVoice

func LoadVoice(filename, subConf string, b *[]byte)

func SetAppName

func SetAppName(appName string)

func SetRunMode

func SetRunMode(runMode string)

SetRunMode 运行环境

Types

This section is empty.

Jump to

Keyboard shortcuts

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