• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

getdozer / dozer / 5963889733

24 Aug 2023 01:14PM UTC coverage: 75.612%. First build
5963889733

Pull #1881

github

chubei
feat: `on_event` can subscribe to multiple endpoints at once
Pull Request #1881: feat: `on_event` can subscribe to multiple endpoints at once

78 of 78 new or added lines in 7 files covered. (100.0%)

47016 of 62181 relevant lines covered (75.61%)

89102.19 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

90.91
/dozer-types/src/models/flags.rs
1
use serde::{Deserialize, Serialize};
2
#[derive(Serialize, Deserialize, PartialEq, Eq, Clone, prost::Message)]
5✔
3
pub struct Flags {
4
    /// dynamic grpc enabled; Default: true
5
    #[prost(bool, tag = "1", default = true)]
6
    #[serde(default = "default_true")]
7
    pub dynamic: bool,
8
    /// http1 + web support for grpc. This is required for browser clients.; Default: true
9
    #[prost(bool, tag = "2", default = true)]
10
    #[serde(default = "default_true")]
11
    pub grpc_web: bool,
12

13
    /// push events enabled.; Default: true
14
    #[prost(bool, tag = "3", default = true)]
15
    #[serde(default = "default_push_events")]
16
    pub push_events: bool,
17

18
    /// require authentication to access grpc server reflection service if true.; Default: false
19
    #[prost(bool, tag = "4", default = false)]
20
    #[serde(default = "default_false")]
21
    pub authenticate_server_reflection: bool,
22
}
23

24
pub fn default_push_events() -> bool {
78✔
25
    true
78✔
26
}
78✔
27

×
28
fn default_true() -> bool {
1✔
29
    true
1✔
30
}
1✔
31
fn default_false() -> bool {
1✔
32
    false
1✔
33
}
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc