added Post Up and Post Down configuration to server interface

This commit is contained in:
Jaryl Chng 2020-08-22 19:56:53 +08:00
parent cd7f6e500a
commit 80cdb768a6
No known key found for this signature in database
GPG key ID: A7174FB4C337FA37
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"`
}