env

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package env @Link https://gitee.com/linngc/center.gf @Copyright Copyright (c) 2022 webos CLI @Author linngc @License

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAddress

func GetAddress() (*gvar.Var, error)

GetAddress 获取服务 启动 监听端口

func GetAddressInt

func GetAddressInt() int

GetAddressInt 获取服务 启动 监听端口

func GetApplicationName

func GetApplicationName() string

GetApplicationName 获取当前程序名

func GetSwaggerPath

func GetSwaggerPath() (*gvar.Var, error)

GetSwaggerPath 获取swagger api路径

func IsDev

func IsDev() bool

IsDev 是否开发环境

Types

This section is empty.

Jump to

Keyboard shortcuts

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