Some checks failed
ci/woodpecker/pr/server-audit Pipeline was successful
ci/woodpecker/pr/server-lint Pipeline failed
ci/woodpecker/pr/server-vet Pipeline failed
ci/woodpecker/pr/server-test Pipeline was successful
ci/woodpecker/push/server-audit Pipeline was successful
ci/woodpecker/push/server-lint Pipeline failed
ci/woodpecker/push/server-vet Pipeline failed
ci/woodpecker/push/server-test Pipeline was successful
ci/woodpecker/push/useragent-analyze Pipeline failed
21 lines
308 B
Rust
21 lines
308 B
Rust
use crate::context::ServerContext;
|
|
|
|
pub mod actors;
|
|
pub mod context;
|
|
pub mod crypto;
|
|
pub mod db;
|
|
pub mod evm;
|
|
pub mod grpc;
|
|
pub mod peers;
|
|
pub mod utils;
|
|
|
|
pub struct Server {
|
|
context: ServerContext,
|
|
}
|
|
|
|
impl Server {
|
|
pub const fn new(context: ServerContext) -> Self {
|
|
Self { context }
|
|
}
|
|
}
|