Skip to content

agnusarev/memcache_loader_go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

memcache_loader_go

The program parses and uploads to the memcache a minute-by-minute unloading of the installed applications tracker logs. The key is the type and device identifier separated by a colon, the value is a protobuf message.

preparing

Need to add go package path to .proto file before creation of .go file: option go_package = "./" and then create .proto file for Go:

protoc  --go_out=./proto ./proto/appsinstalled.proto

installation

go mod init github.com/agnusarev/memcache_loader_go
go get github.com/bradfitz/gomemcache/[email protected]
go get google.golang.org/protobuf/cmd/protoc-gen-go@latest

run

go run main.go

About

memcache_loader_go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages