type ConfigsRequest struct { ReleaseKey string `form:"releaseKey"` Ip string `form:"ip"` Messages Message `form:"messages"` }
type ConfigsResponse struct { AppId string `json:"appId"` Cluster string `json:"cluster"` NamespaceName string `json:"namespaceName"` ReleaseKey string `json:"releaseKey"` Configurations map[string]string `json:"configurations"` }
type Message struct { Details map[string]interface{} `json:"details"` }
type Notification struct { NamespaceName string `json:"namespaceName"` NotificationId int64 `json:"notificationId"` }
type NotificationRes struct { NamespaceName string `json:"namespaceName"` NotificationId int64 `json:"notificationId"` Messages Message `json:"messages"` }
type NotificationsRequest struct { AppId string `form:"appId" binding:"required"` Cluster string `form:"cluster" binding:"required"` Notifications string `form:"notifications" binding:"required"` }
type Server struct { // contains filtered or unexported fields }
func NewServer() *Server
func (s *Server) GetHost() string
func (s *Server) Run()
func (s *Server) SetHost(host string)
func (s *Server) Stop()
func (s *Server) Wait()