Delete unused type ClientConfig.

This commit is contained in:
Владислав Весельский 2025-02-05 11:50:10 +03:00
parent eb024fd00c
commit c76b172a3a
1 changed files with 1 additions and 4 deletions

5
fcm.go
View File

@ -79,9 +79,6 @@ func ReadCredentialsFromFile(filename string) (Credentials, error) {
return c, nil
}
type ClientConfig struct {
}
type Client struct {
sendEndpoint string
ts oauth2.TokenSource
@ -89,7 +86,7 @@ type Client struct {
logger logr.Logger
}
func NewClient(projectId string, cfg ClientConfig, ts oauth2.TokenSource, hc *http.Client, logger logr.Logger) *Client {
func NewClient(projectId string, ts oauth2.TokenSource, hc *http.Client, logger logr.Logger) *Client {
return &Client{
sendEndpoint: MakeSendEndpoint(projectId),
ts: ts,