Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SMDBoxHandler ¶
SMDBoxHandler is a handler for SMDBox web app.
func SchemaHandler ¶
func SchemaHandler(rpcsrv *Server) func(w http.ResponseWriter, r *http.Request)
Types ¶
type Server ¶
type Server struct { zenrpc.Server // contains filtered or unexported fields }
Server represents a JSON-RPC server
func NewServer ¶
func NewServer(ctx context.Context, dbAdapter db.Adapter, redis *cache.Redis, opts options.Rpc) (*Server, error)
NewServer creates a new JSON+RPC Server instance
Click to show internal directories.
Click to hide internal directories.