Golang Code Challenge for PARSPOOYESH

Related tags

golang-code-challenge
Overview

golang-code-challenge

Dependencies

You must have go and Docker installed on your machine also you need to go get this Dependencies:

name repo
gorilla/mux https://github.com/gorilla/mux
go redis https://github.com/go-redis/redis

Usage

  1. Use docker run --name redis-usdb -p "yourPort":6379 -d redis to connect redis to port "yourPort".

    ("yourPort" is set to 8282 by default, but if you want to change it, change redisPort in config.json)

    Broker will be use port 8080 by default, to change it go to file config.json.

  2. build and run main.go file(go run main.go) to start the app.

  3. Go to publisher package and run go run publish.go (to start the publisher for broker).

Testing each part

You can go to each package and run go test to test that specefic part,

also there is an integration test in cmd package which check connection between different parts.

Owner
Armin Goodarzi
CE student at the AmirKabir University of Technology.
Armin Goodarzi
⛑ Gatus - Automated service health dashboard

A service health dashboard in Go that is meant to be used as a docker image with a custom configuration file. I personally deploy it in my Kubernetes

Chris C. 1.6k Jul 24, 2021
ghw - Golang HardWare discovery/inspection library

ghw - Golang HardWare discovery/inspection library ghw is a small Golang library providing hardware inspection and discovery for Linux and Windows.

Jay Pipes 1k Jul 17, 2021
WeCTF 2020+ Source Code & Organizer's Writeup

WeCTF 2020+ Thank you all for participating! This README contains our writeup sketches. You can also share your writeup on CTFtime. Event Link: https:

WeCTF Organizers 19 Jul 6, 2021
Evolutionary optimization library for Go (genetic algorithm, partical swarm optimization, differential evolution)

eaopt is an evolutionary optimization library Table of Contents Changelog Example Background Features Usage General advice Genetic algorithms Overview

Max Halford 740 Jul 11, 2021
James is your butler and helps you to create, build, debug, test and run your Go projects

go-james James is your butler and helps you to create, build, debug, test and run your Go projects. When you often create new apps using Go, it quickl

Pieter Claerhout 43 Jun 15, 2021
Haskell-flavoured functions for Go :smiley:

Hasgo Coverage status: gocover.io Our report card: Hasgo is a code generator with functions influenced by Haskell. It comes with some types out-of-the

Dylan Meeus 94 Jul 6, 2021
Standard Go Project Layout

This is a basic layout for Go application projects. It's not an official standard defined by the core Go dev team; however, it is a set of common historical and emerging project layout patterns in the Go ecosystem. Some of these patterns are more popular than others. It also has a number of small enhancements along with several supporting directories common to any large enough real world application.

null 25.1k Jul 17, 2021
psutil for golang

gopsutil: psutil for golang This is a port of psutil (https://github.com/giampaolo/psutil). The challenge is porting all psutil functions on some arch

shirou 6.5k Jul 26, 2021
null

Cleaning Code in Go Introduction So, this article is a little different from my others. Instead of focusing on a specific product, or solving a spefic

Lasse Martin Jakobsen 120 Jul 11, 2021
🌍 📋 A web dashboard to inspect Terraform States

?? ?? A web dashboard to inspect Terraform States

Camptocamp 1.3k Jul 24, 2021
[TOOL, CLI] - Filter and examine Go type structures, interfaces and their transitive dependencies and relationships. Export structural types as TypeScript value object or bare type representations.

typex Examine Go types and their transitive dependencies. Export results as TypeScript value objects (or types) declaration. Installation go get -u gi

Daniel T. Gorski 132 May 23, 2021
Lima launches Linux virtual machines on macOS, with automatic file sharing, port forwarding, and containerd.

Lima: Linux-on-Mac ("macOS subsystem for Linux", "containerd for Mac")

Akihiro Suda 2.8k Jul 24, 2021
An easy way to add useful startup banners into your Go applications

Try browsing the code on Sourcegraph! Banner Add beautiful banners into your Go applications Table of Contents Motivation Usage API Command line flags

Claudemiro 348 Jul 9, 2021
Fast and secure initramfs generator

Booster - fast and secure initramfs generator Initramfs is a specially crafted small root filesystem that mounted at the early stages of Linux OS boot

Anatol Pomozov 151 Jul 26, 2021