rumors

command module
v2.0.0-beta5 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: MIT Imports: 4 Imported by: 0

README

RumorsFlow

build Latest releases LICENSE

Welcome to Rumors, a news aggregation application that brings together the latest news and updates from various sources.

Rumors parses RSS and sitemap XML files to gather and organize news and information, making it easier for you to stay informed and up-to-date on the latest developments in your field of interest.

Bot commands

rumors - <index> <size> <search>
sites - List of available sites
sub - List of subscribed sites
on - subscribe <site>
off - unsubscribe <site>

Generate Swagger Documentation 2.0

Install swag

go install github.com/swaggo/swag/cmd/swag@aa3e8d5fa2f6ee3a56f54c7ae3bd18145783eaac

Run the following command to generate Front API Documentation

swag i -g swagger.go -dir internal/http/front,internal/entity,internal/pubsub,${HOME}/go/pkg/mod/github.com/gowool/wool@v0.0.0-20230212000935-245e67db993b --instanceName front

Run the following command to generate System API Documentation

swag i -g swagger.go -dir internal/http/sys,internal/entity,${HOME}/go/pkg/mod/github.com/gowool/wool@v0.0.0-20230212000935-245e67db993b --instanceName sys

Generate a self-signed X.509 TLS certificate

Run the following command to generate cert.pem and key.pem files:

go run $GOROOT/src/crypto/tls/generate_cert.go --host localhost

Run the following command to generate RSA private key

openssl genrsa -out rsa_prv.pem 4096

License

Distributed under MIT License, please see license file within the code for more details.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Code generated by swaggo/swag.
Code generated by swaggo/swag.
cli
db
rdb
pkg
jwt

Jump to

Keyboard shortcuts

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