func NewClientWithToken()

in client.go [103:112]


func NewClientWithToken(endpoint, token string) MNSClient {
	return NewAliMNSClientWithConfig(AliMNSClientConfig{
		EndPoint:        endpoint,
		AccessKeyId:     os.Getenv(AliyunAkEnvKey),
		AccessKeySecret: os.Getenv(AliyunSkEnvKey),
		Token:           token,
		TimeoutSecond:   DefaultTimeout,
		MaxConnsPerHost: DefaultMaxConnsPerHost,
	})
}