Documentation ¶ Index ¶ type URLMap func New(cfg *config.Config, logger *log.Logger) *URLMap func (m *URLMap) Get(section string, page string) (string, bool) func (m *URLMap) Open() errors.E func (m *URLMap) Update(ctx context.Context, source *config.Source) errors.E Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type URLMap ¶ type URLMap struct { // contains filtered or unexported fields } func New ¶ func New(cfg *config.Config, logger *log.Logger) *URLMap func (*URLMap) Get ¶ func (m *URLMap) Get(section string, page string) (string, bool) func (*URLMap) Open ¶ func (m *URLMap) Open() errors.E Open loads the manpage URLs from the JSON file func (*URLMap) Update ¶ func (m *URLMap) Update( ctx context.Context, source *config.Source, ) errors.E Source Files ¶ View all Source files manpages.go Click to show internal directories. Click to hide internal directories.