https://github.com/yuuki/gokc
Yet Another Keepalived Syntax Checker in Golang.
https://github.com/yuuki/gokc
go keepalived syntax-checker
Last synced: 11 months ago
JSON representation
Yet Another Keepalived Syntax Checker in Golang.
- Host: GitHub
- URL: https://github.com/yuuki/gokc
- Owner: yuuki
- License: mit
- Created: 2016-01-14T20:27:18.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-09-23T05:47:22.000Z (over 6 years ago)
- Last Synced: 2025-04-12T07:44:18.763Z (about 1 year ago)
- Topics: go, keepalived, syntax-checker
- Language: Go
- Homepage:
- Size: 213 KB
- Stars: 50
- Watchers: 8
- Forks: 15
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
gokc
====
[](https://travis-ci.org/yuuki/diamondb)
[](https://github.com/yuuki/gokc/releases)
[](https://goreportcard.com/report/github.com/yuuki/gokc)
Yet Another [Keepalived](http://keepalived.org/) syntax checker in golang.
## Usage
```bash
gokc -f /etc/keepalived/keepalived.conf
gokc: the configuration file /etc/keepalived/keepalived.conf syntax is ok
```
## Installation
### Homebrew
```bash
$ brew tap yuuki/gokc
$ brew install gokc
```
### Download binary from GitHub Releases
[Releases・yuuki/gokc - GitHub](https://github.com/yuuki/gokc/releases)
### Build from source
```bash
$ go get github.com/yuuki/gokc
$ go install github.com/yuuki/gokc
```
## Contribution
1. Fork ([https://github.com/yuuki/gokc/fork](https://github.com/yuuki/gokc/fork))
1. Create a feature branch
1. Commit your changes
1. Rebase your local changes against the master branch
1. Run test suite with the `go test ./...` command and confirm that it passes
1. Run `gofmt -s`
1. Create new Pull Request
## License
[The MIT License](./LICENSE).
## Author
[y_uuki](https://github.com/yuuki)