Beispiel #1
0
func setupClient(cmd *cobra.Command, args []string) {
	setupLogger()
	if Client == nil {
		Client = plurk.New(AppKey, AppSecret, Token, TokenSecret)
	}
}
Beispiel #2
0
// Setup plurk client to using plurk feature
func SetupPlurk(AppKey string, AppSecret string, Token string, TokenSecret string) {
	client = plurk.New(AppKey, AppSecret, Token, TokenSecret)
}