admin

package
v0.0.0-...-56114fe Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MIT Imports: 12 Imported by: 0

README

Example Queries

Get all feeds

$ grpc_cli call <URL> AdminService.GetFeeds <<EOF
Username: "<Username>"
EOF

Add new feed

$ grpc_cli call <URL> AdminService.AddFeed <<EOF
Username: "<Username>"
Title: "<Title>"
URL: "<URL of feed>"
Link: "<URL of homepage>"
Folder: "<Folder>"
EOF

Remove a feed

$ grpc_cli call <URL> AdminService.RemoveFeed <<EOF
Username: "<Username>"
Id: <id>
EOF

Edit a feed

$ grpc_cli call <URL> AdminService.EditFeed <<EOF
Username: "<Username>"
Id: <id>
Folder: "<Name of folder>"
EOF

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, d *storage.Database)

Start starts the gRPC admin server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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