https://github.com/justtaldevelops/omegle
An Omegle wrapper for Go, built from the ground up and designed to be concurrency safe.
https://github.com/justtaldevelops/omegle
Last synced: about 1 year ago
JSON representation
An Omegle wrapper for Go, built from the ground up and designed to be concurrency safe.
- Host: GitHub
- URL: https://github.com/justtaldevelops/omegle
- Owner: JustTalDevelops
- Created: 2021-04-02T03:12:56.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-03T05:34:02.000Z (about 5 years ago)
- Last Synced: 2025-02-04T18:46:56.427Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# omegleapi
An Omegle API for GoLang, built from the ground up and designed to be concurrency safe.
## Usage
Getting started is as simple as a few lines. For a full example, check out the `echo` example in `examples`.
```go
log := logrus.New()
log.Formatter = &logrus.TextFormatter{ForceColors: true}
log.Level = logrus.DebugLevel
err := omegleapi.NewSlave(&CustomHandler{log: log}, []string{"women"}, omegleapi.SlaveOptions{
Logger: log,
}).Start()
if err != nil {
panic(err)
}
```