Skip to content

Commit bb6af4d

Browse files
committed
refactor: make service fields private
1 parent 2a7e2cb commit bb6af4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/udp-tracker-core/src/services/announce.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ use crate::statistics;
2323

2424
/// The `AnnounceService` is responsible for handling the `announce` requests.
2525
pub struct AnnounceService {
26-
pub announce_handler: Arc<AnnounceHandler>,
27-
pub whitelist_authorization: Arc<whitelist::authorization::WhitelistAuthorization>,
28-
pub opt_udp_core_stats_event_sender: Arc<Option<Box<dyn statistics::event::sender::Sender>>>,
26+
announce_handler: Arc<AnnounceHandler>,
27+
whitelist_authorization: Arc<whitelist::authorization::WhitelistAuthorization>,
28+
opt_udp_core_stats_event_sender: Arc<Option<Box<dyn statistics::event::sender::Sender>>>,
2929
}
3030

3131
impl AnnounceService {

0 commit comments

Comments
 (0)