Directories ¶
Path | Synopsis |
---|---|
Package api contains the api used by scribe
|
Package api contains the api used by scribe |
Package backend handles the scribe backend.
|
Package backend handles the scribe backend. |
Package client handles a gRPC connection to a Scribe.
|
Package client handles a gRPC connection to a Scribe. |
Package cmd contains a command line interface for runnign scribe
|
Package cmd contains a command line interface for runnign scribe |
Package config contains the config for the Scribe
|
Package config contains the config for the Scribe |
Package db implements the data store
|
Package db implements the data store |
datastore/sql
Package sql accesses a db
|
Package sql accesses a db |
datastore/sql/base
Package base contains the base sql implementation
|
Package base contains the base sql implementation |
datastore/sql/mysql
Package mysql implements the mysql package
|
Package mysql implements the mysql package |
datastore/sql/sqlite
Package sqlite implements the sqlite package
|
Package sqlite implements the sqlite package |
Package graphql provides the graphql server for the scribe service.
|
Package graphql provides the graphql server for the scribe service. |
contrib
generate gql schema
|
generate gql schema |
server
Package server provides the GraphQL server.
|
Package server provides the GraphQL server. |
server/graph
Package graph provides the GraphQL resolvers.
|
Package graph provides the GraphQL resolvers. |
server/graph/model
Package model defines models returned by the graphql server
|
Package model defines models returned by the graphql server |
server/graph/resolver
Package resolvers resolves data from gqlgen
|
Package resolvers resolves data from gqlgen |
server/types
Package types provides the GraphQL types for the Scribe service.
|
Package types provides the GraphQL types for the Scribe service. |
grpc
|
|
client
Package client contains the grpc client
|
Package client contains the grpc client |
client/rest
* types/v1/service.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
* types/v1/service.proto * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * API version: version not set * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) |
server
Package server contains the grpc server
|
Package server contains the grpc server |
types/types/v1
Package pbscribe is the gRPC service definition for the scribe service.
|
Package pbscribe is the gRPC service definition for the scribe service. |
Package internal contains dev dependencies required for running developer tasks (coverage testing, etc) that are not required by the project itself.
|
Package internal contains dev dependencies required for running developer tasks (coverage testing, etc) that are not required by the project itself. |
Package logger handles logging various scribe events and errors.
|
Package logger handles logging various scribe events and errors. |
Package metadata provides a metadata service for Scribe.
|
Package metadata provides a metadata service for Scribe. |
Package service runs the scribe service
|
Package service runs the scribe service |
indexer
Package indexer takes a range of blocks, fetches logs, gets txs, receipts, and block headers, and stores them.
|
Package indexer takes a range of blocks, fetches logs, gets txs, receipts, and block headers, and stores them. |
Package testhelper makes it easy for other packages requiring scribe to construct one using simulated backends.
|
Package testhelper makes it easy for other packages requiring scribe to construct one using simulated backends. |
Package testutil contains mock deployers for interacting with the mock backend
|
Package testutil contains mock deployers for interacting with the mock backend |
testcontract
Package testcontract contains a contract used for testing event and transaction emission.
|
Package testcontract contains a contract used for testing event and transaction emission. |
Package types holds various types used throughout the scribe package.
|
Package types holds various types used throughout the scribe package. |
Click to show internal directories.
Click to hide internal directories.