impl

package
v0.0.0-...-730913c Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleUsers

func HandleUsers(users []entity.User, blog_results []model.CustomRawResult, comment_results []model.CustomRawResult) []openapi.Statistic

func NewAuthenticationAPIService

func NewAuthenticationAPIService() openapi.AuthenticationAPIServicer

NewAuthenticationAPIService creates a default api service

func NewCommentAPIService

func NewCommentAPIService() openapi.CommentAPIServicer

NewCommentAPIService creates a default api service

func NewStatisticsAPIService

func NewStatisticsAPIService() openapi.StatisticsAPIServicer

NewStatisticsAPIService creates a default api service

Types

type AuthenticationAPIService

type AuthenticationAPIService struct {
}

AuthenticationAPIService is a service that implements the logic for the AuthenticationAPIServicer This service should implement the business logic for every endpoint for the AuthenticationAPI API. Include any external packages or services that will be required by this service.

func (*AuthenticationAPIService) PostLogin

PostLogin - provides JWT token

type CommentAPIService

type CommentAPIService struct {
}

CommentAPIService is a service that implements the logic for the CommentAPIServicer This service should implement the business logic for every endpoint for the CommentAPI API. Include any external packages or services that will be required by this service.

func (*CommentAPIService) PostComment

func (s *CommentAPIService) PostComment(ctx context.Context, blogid int32, authorization string, commentRequest openapi.CommentRequest) (openapi.ImplResponse, error)

PostComment - Saves a new Comment

type StatisticsAPIService

type StatisticsAPIService struct {
}

StatisticsAPIService is a service that implements the logic for the StatisticsAPIServicer This service should implement the business logic for every endpoint for the StatisticsAPI API. Include any external packages or services that will be required by this service.

func (*StatisticsAPIService) GetStatistics

func (s *StatisticsAPIService) GetStatistics(ctx context.Context, days int32) (openapi.ImplResponse, error)

GetStatistics - Provides statistics about user activity

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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