FISCO-BCOS / go-sdk

golang SDK of FISCO BCOS
Apache License 2.0
72 stars 57 forks source link

有些看不懂 #279

Closed GnarALICRX closed 2 months ago

GnarALICRX commented 2 months ago

那我三个证书文件 是应该在go-sdk下面建一个config目录然后将证书放在里面吗

配置结构体说明

type Config struct { TLSCaFile string TLSKeyFile string TLSCertFile string TLSSmEnKeyFile string TLSSmEnCertFile string IsSMCrypto bool PrivateKey []byte GroupID string Host string Port int DisableSsl bool } 这个配置结构体是干吗的,又要塞到某个文件里面吗?

最后一个hello_main.go是在go-sdk下面新建吗?