Documentation ¶
Index ¶
- func ReceiveEvent(w http.ResponseWriter, r *http.Request)
- type API
- func (a *API) Aggregate(ctx context.Context, req *v1.Aggregate_Request) (*v1.Aggregate_Response, error)
- func (a *API) BreakDown(ctx context.Context, req *v1.BreakDown_Request) (*v1.BreakDown_Response, error)
- func (a *API) GetDomains(_ context.Context, _ *v1.GetDomainRequest) (*v1.GetDomainResponse, error)
- func (a *API) GetVersion(_ context.Context, _ *emptypb.Empty) (*v1.Version, error)
- func (a *API) RealtimeVisitors(ctx context.Context, req *v1.Realtime_Request) (*v1.Realtime_Response, error)
- func (a *API) SendEvent(ctx context.Context, req *v1.Event) (*v1.SendEventResponse, error)
- func (a *API) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (a *API) Timeseries(ctx context.Context, req *v1.Timeseries_Request) (*v1.Timeseries_Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReceiveEvent ¶
func ReceiveEvent(w http.ResponseWriter, r *http.Request)
Types ¶
type API ¶
type API struct { v1.UnsafeStaplesServer v1.UnsafeStatsServer // contains filtered or unexported fields }
func (*API) Aggregate ¶
func (a *API) Aggregate(ctx context.Context, req *v1.Aggregate_Request) (*v1.Aggregate_Response, error)
func (*API) BreakDown ¶
func (a *API) BreakDown(ctx context.Context, req *v1.BreakDown_Request) (*v1.BreakDown_Response, error)
func (*API) GetDomains ¶
func (a *API) GetDomains(_ context.Context, _ *v1.GetDomainRequest) (*v1.GetDomainResponse, error)
func (*API) GetVersion ¶
func (*API) RealtimeVisitors ¶
func (a *API) RealtimeVisitors(ctx context.Context, req *v1.Realtime_Request) (*v1.Realtime_Response, error)
func (*API) Timeseries ¶
func (a *API) Timeseries(ctx context.Context, req *v1.Timeseries_Request) (*v1.Timeseries_Response, error)
Click to show internal directories.
Click to hide internal directories.