Documentation ¶
Index ¶
- type Header
- func (*Header) Descriptor() ([]byte, []int)
- func (m *Header) GetInsecureSkipVerify() bool
- func (m *Header) GetPrivateKey() string
- func (m *Header) GetPublicKey() string
- func (m *Header) GetSubject() 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 { // WebPush送信者を示すURI(schema must be either mailto or https) Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` // VAPID生成用の秘密鍵(BASE64url+no padding) PrivateKey string `protobuf:"bytes,2,opt,name=privateKey,proto3" json:"privateKey,omitempty"` // VAPID生成用の公開鍵(BASE64url+no padding) PublicKey string `protobuf:"bytes,3,opt,name=publicKey,proto3" json:"publicKey,omitempty"` // Do not set to true in production InsecureSkipVerify bool `protobuf:"varint,4,opt,name=insecureSkipVerify,proto3" json:"insecureSkipVerify,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Header) Descriptor ¶
func (*Header) GetInsecureSkipVerify ¶
func (*Header) GetPrivateKey ¶
func (*Header) GetPublicKey ¶
func (*Header) GetSubject ¶
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.