Added Init() to Client interface

This commit is contained in:
David Allen 2024-08-27 14:38:03 -06:00
parent 3b297351ec
commit abd83454ad
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC

View file

@ -19,6 +19,7 @@ type Option[T Client] func(client T)
// that provides an extended API to work with functional options.
// It also provides functions that work with `collect` data.
type Client interface {
Init()
Name() string
GetInternalClient() *http.Client
RootEndpoint(endpoint string) string