jamie-service

command module
v0.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Go Reference License

Jamie Service About_de

Required Software

  • You must have the Go Programming Language installed in your machine to run this project. You can get the official download here.

Initializate the project

  • Clone this project to your local machine.
  • On main.go folder (../jamie-service/main.go), open your local terminal and type the command go run main.go, if your OS is windows, you can by build and run the executable go build && ./jamie-service.exe, or if your OS is mac or linux, type the command go build -o service && ./service $@.

Using main endpoints

By default the port will be :8005

  • GET http://localhost:YOURSETTEDPORT/

    • Will return simple message to client such as: "Jamie Service Works!!!"
  • GET http://localhost:YOURSEETEDPORT/swagger/index.html

    • On your browser, you can see the swagger documentation of the api.
  • GET http://localhost:YOURSEETEDPORT/health/live?full=1

    • This endpoint will check the live status of the application, just like that:
      {
      	"goroutine-threshold": "OK"
      }
      
  • GET http://localhost:YOURSEETEDPORT/health/ready?full=1

    • This endpoint will check the ready status of the services used by ruller project
    {
    	"goroutine-threshold": "OK",
    	"resource-loader": "OK"
    }
    

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
clients
v1
payloads
v1
api

Jump to

Keyboard shortcuts

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