package station import "encoding/json" // SoftwareName and SoftwareVersion are the identity sent to the reflector // after login. Edit them here. const ( SoftwareName = "funknetz" SoftwareVersion = "1.0.0" ) func softwareIdentityBody() ([]byte, error) { raw, err := json.Marshal(struct { SW string `json:"sw"` SWVer string `json:"swVer"` }{ SW: SoftwareName, SWVer: SoftwareVersion, }) if err != nil { return nil, err } return appendString(nil, string(raw)), nil }