Documentation ¶
Index ¶
Constants ¶
View Source
const (
StatusSuccess = gemini.StatusSuccess
)
Variables ¶
View Source
var Serve = plugin.Serve
Functions ¶
This section is empty.
Types ¶
type HandshakeConfig ¶
type HandshakeConfig = plugin.HandshakeConfig
type ResponseWriter ¶
type ResponseWriter = gemini.ResponseWriter
type RoutePlugin ¶
type RoutePlugin struct { // Impl Injection Impl Route }
Plugin implmentation
func (RoutePlugin) Client ¶
func (RoutePlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error)
func (*RoutePlugin) Server ¶
func (p *RoutePlugin) Server(*plugin.MuxBroker) (interface{}, error)
type RouteRPC ¶
type RouteRPC struct {
// contains filtered or unexported fields
}
Here is an implementation that talks over RPC
func (*RouteRPC) ServeGemini ¶
func (r *RouteRPC) ServeGemini() RouteResponse
type RouteRPCServer ¶
type RouteRPCServer struct {
Impl Route
}
func (*RouteRPCServer) ServeGemini ¶
func (s *RouteRPCServer) ServeGemini(args interface{}, resp *RouteResponse) error
type RouteResponse ¶
type ServeConfig ¶
type ServeConfig = plugin.ServeConfig
Click to show internal directories.
Click to hide internal directories.