15 lines
311 B
Go
15 lines
311 B
Go
package watermillmsg
|
|
|
|
import "net/url"
|
|
|
|
type SyncServersCmdPayload struct {
|
|
VersionCode string `json:"versionCode"`
|
|
URL *url.URL `json:"url"`
|
|
}
|
|
|
|
type ServerSyncedEventPayload struct {
|
|
Key string `json:"key"`
|
|
URL *url.URL `json:"url"`
|
|
VersionCode string `json:"versionCode"`
|
|
}
|