Documentation ¶
Index ¶
- type Client
- func (m *Client) AddName(f ClientNameFunc)
- func (m *Client) AddPing(f ClientPingFunc)
- func (m *Client) AddSearch(f ClientSearchFunc)
- func (m *Client) HasMore() bool
- func (m *Client) Name() string
- func (m *Client) Ping(ctx context.Context) error
- func (m *Client) Search(ctx context.Context, query string) ([]*nominatim.Location, error)
- func (m *Client) SetName(f ClientNameFunc)
- func (m *Client) SetPing(f ClientPingFunc)
- func (m *Client) SetSearch(f ClientSearchFunc)
- type ClientNameFunc
- type ClientPingFunc
- type ClientSearchFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddName ¶
func (m *Client) AddName(f ClientNameFunc)
func (*Client) AddPing ¶
func (m *Client) AddPing(f ClientPingFunc)
func (*Client) AddSearch ¶
func (m *Client) AddSearch(f ClientSearchFunc)
func (*Client) SetName ¶
func (m *Client) SetName(f ClientNameFunc)
func (*Client) SetPing ¶
func (m *Client) SetPing(f ClientPingFunc)
func (*Client) SetSearch ¶
func (m *Client) SetSearch(f ClientSearchFunc)
type ClientNameFunc ¶
type ClientNameFunc func() string
type ClientPingFunc ¶
Click to show internal directories.
Click to hide internal directories.