apihelpers

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package apihelpers provides some helper functions for the API package; these were extracted into this package to avoid having additional dependencies on the API package itself

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParamDescsToParams

func ParamDescsToParams(descs params.ParamDescs) (res api.Params)

func ParamToParamDesc

func ParamToParamDesc(p *api.Param) *params.ParamDesc

func ToParamDescs

func ToParamDescs(p api.Params) params.ParamDescs

func Validate

func Validate(p api.Params, v api.ParamValues) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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