Documentation

Overview

    Package routestring provides a DataClient implementation for setting route configuration in form of simple eskip string.

    Usage from the command line:

    skipper -inline-routes '* -> inlineContent("Hello, world!") -> <shunt>'
    
    Example
    Output:
    
    Hello, world!
    

    Index

    Examples

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func New

    func New(r string) (routing.DataClient, error)

      New creates a data client that parses a string of eskip routes and serves it for the routing package.

      Types

      This section is empty.

      Source Files