Source File
pattern.go
Belonging Package
github.com/grpc-ecosystem/grpc-gateway/v2/utilities
package utilities// OpCode is an opcode of compiled path patterns.type OpCode int// These constants are the valid values of OpCode.const (// OpNop does nothingOpNop = OpCode(iota)// OpPush pushes a component to stackOpPush// OpLitPush pushes a component to stack if it matches to the literalOpLitPush// OpPushM concatenates the remaining components and pushes it to stackOpPushM// OpConcatN pops N items from stack, concatenates them and pushes it back to stackOpConcatN// OpCapture pops an item and binds it to the variableOpCapture// OpEnd is the least positive invalid opcode.OpEnd)
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |