blob: afc4d1500591b4ef5adaf02222351b6ab3dd8808 [file] [log] [blame]
giolekvaf89e0462020-05-02 17:47:06 +04001package events
2
3type query struct {
4 query string
5 operation string
6 variables string
7}
8
9// Implements EventStore
10type GraphQLClient struct {
11 apiAddr string
12}
13
14func NewGraphQLClient(apiAddr string) EventStore {
15 return &GraphQLClient{apiAddr}
16}
17
18func (c *GraphQLClient) GetEventsInState(state EventState) ([]Event, error) {
19 return nil, nil
20}