cert_channel

package
v1.2.11 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type PushClient

type PushClient struct {
	// contains filtered or unexported fields
}

func (*PushClient) GetAccessToken

func (p *PushClient) GetAccessToken(ctx context.Context) (interface{}, error)

func (*PushClient) PushNotice

func (p *PushClient) PushNotice(ctx context.Context, pushRequest *setting.PushMessageRequest) (interface{}, error)

func (*PushClient) TopicFromCert added in v1.2.4

func (p *PushClient) TopicFromCert(cert tls.Certificate) string

TopicFromCert extracts topic from a certificate's common name.

Jump to

Keyboard shortcuts

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