uri

package
v0.0.0-...-4786a4a Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser interface {
	ParseOp(method, url string) (*URI, error)
	ParseWatch(url string) ([]*URI, error)
}

Parser yamecloud URI general interface analysis

func NewURIParser

func NewURIParser() Parser

NewURIParser return default parser

type URI

type URI struct {

	// watch url need resource version
	ResourceVersion string `json:"resource_version"`
	// contains filtered or unexported fields
}

URI is only via this project url spec.

func (*URI) String

func (u *URI) String() string

Jump to

Keyboard shortcuts

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