gogp

package module
v0.0.0-...-e8f39e8 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gogp

func Gogp(w http.ResponseWriter, r *http.Request)

Gogp returns ogp json string.

Types

type OGP

type OGP struct {
	SiteName    string `json:"site_name"`
	Title       string `json:"title"`
	Type        string `json:"type"`
	Image       string `json:"image"`
	URL         string `json:"url"`
	Description string `json:"description"`
	Favicon     string `json:"favicon"`
	SiteURL     string `json:"site_url"`
}

OGP metadata.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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