add client postup & postdown

This commit is contained in:
sunyu 2020-09-25 15:35:23 +08:00
parent a89fb34555
commit 03428646e1
5 changed files with 37 additions and 5 deletions

View file

@ -19,6 +19,8 @@ type Client struct {
Enabled bool `json:"enabled"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
PostUp string `json:"post_up"`
PostDown string `json:"post_down"`
}
// ClientData includes the Client and extra data