go-plugin-rpc

command
v0.0.0-...-e288b73 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 7 Imported by: 0

README

go-plugin-rpc

Quick start

Build host

go build -o host main.go

No authentication Plugin

Build plugin
cd plugin
go build -o auth ./no-auth/plugin.go
Run host
cd ..
./host

Then it returns,

success!!

Password authentication Plugin

Build plugin
cd plugin
go build -o auth ./password/plugin.go
Run host
cd ..
./host

Then it returns,

password:

If you input the valid password hoge.

password:hoge
success!!

If you input the invalid password fuga.

password:fuga
fail!!

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
plugin

Jump to

Keyboard shortcuts

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