events

package
v0.0.0-...-081ecb4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2020 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Overview

Code generated by genservices. DO NOT EDIT.

Code generated by genservices. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHandlers

func RegisterHandlers(svc Service, r *mux.Router, regCtx *endpointutil.HandlerRegContext)

Types

type BasicService

type BasicService struct{}

func (BasicService) TrackEvent

func (s BasicService) TrackEvent(rc *request.AuthorizedContext, req *Request) error

type Request

type Request struct {
	Name    string
	Payload map[string]interface{}
}

func (Request) FillLogContext

func (r Request) FillLogContext(lctx logutil.Context)

type Service

type Service interface {
	//url:/v1/events/analytics method:POST
	TrackEvent(rc *request.AuthorizedContext, req *Request) error
}

type TrackEventRequest

type TrackEventRequest struct {
	Req *Request
}

type TrackEventResponse

type TrackEventResponse struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL