conf

package
v1.1.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfService

type ConfService struct {
	// contains filtered or unexported fields
}

func NewConfService

func NewConfService(serverName string) *ConfService

func (*ConfService) GetCertKeyFullPath

func (y *ConfService) GetCertKeyFullPath() string

获取服务证书 KEY 的完整路径

func (*ConfService) GetCertKeyPath

func (y *ConfService) GetCertKeyPath() string

获取服务证书 KEY 路径

func (*ConfService) GetCertPemFullPath

func (c *ConfService) GetCertPemFullPath() string

获取服务证书 PEM 的完整路径

func (*ConfService) GetCertPemPath

func (c *ConfService) GetCertPemPath() string

获取服务证书 PEM 路径

func (*ConfService) GetCertServerName

func (c *ConfService) GetCertServerName() string

获取证书服务名称

func (*ConfService) GetConfigModePath

func (c *ConfService) GetConfigModePath(fileName string) string

获取当前环境的配置路径

func (*ConfService) GetServerName

func (c *ConfService) GetServerName() string

获取服务名称

func (*ConfService) GetServerPort

func (c *ConfService) GetServerPort() uint64

获取服务端口号

Jump to

Keyboard shortcuts

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