Documentation ¶
Index ¶
- Variables
- type Client
- func (c *Client) CommitGraph(ctx context.Context, id string) (common.Hash, error)
- func (c *Client) CreateGraph(ctx context.Context, id string) (common.Hash, error)
- func (c *Client) QuadStore(name string) graph.QuadStore
- func (c *Client) SetGraph(ctx context.Context, hash common.Hash, sig []byte) error
- func (c *Client) SetRootDapp(ctx context.Context, uri string) error
- type Config
- type Kord
- type PublicAPI
- func (api *PublicAPI) ApplyDeltas(name string, in []graph.Delta, opts graph.IgnoreOpts) (common.Hash, error)
- func (api *PublicAPI) CommitGraph(name string) (common.Hash, error)
- func (api *PublicAPI) CreateGraph(name string) (common.Hash, error)
- func (api *PublicAPI) HttpAddr() string
- func (api *PublicAPI) SetGraph(hash common.Hash, sig []byte) error
- func (api *PublicAPI) SetRootDapp(dappURI string) error
- type Server
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{
HTTPAddr: "localhost",
HTTPPort: 5000,
}
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CommitGraph ¶
func (*Client) CreateGraph ¶
type PublicAPI ¶
type PublicAPI struct {
// contains filtered or unexported fields
}
func NewPublicAPI ¶
func (*PublicAPI) ApplyDeltas ¶
func (*PublicAPI) SetRootDapp ¶
Click to show internal directories.
Click to hide internal directories.