Documentation
¶
Index ¶
- type ConfService
- func (y *ConfService) GetCertKeyFullPath() string
- func (y *ConfService) GetCertKeyPath() string
- func (c *ConfService) GetCertPemFullPath() string
- func (c *ConfService) GetCertPemPath() string
- func (c *ConfService) GetCertServerName() string
- func (c *ConfService) GetConfigModePath(fileName string) string
- func (c *ConfService) GetServerName() string
- func (c *ConfService) GetServerPort() uint64
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) GetCertPemFullPath ¶
func (c *ConfService) GetCertPemFullPath() string
获取服务证书 PEM 的完整路径
func (*ConfService) GetConfigModePath ¶
func (c *ConfService) GetConfigModePath(fileName string) string
获取当前环境的配置路径
Click to show internal directories.
Click to hide internal directories.