Documentation
¶
Overview ¶
Package koreaderinspector
Index ¶
- type HTTPClient
- type HTTPInspectorClient
- func (client *HTTPInspectorClient) FullRefresh() error
- func (client *HTTPInspectorClient) Get(path string) ([]byte, error)
- func (client *HTTPInspectorClient) GetLuaVersion() (string, error)
- func (client *HTTPInspectorClient) GetWithQuery(path string, query string) ([]byte, error)
- func (client *HTTPInspectorClient) NextPage() error
- func (client *HTTPInspectorClient) PrevPage() error
- func (client *HTTPInspectorClient) RestartKOReader() error
- func (client *HTTPInspectorClient) SSHGetPort() (int, error)
- func (client *HTTPInspectorClient) SSHIsRunning() (bool, error)
- func (client *HTTPInspectorClient) SSHStart() (int, error)
- func (client *HTTPInspectorClient) SSHStop() error
- func (client *HTTPInspectorClient) SetNightMode(nightMode bool) error
- func (client *HTTPInspectorClient) ToggleNightMode() error
- func (client *HTTPInspectorClient) TurnPageBy(amount int) error
- type HTTPInspectorClientError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPInspectorClient ¶
func New ¶
func New(baseURL string) (*HTTPInspectorClient, error)
func NewWithClient ¶
func NewWithClient(baseURL string, client HTTPClient) (*HTTPInspectorClient, error)
func (*HTTPInspectorClient) FullRefresh ¶
func (client *HTTPInspectorClient) FullRefresh() error
func (*HTTPInspectorClient) Get ¶
func (client *HTTPInspectorClient) Get(path string) ([]byte, error)
func (*HTTPInspectorClient) GetLuaVersion ¶
func (client *HTTPInspectorClient) GetLuaVersion() (string, error)
func (*HTTPInspectorClient) GetWithQuery ¶
func (client *HTTPInspectorClient) GetWithQuery(path string, query string) ([]byte, error)
func (*HTTPInspectorClient) NextPage ¶
func (client *HTTPInspectorClient) NextPage() error
func (*HTTPInspectorClient) PrevPage ¶
func (client *HTTPInspectorClient) PrevPage() error
func (*HTTPInspectorClient) RestartKOReader ¶
func (client *HTTPInspectorClient) RestartKOReader() error
func (*HTTPInspectorClient) SSHGetPort ¶
func (client *HTTPInspectorClient) SSHGetPort() (int, error)
func (*HTTPInspectorClient) SSHIsRunning ¶
func (client *HTTPInspectorClient) SSHIsRunning() (bool, error)
func (*HTTPInspectorClient) SSHStart ¶
func (client *HTTPInspectorClient) SSHStart() (int, error)
func (*HTTPInspectorClient) SSHStop ¶
func (client *HTTPInspectorClient) SSHStop() error
func (*HTTPInspectorClient) SetNightMode ¶
func (client *HTTPInspectorClient) SetNightMode(nightMode bool) error
func (*HTTPInspectorClient) ToggleNightMode ¶
func (client *HTTPInspectorClient) ToggleNightMode() error
func (*HTTPInspectorClient) TurnPageBy ¶
func (client *HTTPInspectorClient) TurnPageBy(amount int) error
type HTTPInspectorClientError ¶
type HTTPInspectorClientError struct {
// contains filtered or unexported fields
}
func (HTTPInspectorClientError) Error ¶
func (error HTTPInspectorClientError) Error() string
Click to show internal directories.
Click to hide internal directories.