Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultValues = Cmd{ PoolProtocol: 2, PoolName: "findy-pool", WalletName: "", WalletPwd: "", StewardSeed: "000000000000000000000000Steward1", ServiceName: "a2a", HostAddr: "localhost", HostScheme: "http", HostPort: 8080, ServerPort: 8080, ExportPath: "", EnclavePath: "", StewardDid: "", HandshakeRegister: "findy.json", PsmDB: "findy.bolt", HTTPReqTimeout: utils.HTTPReqTimeout, ResetData: false, URL: "", VersionInfo: "", GRPCTLS: true, GRPCPort: 50051, TLSCertPath: "", JWTSecret: "", EnclaveKey: "", EnclaveBackupName: "", EnclaveBackupTime: "", RegisterBackupName: "", RegisterBackupInterval: 0, WalletBackupPath: "", WalletBackupTime: "", GRPCAdmin: "findy-root", WalletPoolSize: 10, DIDMethod: method.TypeSov, } )
Functions ¶
func ParseLoggingArgs ¶
func ParseLoggingArgs(s string)
func StartAgency ¶
Types ¶
type Cmd ¶
type Cmd struct { PoolProtocol uint64 PoolName string WalletName string WalletPwd string StewardSeed string ServiceName string HostAddr string HostScheme string HostPort uint ServerPort uint ExportPath string EnclavePath string StewardDid string HandshakeRegister string PsmDB string HTTPReqTimeout time.Duration ResetData bool URL string VersionInfo string 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 WalletPoolSize int DIDMethod method.Type }
func (*Cmd) SetMustHaveDefaults ¶
func (c *Cmd) SetMustHaveDefaults()
type LoggingCmd ¶
func (LoggingCmd) Validate ¶
func (c LoggingCmd) Validate() error
type MigrateCmd ¶ added in v0.25.24
func (MigrateCmd) Validate ¶ added in v0.25.24
func (c MigrateCmd) Validate() (err error)
Click to show internal directories.
Click to hide internal directories.