credstor

package
v0.0.0-...-e8da0a6 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitCommandFuncs

func InitCommandFuncs() (map[string]func(map[string]interface{}) ([]byte, error), error)

func WrapCredential

func WrapCredential[A any](cc *credential.Client, fn func(cc *credential.Client, args map[string]interface{}) (A, error)) func(args map[string]interface{}) (A, error)

func WrapFunc

func WrapFunc[A any](fn func(args map[string]interface{}) (A, error)) func(args map[string]interface{}) ([]byte, error)

Types

type Client

type Client struct{}

func NewClient

func NewClient() (*Client, error)

type Handler

type Handler = func(params map[string]interface{}) ([]byte, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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