Categorygithub.com/pgmod/grpcCache
module
1.0.4
Repository: https://github.com/pgmod/grpccache.git
Documentation: pkg.go.dev

# README

Сервер работает на порту 50051

пример клиента

package main

import (
	"context"
	"os"
	"time"

	"github.com/pgmod/grpcCache/client"
)

func main() {

	target := os.Getenv("GRPC_ADDR")
	if target == "" {
		target = "localhost:50051"
	}

	ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
	defer cancel()
	client := client.CreateClient(target)
	client.Clear(ctx, "100000")

}

# Packages

No description provided by the author
No description provided by the author
db/db.go.
No description provided by the author