package structwrapping
import "github.com/hashicorp/go-kms-wrapping/v2/extras/structwrapping"
Index ¶
- func UnwrapStruct(ctx context.Context, wrapper wrapping.Wrapper, in interface{}, opt ...wrapping.Option) error
- func WrapStruct(ctx context.Context, wrapper wrapping.Wrapper, in interface{}, opt ...wrapping.Option) error
Functions ¶
func UnwrapStruct ¶
func UnwrapStruct(ctx context.Context, wrapper wrapping.Wrapper, in interface{}, opt ...wrapping.Option) error
UnwrapStruct unwraps values in the struct. Options are passed through to the wrapper Dencrypt function.
func WrapStruct ¶
func WrapStruct(ctx context.Context, wrapper wrapping.Wrapper, in interface{}, opt ...wrapping.Option) error
WrapStruct wraps values in the struct. Options are passed through to the wrapper Encrypt function.
Source Files ¶
- Version
- v2.0.18 (latest)
- Published
- Jan 23, 2025
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 1 month ago –
Tools for package owners.