mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
functions branch and region support (#330)
* branch and region support * . * . * . * . * fix functions * . * break loop * update example * update examples
This commit is contained in:
16
function/handler/function.go
Normal file
16
function/handler/function.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package handler
|
||||
|
||||
import (
|
||||
"regexp"
|
||||
)
|
||||
|
||||
var (
|
||||
IDFormat = regexp.MustCompilePOSIX("[a-z0-9-]+")
|
||||
NameFormat = regexp.MustCompilePOSIX("[a-z0-9]+")
|
||||
|
||||
FunctionKey = "function/func/"
|
||||
OwnerKey = "function/owner/"
|
||||
ReservationKey = "function/reservation/"
|
||||
)
|
||||
|
||||
type Function struct{}
|
||||
Reference in New Issue
Block a user