witutil

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProtoFromWITKeys

func ProtoFromWITKeys(keys map[string]crypto.PublicKey) ([]*types.WITKey, error)

ProtoFromWITKeys converts WIT keys from the given map[string]crypto.PublicKey to []*types.WITKey

func WITKeysFromProto

func WITKeysFromProto(proto []*types.WITKey) (map[string]crypto.PublicKey, error)

WITKeysFromProto converts WIT keys from the given []*types.WITKey to map[string]crypto.PublicKey. The key ID of the public key is used as the key in the returned map.

Types

This section is empty.

Jump to

Keyboard shortcuts

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