Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppsTransport ¶
type AppsTransport struct { Transport http.RoundTripper // contains filtered or unexported fields }
AppsTransport returns a transport that inserts JWT into header
func NewAppsTransport ¶
func NewAppsTransport(appID int64, key *rsa.PrivateKey) *AppsTransport
NewAppsTransport returns a new AppsTransport from rsa.PrivateKey
func NewAppsTransportFromBytes ¶
func NewAppsTransportFromBytes(appID int64, privateKey []byte) (*AppsTransport, error)
NewAppsTransportFromBytes returns a new AppsTransport from a private key in []byte
Click to show internal directories.
Click to hide internal directories.