workwechat

package module
v0.0.0-...-7ac68bb Latest Latest
Warning

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

Go to latest
Published: May 14, 2019 License: MIT Imports: 6 Imported by: 0

README

Work WeChat SDK for Golang

Go Report Card

企业微信SDK(Golang版本),简单、高效、易用。

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	CorpID     string // 企业ID
	CorpSecret string // 应用的凭证密钥

	Cache cache.Cache
}

Config 企业微信配置信息

type WorkWechat

type WorkWechat struct {
	Context *context.Context
}

WorkWechat struct

func NewWorkWechat

func NewWorkWechat(cfg *Config) *WorkWechat

NewWorkWechat init

func (*WorkWechat) GetBase

func (wwc *WorkWechat) GetBase() *base.Base

GetBase 通讯录管理接口

func (*WorkWechat) GetCrm

func (wwc *WorkWechat) GetCrm() *crm.Crm

GetCrm 外部联系人接口

func (*WorkWechat) GetMedia

func (wwc *WorkWechat) GetMedia() *media.Media

GetMedia 素材管理接口

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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