added Post Up and Post Down configuration to server interface (#28)

This commit is contained in:
Jaryl Chng
2020-09-14 03:47:01 +08:00
committed by GitHub
parent d82da2fb35
commit b0ed08f19d
4 changed files with 22 additions and 2 deletions

View File

@@ -22,4 +22,6 @@ type ServerInterface struct {
Addresses []string `json:"addresses"`
ListenPort int `json:"listen_port,string"` // ,string to get listen_port string input as int
UpdatedAt time.Time `json:"updated_at"`
PostUp string `json:"post_up"`
PostDown string `json:"post_down"`
}