Documentation ¶
Index ¶
- Variables
- func With(ctx context.Context, s *Session) context.Context
- type Session
- func (s *Session) GetClient() (*mixin.Client, error)
- func (s *Session) GetKeystore() (*mixin.Keystore, error)
- func (s *Session) GetPin() string
- func (s *Session) GetSpendKey() *mixinnet.Key
- func (s *Session) WithAccessToken(token string) *Session
- func (s *Session) WithKeystore(store *mixin.Keystore) *Session
- func (s *Session) WithPin(pin string) *Session
- func (s *Session) WithSpendKey(key *mixinnet.Key) *Session
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrKeystoreNotProvided = errors.New("keystore not provided, use --file or --stdin")
)
Functions ¶
Types ¶
type Session ¶
type Session struct { Version string // contains filtered or unexported fields }
func (*Session) GetKeystore ¶
func (*Session) GetSpendKey ¶
func (*Session) WithAccessToken ¶
func (*Session) WithKeystore ¶
Click to show internal directories.
Click to hide internal directories.