utils

package
v1.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeyboardInteractivePassphraseFunc

func KeyboardInteractivePassphraseFunc(prompt string) func() ([]byte, error)

func ParseMap

func ParseMap(s string, namevalSep, tuplesSep rune) (res map[string]string, err error)

ParseMap returns parsed key/val map

Types

type Options

type Options map[string]interface{}

func (Options) GetBool

func (o Options) GetBool(name string) (val bool, ok bool, err error)

func (Options) GetInt

func (o Options) GetInt(name string) (val int64, ok bool, err error)

func (Options) GetString

func (o Options) GetString(name string) (val string, ok bool, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL