| 20 | } |
| 21 | |
| 22 | type DiskplayerServer interface { |
| 23 | RunRecordServer() error |
| 24 | RunCallbackServer() (*http.Server, error) |
| 25 | TokenChannel() chan *oauth2.Token |
| 26 | Authenticator() *spotify.Authenticator |
| 27 | } |
| 28 | |
| 29 | // NewDiskplayerServer returns a new DiskplayerServer instance. |
| 30 | // The arguments are required if the server instance is to be used to obtain a new Spotify auth token. |
no outgoing calls
no test coverage detected