Documentation ¶
Index ¶
- Constants
- Variables
- func ChallengeAPIFlow(c echo.Context) error
- type Certificates
- type KeyValue
- type MetaCT
- func (ct *MetaCT) Certificates(query string, fields []string) (*Certificates, error)
- func (ct *MetaCT) Subscribe(domain string) error
- func (ct *MetaCT) SubscribeList() (*SubscribeList, error)
- func (ct *MetaCT) Unsubscribe(domain string) error
- func (ct *MetaCT) WebHookCertificates(c echo.Context) ([]MetaCert, error)
- type MetaCert
- type Notification
- type Paging
- type Subscribe
- type SubscribeList
Constants ¶
View Source
const ( SUBSCRIBED_DOMAINS_API = API_BASE + "/%v/subscribed_domains" CERTFICATES_API = API_BASE + "/certificates" )
View Source
const API_BASE = "https://graph.facebook.com"
Variables ¶
View Source
var ALL_CERTIFICATE_FIELDS = []string{
"authority_key_identifier",
"basic_constraints",
"cert_hash_md5",
"cert_hash_sha1",
"cert_hash_sha256",
"certificate_pem",
"domains",
"extended_key_usage",
"extensions",
"issuer_name",
"key_usage",
"not_valid_after",
"not_valid_before",
"public_key_algorithm",
"public_key_hash_sha256",
"public_key_pem",
"public_key_size",
"public_key_values",
"serial_number",
"signature_algorithm",
"signature_value",
"subject_key_identifier",
"subject_name",
"version",
}
Functions ¶
func ChallengeAPIFlow ¶ added in v0.0.6
func ChallengeAPIFlow(c echo.Context) error
Types ¶
type Certificates ¶ added in v0.0.4
type MetaCT ¶
func (*MetaCT) Certificates ¶
func (ct *MetaCT) Certificates(query string, fields []string) (*Certificates, error)
func (*MetaCT) SubscribeList ¶
func (ct *MetaCT) SubscribeList() (*SubscribeList, error)
func (*MetaCT) Unsubscribe ¶
func (*MetaCT) WebHookCertificates ¶ added in v0.0.2
type MetaCert ¶ added in v0.0.4
type MetaCert struct {
CertificatePem string `json:"certificate_pem,omitempty"`
}
func (*MetaCert) Certificate ¶ added in v0.0.4
func (c *MetaCert) Certificate() (*x509.Certificate, error)
type Notification ¶ added in v0.0.2
type SubscribeList ¶ added in v0.0.4
Click to show internal directories.
Click to hide internal directories.