simple-go-rpc: github.com/ankur-anand/simple-go-rpc/src/server Index | Files

package server

import "github.com/ankur-anand/simple-go-rpc/src/server"

Index

Package Files

server.go

type RPCServer Uses

type RPCServer struct {
    // contains filtered or unexported fields
}

RPCServer ...

func NewServer Uses

func NewServer(addr string) *RPCServer

NewServer creates a new server

func (*RPCServer) Execute Uses

func (s *RPCServer) Execute(req dataserial.RPCdata) dataserial.RPCdata

Execute the given function if present

func (*RPCServer) Register Uses

func (s *RPCServer) Register(fnName string, fFunc interface{})

Register the name of the function and its entries

func (*RPCServer) Run Uses

func (s *RPCServer) Run()

Run server

Package server imports 7 packages (graph) and is imported by 1 packages. Updated 2019-08-04. Refresh now. Tools for package owners.