Skip to content

Contains the endoflife client application to send requests concurrently and store data into database

License

Notifications You must be signed in to change notification settings

rcsolis/endoflife_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

End of life Server

Author:Rafael Chavez Solis

Email:rafaelchavezsolis@gmail.com

Description

Contains the endoflife client application to send requests concurrently and store data into database.

Expose and REST API using Gin Framework and consumes the EndOfLife Server Example

Architecture

This repository contains the componets highlighting in orange.

image

The logging ilustrates the use of standard log output using the log standard package.

Endpoints

  • /api/ Get all available technologies
  • /api/versions/:name Get all versions of one technology
  • /api/:name/version/:version Get details of specific version of one technology

Database

Use mongodb as database to test persistend data of cycle details.

gRPC

Command to build:

protoc --proto_path=./ \
--go_out=./ \
--go_opt=paths=source_relative \
--go-grpc_out=./ \
--go-grpc_opt=paths=source_relative,require_unimplemented_servers=false \
./internal/proto/*.proto

Stack:

  • Go 1.23.4
  • ProtocolBufers 3 (proto3)
  • google.golang.org/grpc
  • google.golang.org/grpc/codes
  • google.golang.org/grpc/status
  • Gin

TODO: Multiple conections in server and accepts multiple values for concurrency in client

About

Contains the endoflife client application to send requests concurrently and store data into database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published