Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIGatewayService ¶
type APIGatewayService interface { CheckAuth(ctx *gin.Context, transport sender.Transport, apiName string, key string, span *opentracing.Span) (res *authrpc.ValidationResponse, err error) Login(transport sender.Transport, input *authrpc.LoginInput, span *opentracing.Span) (res *authrpc.AuthResponse, err error) Signup(transport sender.Transport, input *authrpc.SignupInput, span *opentracing.Span) (res *authrpc.AuthResponse, err error) GetPictures(transport sender.Transport, userId string, span *opentracing.Span) (res *prpc.PicturesMessage, err error) GetPicture(transport sender.Transport, userId string, pictureId string, span *opentracing.Span) (res *prpc.PictureMessage, err error) CreatePicture(transport sender.Transport, input *prpc.CreateUserPictureRequest, span *opentracing.Span) (res *prpc.PictureMessage, err error) DeletePicture(transport sender.Transport, userId string, pictureId string, span *opentracing.Span) error GetAnalytics(transport sender.Transport, input *anrpc.LogDataRequest, span *opentracing.Span) (res *anrpc.AnalyticsEntryMessage, err error) }
func NewAPIGatewayService ¶
func NewAPIGatewayService(s sender.Sender, el eventslistener.EventListener) APIGatewayService
Click to show internal directories.
Click to hide internal directories.