A high availability log sourcing tool for modern DevOps
- Decentralizing calls to a distributed log-store,
rqlite
- Fast logs sourcing using
NATS
andgRPC
Ishaan Sourav (Backend)
and Anurag (ML)
baseURL = "[http://example.org/](http://example.org/)" | |
languageCode = "en-us" | |
title = "About me" | |
theme = "m10c" | |
[params] | |
author = "Angad Sharma" | |
description = "Noob is just a state of mind" | |
[[params.social]] | |
name = "github" |
I can write in markdown over here
package main | |
import ( | |
"html/template" | |
"log" | |
"net/http" | |
) | |
// Setting up static file handler and HTTP server to listen and serve | |
func main() { |
package controller | |
import ( | |
"html/template" | |
) | |
type Host struct { | |
temp \*template.Template | |
} |
// Attaching a servepage function to the /host endpoint to handle post request | |
func (h Host) servepage(w http.ResponseWriter, r \*http.Request) { | |
err := r.ParseForm() | |
if err != nil { | |
log.Println(err) | |
} | |
f := r.Form |
type Model struct { | |
BatchID string `json:"batchID" bson:"batchID"` | |
OrgID string `json: "orgID" bson:"orgID"` | |
Tasks []Task `json:"tasks" bson:"tasks"` | |
Type string `json:"type" bson:"type"` | |
CreatedBy string `json:"createdBy" bson:"createdBy"` | |
State string `json:"state" bson:"state"` | |
UnitID string `json:"unitID" bson:"unitID"` | |
FileMeta FileMetaStruct `json:"fileMeta", bson:"fileMeta"` | |
} |
func (h *Handler) Ping(c echo.Context) error { | |
err := h.bulkops.Hello.CallPingTask("santhosh") | |
if err != nil { | |
return c.JSON(400, err) | |
} | |
return c.NoContent(http.StatusOK) | |
} |