blob: afc4d1500591b4ef5adaf02222351b6ab3dd8808 [file] [log] [blame]
package events
type query struct {
query string
operation string
variables string
}
// Implements EventStore
type GraphQLClient struct {
apiAddr string
}
func NewGraphQLClient(apiAddr string) EventStore {
return &GraphQLClient{apiAddr}
}
func (c *GraphQLClient) GetEventsInState(state EventState) ([]Event, error) {
return nil, nil
}