Documentation ¶
Overview ¶
nolint: dupl
nolint: dupl
Index ¶
- func GetInboxStore() (stores.Inbox, error)
- func GetKeystore() (*nacl.FileStore, error)
- func GetPublicKeyFinders() (map[string]mailbox.PubKeyFinder, error)
- func GetReceivers() (map[string]mailbox.Receiver, error)
- func GetSenders() (map[string]mailbox.Sender, error)
- func GetSentStorage() (stores.Sent, error)
- func GetServerPort() int
- func Init(cfgFile, logLevel string) error
- func MailchainHome() string
- func Passphrase(cmd *cobra.Command) (string, error)
- func SetKeystore(cmd *cobra.Command, keystoreType string) error
- func SetPubKeyFinder(chain, network, pubkey string) error
- func SetReceiver(chain, network, receiver string) error
- func SetSender(chain, network, sender string) error
- func SetSentStorage(sentType string) error
- func WriteConfig(cmd *cobra.Command, args []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInboxStore ¶
GetInboxStore create all the clients based on configuration
func GetKeystore ¶
GetKeystore create new keystore from config
func GetPublicKeyFinders ¶
func GetPublicKeyFinders() (map[string]mailbox.PubKeyFinder, error)
GetPublicKeyFinders in configured state
func GetReceivers ¶
GetReceivers in configured state
func GetSenders ¶
GetSenders in configured state
func GetSentStorage ¶
GetSentStorage create all the clients based on configuration
func GetServerPort ¶
func GetServerPort() int
func Passphrase ¶
Passphrase is extracted from the command
func SetPubKeyFinder ¶
func SetReceiver ¶
func SetSentStorage ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.