blankspace

command module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 19 Imported by: 0

README

blankspace

Run:

$ docker run --name bs --net=host -d rboyer/blankspace -name my-name

HTTP:

$ curl -sL localhost:8080
{"Name":"v2"}

gRPC:

$ grpcurl -plaintext localhost:8079 list
blankspace.Server
grpc.reflection.v1alpha.ServerReflection

$ grpcurl -plaintext localhost:8079 describe blankspace.Server
blankspace.Server is a service:
service Server {
  rpc Describe ( .blankspace.DescribeRequest ) returns ( .blankspace.DescribeResponse );
}

$ grpcurl -d '{}' -plaintext localhost:8079 blankspace.Server.Describe
{
  "name": "my-name"
}

TCP:

$ telnet localhost 8078
Trying ::1...
Connected to localhost.
Escape character is '^]'.
describe
my-name
describe
my-name
quit
Connection closed by foreign host.

HTTP proxied request:

$ curl --get -sL localhost:8080/fetch --data-urlencode "url=http://neverssl.com"
...(fetch is proxied)...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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