mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 11:37:01 -07:00
Added Init() to Client interface
This commit is contained in:
parent
3b297351ec
commit
abd83454ad
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue