wikibot

package module
v0.0.0-...-405ffae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2019 License: BSL-1.0 Imports: 6 Imported by: 2

README

cgt/wikibot

My Go bot programs for the Danish Wikipedia.

License

Copyright Christoffer G. Thomsen 2017

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.)

Documentation

Index

Constants

View Source
const DefaultConfigFile = "$HOME/.wikibot.json"

Variables

View Source
var GlobalFlags struct {
	Jitter time.Duration
}

Functions

func Setup

func Setup(module string) (*mwclient.Client, error)

Types

type Config

type Config struct {
	APIURL string `json:"api_url"`
	OAuth  struct {
		ConsumerToken  string `json:"consumer_token"`
		ConsumerSecret string `json:"consumer_secret"`
		AccessToken    string `json:"access_token"`
		AccessSecret   string `json:"access_secret"`
	} `json:"oauth"`
}

Directories

Path Synopsis
cmd
vup

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL