Skip to content

Store and Search tag-msg using Go, gRPC and Postgres

License

Notifications You must be signed in to change notification settings

tukangkod/go-gobok

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go-Gobok

Gobok is a malay word shortformed of Gerobok which translate as Cupboard/Shelve/Closet.

what is this project about?

A test project to use following:

We have two gRPC service:

  • Put - save client ip, server ip, tags and messages
  • Search - search by client ip, server ip, tags and return all matched records

how to run?

  1. configure config.yaml

    $ cp config.yaml.example config.yaml
    $ vi config.yaml

    Default setting will be:

    • user: postgres
    • database: postgres
  2. run the server.

    $ go run server/*.go
  3. run put client to save data

    $ go run client/put.go "127.0.0.1" "" "tag1=value" "testing go-gobok"
  4. run search client to search data

    $ go run client/search.go "" "" "tag1=value"

note:

  • test and benchmark only for utils at the moment

About

Store and Search tag-msg using Go, gRPC and Postgres

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages