Documentation ¶
Index ¶
- type Header
- func (*Header) Descriptor() ([]byte, []int)
- func (m *Header) GetAddress() string
- func (m *Header) GetCertPEMBlock() []byte
- func (m *Header) GetInsecureSkipVerify() bool
- func (m *Header) GetIssuer() string
- func (m *Header) GetKeyID() string
- func (m *Header) GetKeyPEMBlock() []byte
- func (m *Header) GetPrivateKey() string
- func (m *Header) GetPushType() string
- func (m *Header) GetTopic() string
- func (*Header) ProtoMessage()
- func (m *Header) Reset()
- func (m *Header) String() string
- func (m *Header) XXX_DiscardUnknown()
- func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Header) XXX_Merge(src proto.Message)
- func (m *Header) XXX_Size() int
- func (m *Header) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Header ¶
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) GetAddress ¶
func (*Header) GetCertPEMBlock ¶
func (*Header) GetInsecureSkipVerify ¶
func (*Header) GetKeyPEMBlock ¶
func (*Header) GetPrivateKey ¶
func (*Header) GetPushType ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) XXX_DiscardUnknown ¶
func (m *Header) XXX_DiscardUnknown()
func (*Header) XXX_Marshal ¶
func (*Header) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.