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

Method KeyFile

config/config.go:497–503  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

495}
496
497func (cfg RPCConfig) KeyFile() string {
498 path := cfg.TLSKeyFile
499 if filepath.IsAbs(path) {
500 return path
501 }
502 return rootify(filepath.Join(defaultConfigDir, path), cfg.RootDir)
503}
504
505func (cfg RPCConfig) CertFile() string {
506 path := cfg.TLSCertFile

Callers 3

startRPCMethod · 0.80
TestTLSConfigurationFunction · 0.80
startRPCMethod · 0.80

Calls 1

rootifyFunction · 0.85

Tested by 1

TestTLSConfigurationFunction · 0.64