//
pkg.gl
Category
github.com/rollkit/go-da
proxy
jsonrpc
package
0.5.2
Repository:
https://github.com/rollkit/go-da.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
9
Dependents
4
Files
152 SLOC
#
Functions
NewClient
NewClient creates a new Client with one connection per namespace with the given token as the authorization token.
NewServer
NewServer accepts the host address port and the DA implementation to serve as a jsonrpc service.
#
Structs
API
API defines the jsonrpc service module API.
Client
Client is the jsonrpc client.
Server
Server is a jsonrpc service that can serve the DA interface.
#
Interfaces
Module
Module wraps the DA interface go:generate mockgen -destination=mocks/api.go -package=mocks .