Crates.io | katalyst |
lib.rs | katalyst |
version | 0.2.0 |
source | src |
created_at | 2019-02-17 07:42:33.365648 |
updated_at | 2019-06-26 01:48:15.114225 |
description | High performance, modular API Gateway |
homepage | |
repository | https://github.com/proctorlabs/katalyst |
max_upload_size | |
id | 115317 |
size | 130,654 |
Katalyst is a high performance and low memory API Gateway. It can be used as either an appliance through Docker or it can be used as a library. This project is currently under heavy development and will likely experience many changes and issues as we work towards the 1.0 release.
For library usage, refer to the official rust documentation.
Current installation of the binary requires Cargo, though other package formats may be coming soon.
# Add --force if you need to overwrite an already installed version
cargo install katalyst
Once installed, starting Katalyst is easy. Use the -c option to specify the config file. {{version}}
➤ katalyst -c config.yml
2019-06-25 19:44:03,103 INFO [katalyst::config::parsers] Loading file from: config.yml
2019-06-25 19:44:03,105 INFO [katalyst::server] Listening on http://0.0.0.0:8080
2019-06-25 19:44:03,105 INFO [katalyst::server] Listening on https://0.0.0.0:8443
...
Run with the help command or flags to get all CLI options
➤ katalyst help
katalyst 0.2.0
Phil Proctor <philliptproctor@gmail.com>
High performance, modular API Gateway
USAGE:
katalyst [OPTIONS] [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-c, --config <config> Config file [default: katalyst.yaml]
-l, --log-level <log-level> Logging level to use [default: info]
SUBCOMMANDS:
help Prints this message or the help of the given subcommand(s)
run Start the API Gateway (default)
Refer to the documentation here