selector

package
Version: v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

Builder is a selector builder

func Client

func Client(ms ...middleware.Middleware) *Builder

Client selector middleware

func Server

func Server(ms ...middleware.Middleware) *Builder

Server selector middleware

func (*Builder) Build

func (b *Builder) Build() middleware.Middleware

Build is Builder's Build, for example: Server().Path(m1,m2).Build()

func (*Builder) Path

func (b *Builder) Path(path ...string) *Builder

Path is with Builder's path

func (*Builder) Prefix

func (b *Builder) Prefix(prefix ...string) *Builder

Prefix is with Builder's prefix

func (*Builder) Regex

func (b *Builder) Regex(regex ...string) *Builder

Regex is with Builder's regex

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL