Documentation ¶ Index ¶ func Handle(w http.ResponseWriter, r *http.Request) type MemCache func NewMemCache(ctx context.Context, key string) *MemCache func (c *MemCache) Get(data godingtalk.Expirable) error func (c *MemCache) Set(data godingtalk.Expirable) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Handle ¶ func Handle(w http.ResponseWriter, r *http.Request) Handle 处理Github的Webhook Events Types ¶ type MemCache ¶ type MemCache struct { // contains filtered or unexported fields } func NewMemCache ¶ func NewMemCache(ctx context.Context, key string) *MemCache func (*MemCache) Get ¶ func (c *MemCache) Get(data godingtalk.Expirable) error func (*MemCache) Set ¶ func (c *MemCache) Set(data godingtalk.Expirable) error Source Files ¶ View all Source files github.go Click to show internal directories. Click to hide internal directories.