Versions in this module Expand all Collapse all v1 v1.1.0 Mar 31, 2017 v1.0.0 Mar 8, 2017 Changes in this version + const RouteParamAppID + const RouteParamInstanceID + const RouteParamToken + const RouterParamVip + func ApplicationURL(token, appid string) string + func InstanceStatusURL(token, appid, id string) string + func InstanceURL(token, appid, id string) string + func Translate(inst *Instance) (*store.ServiceInstance, error) + type Application struct + Instances []*Instance + Name string + func (app *Application) UnmarshalJSON(b []byte) error + type Applications struct + Application []*Application + func (apps *Applications) UnmarshalJSON(b []byte) error + type ApplicationsList struct + Applications *Applications + type DatacenterInfo struct + Class string + Metadata DatacenterMetadata + Name string + type DatacenterMetadata map[string]interface + type Instance struct + ActionType string + Application string + CordServer interface{} + CountryID int + Datacenter *DatacenterInfo + GroupName string + HealthCheck string + HomePage string + HostName string + ID string + IPAddr string + LastDirtyTs interface{} + LastUpdatedTs interface{} + Lease *LeaseInfo + Metadata json.RawMessage + OvrStatus string + Port *Port + SecPort *Port + SecVIPAddr string + Status string + StatusPage string + VIPAddr string + func (ir *Instance) String() string + type InstanceWrapper struct + Inst *Instance + type LeaseInfo struct + DurationInt uint32 + LastRenewalTs int64 + RegistrationTs int64 + RenewalInt uint32 + type Port struct + Enabled string + Value interface{} + type Routes struct + func New(catalogMap store.CatalogMap) *Routes + func (routes *Routes) RouteHandlers(middlewares ...rest.Middleware) []*rest.Route + type UniqueIdentifier interface + GetID func(dcinfo *DatacenterInfo) string