const (
CTXKEY = "go_easyops_ctx_key"
)
func ContextToString(ctx context.Context) string
func ContextWithLogin(username string, password string) (context.Context, error)
func GetUser(ctx context.Context) *apb.User
func NewContextWithUserAndService(ctx context.Context, user, service *apb.User) context.Context
adds this services' user & service accounts to context and returns it
func PrintContext(ctx context.Context)