// limitations under the License.
// ========================LICENSE_END===================================
//
-
package main
import (
var rapp string
var methods string
var healthy bool = true
-var ttime time.Time
+var ttime time.Time
var jwt Jwttoken
const (
ttime = time.Now()
ttime = ttime.Add(time.Second * time.Duration(jwt.Expires_in))
}
- return jwt.Access_token
+ return jwt.Access_token
}
func getSecret(secretName string) (string, string, string) {