Directories ¶
Path | Synopsis |
---|---|
Package api contains the api used by scribe
|
Package api contains the api used by scribe |
Package backfill is used to get logs from previous blocks
|
Package backfill is used to get logs from previous blocks |
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 node uses the backfiller to get all previous logs, and then listens to the height of the blockchain in order to add new logs as blocks come in.
|
Package node uses the backfiller to get all previous logs, and then listens to the height of the blockchain in order to add new logs as blocks come in. |
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. |
Click to show internal directories.
Click to hide internal directories.