toki

command module
v0.0.0-...-689fb79 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2026 License: MIT Imports: 1 Imported by: 0

README


Toki

Toki is an auth orchestrator written in Go. Toki simplifies token renewal through its config and use of signals.

10000ft Overview

Usage

pipeline-config.json

[
	{
		"command": "python3 test.py",
		"auth": [
			{
				"strategy": "custom",
				"params": {
					"expiry": 60,
					"refresh_after": 50,
					"command": "sleep 5 && echo 1"
				}
			}
		]
	},
	{
		"command": "python3 test.py",
		"auth": [
			{
				"strategy": "custom",
				"params": {
					"expiry": 60,
					"refresh_after": 50,
					"command": "sleep 5 && echo 1"
				}
			}
		]
	}
]

command: toki pipeline-config.json

Documentation

Overview

Copyright © 2025 Pratyush Tiwary <pratyushtiwary33@gmail.com>

Directories

Path Synopsis
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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