Documentation ¶
Index ¶
- type TLSSignature
- func (s *TLSSignature) CheckTLSSig(sig string) (bool, error)
- func (s *TLSSignature) GenTLSSig() (string, error)
- func (s *TLSSignature) GetTLSFieldsMap() map[string]string
- func (s *TLSSignature) GetTLSFieldsSerialString() string
- func (s *TLSSignature) GetTLSFieldsSerialStringFromMap(fields map[string]string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TLSSignature ¶
type TLSSignature struct { AccountType string Identifier string AppId3rd string SDKAppId string Version string Expire int64 PriKey string PubKey string Time time.Time }
func (*TLSSignature) CheckTLSSig ¶
func (s *TLSSignature) CheckTLSSig(sig string) (bool, error)
func (*TLSSignature) GenTLSSig ¶
func (s *TLSSignature) GenTLSSig() (string, error)
func (*TLSSignature) GetTLSFieldsMap ¶
func (s *TLSSignature) GetTLSFieldsMap() map[string]string
func (*TLSSignature) GetTLSFieldsSerialString ¶
func (s *TLSSignature) GetTLSFieldsSerialString() string
func (*TLSSignature) GetTLSFieldsSerialStringFromMap ¶
func (s *TLSSignature) GetTLSFieldsSerialStringFromMap(fields map[string]string) string
Click to show internal directories.
Click to hide internal directories.