Discover Packages
github.com/GJRTIMMER/EVENT-SRV
command
module
Version:
v0.0.0-...-abfbf2a
Opens a new window with list of versions in this module.
Published: Oct 4, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
Event Server
Event server is used to store a time series set of events for the platform. Services can subscribe for event notifications
Getting started
Install Consul
Consul is the default registry/discovery for go-micro apps. It's however pluggable.
https://www.consul.io/intro/getting-started/install.html
Run Consul
$ consul agent -server -bootstrap-expect 1 -data-dir /tmp/consul
Start a mysql database
Download and start the service
go get github.com/micro/event-srv
event-srv --database_url="root:root@tcp(192.168.99.100:3306)/event"
OR as a docker container
docker run microhq/event-srv --database_url="root:root@tcp(192.168.99.100:3306)/event" --registry_address=YOUR_REGISTRY_ADDRESS
The API
Event server implements the following RPC Methods
Event
Create
Read
Search
Stream
Supported but should not really be used
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
proto
event
Package go_micro_srv_event_event is a generated protocol buffer package.
Package go_micro_srv_event_event is a generated protocol buffer package.
Click to show internal directories.
Click to hide internal directories.