MurmurationsSynchronizer

command module
v0.0.0-...-ce52065 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

README

MurmurationsSynchronizer

Trigger the serverless function in local

  1. Modify the variables in hit.go. hitCount means how many times we want to hit to the serverless function. hitUrl is the url of the serverless function. apiKey is the Bearer Token we set.
    hitCount := 300
    hitUrl := "http://localhost:3000/api"
    apiKey := ""
    
  2. Execute the following command.
    go run hit.go
    

Deployment to k8s

Production/Staging
  1. Add secret, replace "YOUR_KEY" with the correct key
kubectl create secret generic synchronizer-job-secret --from-literal="API_SECRET_KEY=YOUR_KEY"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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