cherryRoute

package
v1.1.14 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Route

type Route struct {
	// contains filtered or unexported fields
}

Route struct

func Decode

func Decode(route string) (*Route, error)

Decode decodes the route

func New

func New(nodeType, handleName, method string) *Route

New create a new route

func NewByName

func NewByName(routeName string) *Route

func (*Route) HandleName added in v1.1.0

func (r *Route) HandleName() string

func (*Route) Method

func (r *Route) Method() string

func (*Route) NodeType

func (r *Route) NodeType() string

func (*Route) String

func (r *Route) String() string

String transforms the route into a string

Jump to

Keyboard shortcuts

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