services

package
v0.0.0-...-39992ae Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: MIT Imports: 9 Imported by: 0

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)
}

Jump to

Keyboard shortcuts

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