Add NewClient().

This commit is contained in:
Владислав Весельский 2025-01-27 12:35:40 +03:00
parent edb89240d9
commit a90ed0c4c6
1 changed files with 6 additions and 0 deletions

View File

@ -3,3 +3,9 @@ package push_client
type Client struct {
Addr string
}
func NewClient(addr string) *Client {
return &Client{
Addr: addr,
}
}