json

package
v2.1.1-0...-182a82a Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EndpointsResolver

func EndpointsResolver(path string) providers.EndpointsResolver

EndpointsResolver constructs a resource resolver for the given path

func FlowsResolver

func FlowsResolver(path string) providers.FlowsResolver

FlowsResolver constructs a resource resolver for the given path

func SchemaResolver

func SchemaResolver(path string) providers.SchemaResolver

SchemaResolver constructs a schema resolver for the given path

func ServicesResolver

func ServicesResolver(path string) providers.ServicesResolver

ServicesResolver constructs a JSON service resolver for the given path.

Types

type ErrPathNotFound

type ErrPathNotFound struct {
	Path string
	// contains filtered or unexported fields
}

ErrPathNotFound occurs when path cannot be resolved

func (ErrPathNotFound) Error

func (e ErrPathNotFound) Error() string

Error returns a description of the given error as a string

func (ErrPathNotFound) Prettify

func (e ErrPathNotFound) Prettify() prettyerr.Error

Prettify returns the prettified version of the given error

func (ErrPathNotFound) Unwrap

func (i ErrPathNotFound) Unwrap() error

Jump to

Keyboard shortcuts

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