apns

package
v0.0.0-...-d560322 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Header struct {
	// APNsサービスのアドレス
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// PEMエンコードされた秘密鍵
	KeyPEMBlock []byte `protobuf:"bytes,2,opt,name=keyPEMBlock,proto3" json:"keyPEMBlock,omitempty"`
	// PEMエンコードされた証明書
	CertPEMBlock []byte `protobuf:"bytes,3,opt,name=certPEMBlock,proto3" json:"certPEMBlock,omitempty"`
	// Do not set to true in production
	InsecureSkipVerify bool `protobuf:"varint,4,opt,name=insecureSkipVerify,proto3" json:"insecureSkipVerify,omitempty"`
	// JWT認証時のIssuer
	Issuer string `protobuf:"bytes,5,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// JWT認証時のKey ID
	KeyID string `protobuf:"bytes,6,opt,name=keyID,proto3" json:"keyID,omitempty"`
	// JWT認証時のEC P-256秘密鍵
	PrivateKey string `protobuf:"bytes,7,opt,name=privateKey,proto3" json:"privateKey,omitempty"`
	// JWT認証時のトピック(e.g. Bundle ID)
	Topic string `protobuf:"bytes,8,opt,name=topic,proto3" json:"topic,omitempty"`
	// apns-push-type ('alert' / 'background'; default 'alert')
	PushType             string   `protobuf:"bytes,9,opt,name=pushType,proto3" json:"pushType,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Header) Descriptor

func (*Header) Descriptor() ([]byte, []int)

func (*Header) GetAddress

func (m *Header) GetAddress() string

func (*Header) GetCertPEMBlock

func (m *Header) GetCertPEMBlock() []byte

func (*Header) GetInsecureSkipVerify

func (m *Header) GetInsecureSkipVerify() bool

func (*Header) GetIssuer

func (m *Header) GetIssuer() string

func (*Header) GetKeyID

func (m *Header) GetKeyID() string

func (*Header) GetKeyPEMBlock

func (m *Header) GetKeyPEMBlock() []byte

func (*Header) GetPrivateKey

func (m *Header) GetPrivateKey() string

func (*Header) GetPushType

func (m *Header) GetPushType() string

func (*Header) GetTopic

func (m *Header) GetTopic() string

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) Reset

func (m *Header) Reset()

func (*Header) String

func (m *Header) String() string

func (*Header) XXX_DiscardUnknown

func (m *Header) XXX_DiscardUnknown()

func (*Header) XXX_Marshal

func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Header) XXX_Merge

func (m *Header) XXX_Merge(src proto.Message)

func (*Header) XXX_Size

func (m *Header) XXX_Size() int

func (*Header) XXX_Unmarshal

func (m *Header) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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