mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
added omitempty route struct
This commit is contained in:
@@ -21,9 +21,9 @@ var (
|
|||||||
type Routes []*Route
|
type Routes []*Route
|
||||||
|
|
||||||
type Route struct {
|
type Route struct {
|
||||||
AppName string `json:"appname"`
|
AppName string `json:"appname,omitempty"`
|
||||||
Path string `json:"path"`
|
Path string `json:"path,omitempty"`
|
||||||
Image string `json:"image"`
|
Image string `json:"image,omitempty"`
|
||||||
Headers http.Header `json:"headers,omitempty"`
|
Headers http.Header `json:"headers,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user