MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / CertFile

Method CertFile

config/config.go:505–511  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

503}
504
505func (cfg RPCConfig) CertFile() string {
506 path := cfg.TLSCertFile
507 if filepath.IsAbs(path) {
508 return path
509 }
510 return rootify(filepath.Join(defaultConfigDir, path), cfg.RootDir)
511}
512
513func (cfg RPCConfig) IsTLSEnabled() bool {
514 return cfg.TLSCertFile != "" && cfg.TLSKeyFile != ""

Callers 3

startRPCMethod · 0.80
TestTLSConfigurationFunction · 0.80
startRPCMethod · 0.80

Calls 1

rootifyFunction · 0.85

Tested by 1

TestTLSConfigurationFunction · 0.64