| 1 | package webscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/ |
| 2 | |
| 3 | import ( |
| 4 | "logscip-go gomod github.com/golang/go/src go1.25.0 log/" |
| 5 | "syncscip-go gomod github.com/golang/go/src go1.25.0 sync/" |
| 6 | |
| 7 | "github.com/d-Rickyy-b/certstream-server-go/internal/metricsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/metrics`/" |
| 8 | "github.com/d-Rickyy-b/certstream-server-go/internal/modelsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/models`/" |
| 9 | ) |
| 10 | |
| 11 | type BroadcastManagerscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager# struct { |
| 12 | Broadcastscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#Broadcast. chan modelsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/models`/.Entryscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/models`/Entry# |
| 13 | clientsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clients. []*clientscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/client# |
| 14 | clientLockscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clientLock. syncscip-go gomod github.com/golang/go/src go1.25.0 sync/.RWMutexscip-go gomod github.com/golang/go/src go1.25.0 sync/RWMutex# |
| 15 | } |
| 16 | |
| 17 | func NewBroadcastManagerscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/NewBroadcastManager().() *BroadcastManagerscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager# { |
| 18 | bm := &BroadcastManagerscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#{} |
| 19 | metricsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/metrics`/.Prometheusscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/metrics`/Prometheus..RegisterGaugeMetricIntscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/metrics`/PrometheusExporter#RegisterGaugeMetricInt().("certstreamservergo_clients_total{type=\"full\"}", bm.ClientFullCountscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#ClientFullCount().) |
| 20 | metricsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/metrics`/.Prometheusscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/metrics`/Prometheus..RegisterGaugeMetricIntscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/metrics`/PrometheusExporter#RegisterGaugeMetricInt().("certstreamservergo_clients_total{type=\"lite\"}", bm.ClientLiteCountscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#ClientLiteCount().) |
| 21 | metricsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/metrics`/.Prometheusscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/metrics`/Prometheus..RegisterGaugeMetricIntscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/metrics`/PrometheusExporter#RegisterGaugeMetricInt().("certstreamservergo_clients_total{type=\"domain\"}", bm.ClientDomainsCountscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#ClientDomainsCount().) |
| 22 | return bm |
| 23 | } |
| 24 | |
| 25 | // registerClient adds a client to the list of clients of the BroadcastManager. |
| 26 | // The client will receive certificate broadcasts right after registration. |
| 27 | func (bm *BroadcastManagerscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#) registerClientscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#registerClient().(c *clientscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/client#) { |
| 28 | bm.clientLockscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clientLock..Lockscip-go gomod github.com/golang/go/src go1.25.0 sync/RWMutex#Lock().() |
| 29 | bm.clientsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clients. = append(bm.clientsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clients., c) |
| 30 | logscip-go gomod github.com/golang/go/src go1.25.0 log/.Printfscip-go gomod github.com/golang/go/src go1.25.0 log/Printf().("Clients: %d, Capacity: %d\n", len(bm.clientsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clients.), cap(bm.clientsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clients.)) |
| 31 | metricsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/metrics`/.Prometheusscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/metrics`/Prometheus..RegisterClientscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/metrics`/PrometheusExporter#RegisterClient().(c.namescip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/client#name., func() float64 { return float64(c.skippedCertsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/client#skippedCerts.) }) |
| 32 | bm.clientLockscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clientLock..Unlockscip-go gomod github.com/golang/go/src go1.25.0 sync/RWMutex#Unlock().() |
| 33 | } |
| 34 | |
| 35 | // unregisterClient removes a client from the list of clients of the BroadcastManager. |
| 36 | // The client will no longer receive certificate broadcasts right after unregistering. |
| 37 | func (bm *BroadcastManagerscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#) unregisterClientscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#unregisterClient().(c *clientscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/client#) { |
| 38 | bm.clientLockscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clientLock..Lockscip-go gomod github.com/golang/go/src go1.25.0 sync/RWMutex#Lock().() |
| 39 | |
| 40 | for i, client := range bm.clientsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clients. { |
| 41 | if c == client { |
| 42 | // Copy the last element of the slice to the position of the removed element |
| 43 | // Then remove the last element by re-slicing |
| 44 | bm.clientsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clients.[i] = bm.clientsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clients.[len(bm.clientsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clients.)-1] |
| 45 | bm.clientsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clients.[len(bm.clientsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clients.)-1] = nil |
| 46 | bm.clientsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clients. = bm.clientsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clients.[:len(bm.clientsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clients.)-1] |
| 47 | |
| 48 | // Close the broadcast channel of the client, otherwise this leads to a memory leak |
| 49 | close(c.broadcastChanscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/client#broadcastChan.) |
| 50 | |
| 51 | metricsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/metrics`/.Prometheusscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/metrics`/Prometheus..UnregisterClientscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/metrics`/PrometheusExporter#UnregisterClient().(c.namescip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/client#name.) |
| 52 | |
| 53 | break |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | bm.clientLockscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clientLock..Unlockscip-go gomod github.com/golang/go/src go1.25.0 sync/RWMutex#Unlock().() |
| 58 | } |
| 59 | |
| 60 | // ClientFullCount returns the current number of clients connected to the service on the `full` endpoint. |
| 61 | func (bm *BroadcastManagerscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#) ClientFullCountscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#ClientFullCount().() (count int64) { |
| 62 | return bm.clientCountByTypescip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clientCountByType().(SubTypeFullscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/SubTypeFull.) |
| 63 | } |
| 64 | |
| 65 | // ClientLiteCount returns the current number of clients connected to the service on the `lite` endpoint. |
| 66 | func (bm *BroadcastManagerscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#) ClientLiteCountscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#ClientLiteCount().() (count int64) { |
| 67 | return bm.clientCountByTypescip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clientCountByType().(SubTypeLitescip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/SubTypeLite.) |
| 68 | } |
| 69 | |
| 70 | // ClientDomainsCount returns the current number of clients connected to the service on the `domains-only` endpoint. |
| 71 | func (bm *BroadcastManagerscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#) ClientDomainsCountscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#ClientDomainsCount().() (count int64) { |
| 72 | return bm.clientCountByTypescip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clientCountByType().(SubTypeDomainscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/SubTypeDomain.) |
| 73 | } |
| 74 | |
| 75 | // clientCountByType returns the current number of clients connected to the service on the endpoint matching |
| 76 | // the specified SubscriptionType. |
| 77 | func (bm *BroadcastManagerscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#) clientCountByTypescip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clientCountByType().(subType SubscriptionTypescip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/SubscriptionType#) (count int64) { |
| 78 | bm.clientLockscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clientLock..RLockscip-go gomod github.com/golang/go/src go1.25.0 sync/RWMutex#RLock().() |
| 79 | defer bm.clientLockscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clientLock..RUnlockscip-go gomod github.com/golang/go/src go1.25.0 sync/RWMutex#RUnlock().() |
| 80 | |
| 81 | for _, c := range bm.clientsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clients. { |
| 82 | if c.subTypescip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/client#subType. == subType { |
| 83 | count++ |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | return count |
| 88 | } |
| 89 | |
| 90 | func (bm *BroadcastManagerscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#) GetSkippedCertsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#GetSkippedCerts().() map[string]uint64 { |
| 91 | bm.clientLockscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clientLock..RLockscip-go gomod github.com/golang/go/src go1.25.0 sync/RWMutex#RLock().() |
| 92 | defer bm.clientLockscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clientLock..RUnlockscip-go gomod github.com/golang/go/src go1.25.0 sync/RWMutex#RUnlock().() |
| 93 | |
| 94 | skippedCerts := make(map[string]uint64, len(bm.clientsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clients.)) |
| 95 | for _, c := range bm.clientsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clients. { |
| 96 | skippedCerts[c.namescip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/client#name.] = c.skippedCertsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/client#skippedCerts. |
| 97 | } |
| 98 | |
| 99 | return skippedCerts |
| 100 | } |
| 101 | |
| 102 | // broadcaster is run in a goroutine and handles the dispatching of entries to clients. |
| 103 | func (bm *BroadcastManagerscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#) broadcasterscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#broadcaster().() { |
| 104 | for { |
| 105 | var data []byte |
| 106 | |
| 107 | entry := <-bm.Broadcastscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#Broadcast. |
| 108 | dataLite := entry.JSONLitescip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/models`/Entry#JSONLite().() |
| 109 | dataFull := entry.JSONscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/models`/Entry#JSON().() |
| 110 | dataDomain := entry.JSONDomainsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/models`/Entry#JSONDomains().() |
| 111 | |
| 112 | bm.clientLockscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clientLock..RLockscip-go gomod github.com/golang/go/src go1.25.0 sync/RWMutex#RLock().() |
| 113 | |
| 114 | for _, c := range bm.clientsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clients. { |
| 115 | switch c.subTypescip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/client#subType. { |
| 116 | case SubTypeLitescip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/SubTypeLite.: |
| 117 | data = dataLite |
| 118 | case SubTypeFullscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/SubTypeFull.: |
| 119 | data = dataFull |
| 120 | case SubTypeDomainscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/SubTypeDomain.: |
| 121 | data = dataDomain |
| 122 | default: |
| 123 | logscip-go gomod github.com/golang/go/src go1.25.0 log/.Printfscip-go gomod github.com/golang/go/src go1.25.0 log/Printf().("Unknown subscription type '%d' for client '%s'. Skipping this client!\n", c.subTypescip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/client#subType., c.namescip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/client#name.) |
| 124 | continue |
| 125 | } |
| 126 | |
| 127 | select { |
| 128 | case c.broadcastChanscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/client#broadcastChan. <- data: |
| 129 | default: |
| 130 | // Default case is executed if the client's broadcast channel is full. |
| 131 | c.skippedCertsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/client#skippedCerts.++ |
| 132 | if c.skippedCertsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/client#skippedCerts.%1000 == 1 { |
| 133 | logscip-go gomod github.com/golang/go/src go1.25.0 log/.Printfscip-go gomod github.com/golang/go/src go1.25.0 log/Printf().("Not providing client '%s' with cert because client's buffer is full. The client can't keep up. Skipped certs: %d\n", c.namescip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/client#name., c.skippedCertsscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/client#skippedCerts.) |
| 134 | } |
| 135 | } |
| 136 | } |
| 137 | |
| 138 | bm.clientLockscip-go gomod github.com/d-Rickyy-b/certstream-server-go . `github.com/d-Rickyy-b/certstream-server-go/internal/web`/BroadcastManager#clientLock..RUnlockscip-go gomod github.com/golang/go/src go1.25.0 sync/RWMutex#RUnlock().() |
| 139 | } |
| 140 | } |