Documentation ¶
Index ¶
- Variables
- func GenerateSelfSignedCertificate() tls.Certificate
- func GetSignedCertificate(TlsFiles []string) tls.Certificate
- func Interrupt(pid int)
- func NewLogWriter(s service.Service, logFilename, jsonLogFilename string) func(string, logAnnotator) (io.Writer, error)
- type JrpcMethods
- func (m *JrpcMethods) Each(fn func(*vault.Wallet) error) error
- func (m *JrpcMethods) Get(walletDir string, name string, passphrase []byte) (*vault.Vault, error)
- func (m *JrpcMethods) GetModel(walletDir string, name string, passphrase []byte) (*model.Model, error)
- func (m *JrpcMethods) GetWallet(walletDir string) *vault.Wallet
- func (m *JrpcMethods) NewMux() http.Handler
- func (m *JrpcMethods) Start(addr string) error
- func (m *JrpcMethods) Stop(ctx context.Context) error
- func (m *JrpcMethods) UseMemDB() bool
- type Options
Constants ¶
This section is empty.
Variables ¶
View Source
var (
NoWalletVersionCheck bool
)
Functions ¶
func GenerateSelfSignedCertificate ¶ added in v0.4.2
func GenerateSelfSignedCertificate() tls.Certificate
func GetSignedCertificate ¶ added in v0.4.2
func GetSignedCertificate(TlsFiles []string) tls.Certificate
Types ¶
type JrpcMethods ¶
type JrpcMethods struct { Options // contains filtered or unexported fields }
func NewJrpc ¶
func NewJrpc(opts Options) (*JrpcMethods, error)
func (*JrpcMethods) Each ¶ added in v0.5.0
func (m *JrpcMethods) Each(fn func(*vault.Wallet) error) error
func (*JrpcMethods) GetWallet ¶ added in v0.5.0
func (m *JrpcMethods) GetWallet(walletDir string) *vault.Wallet
func (*JrpcMethods) NewMux ¶
func (m *JrpcMethods) NewMux() http.Handler
func (*JrpcMethods) Start ¶
func (m *JrpcMethods) Start(addr string) error
func (*JrpcMethods) UseMemDB ¶ added in v0.5.0
func (m *JrpcMethods) UseMemDB() bool
Click to show internal directories.
Click to hide internal directories.