Versions in this module Expand all Collapse all v0 v0.0.1 Oct 19, 2022 Changes in this version + const Development + const Production + var ErrExpired = errors.New("certificate has expired or is not yet valid") + func Decode(p12 []byte, password string) (tls.Certificate, error) + func DoPushKit(p12Cert string, token string, payload map[string]string) + func Load(filename, password string) (tls.Certificate, error) + type PushKit struct + FileName string + Pwd string + func InitPushKit(filename, pwd string, isDebug bool) (*PushKit, error) + func (p *PushKit) Push(token string, data []byte) error