Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultValues = Cmd{ PoolProtocol: 2, PoolName: "findy-pool", WalletName: "", WalletPwd: "", StewardSeed: "000000000000000000000000Steward1", ServiceName: "ca-api", ServiceName2: "a2a", HostAddr: "localhost", HostScheme: "http", HostPort: 8080, ServerPort: 8080, ExportPath: "", EnclavePath: "", StewardDid: "", HandshakeRegister: "findy.json", PsmDb: "findy.bolt", ResetData: false, URL: "", VersionInfo: "", Salt: "", APNSP12CertFile: "", AllowRPC: true, GRPCTls: true, GRPCPort: 50051, TlsCertPath: "", JWTSecret: "", EnclaveKey: "", EnclaveBackupName: "", EnclaveBackupTime: "", RegisterBackupName: "", RegisterBackupInterval: 0, WalletBackupPath: "", WalletBackupTime: "", GRPCAdmin: "findy-root", } )
Functions ¶
func ParseLoggingArgs ¶
func ParseLoggingArgs(s string)
func StartAgency ¶
func StartGrpcServer ¶
Types ¶
type Cmd ¶
type Cmd struct { PoolProtocol uint64 PoolName string WalletName string WalletPwd string StewardSeed string ServiceName string ServiceName2 string HostAddr string HostScheme string HostPort uint ServerPort uint ExportPath string EnclavePath string StewardDid string HandshakeRegister string PsmDb string ResetData bool URL string VersionInfo string Salt string APNSP12CertFile string AllowRPC bool GRPCTls bool GRPCPort int TlsCertPath string JWTSecret string EnclaveKey string EnclaveBackupName string EnclaveBackupTime string RegisterBackupName string RegisterBackupInterval time.Duration WalletBackupPath string WalletBackupTime string GRPCAdmin string }
func (*Cmd) SetMustHaveDefaults ¶
func (c *Cmd) SetMustHaveDefaults()
type LoggingCmd ¶
func (LoggingCmd) Validate ¶
func (c LoggingCmd) Validate() error
Click to show internal directories.
Click to hide internal directories.