Revert "Don't tempt people with this public interface"

This reverts commit e3b0b91912.
This commit is contained in:
Dane Everitt 2021-02-01 21:43:10 -08:00
parent 065da77afa
commit 1da415c177
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -46,6 +46,12 @@ func NewEmptyManager(client remote.Client) *Manager {
return &Manager{client: client} return &Manager{client: client}
} }
// Client returns the HTTP client interface that allows interaction with the
// Panel API.
func (m *Manager) Client() remote.Client {
return m.client
}
// Put replaces all of the current values in the collection with the value that // Put replaces all of the current values in the collection with the value that
// is passed through. // is passed through.
func (m *Manager) Put(s []*Server) { func (m *Manager) Put(s []*Server) {