Documentation
¶
Index ¶
Constants ¶
View Source
const ( OneYear = 60 * 60 * 24 * 365 OneMonth = 60 * 60 * 24 * 30 )
View Source
const UserCacheKey = "super-potato/pkg/server/CertifiedUser"
Variables ¶
View Source
var TheAnonymousUser = AnonymousUser{}
Functions ¶
This section is empty.
Types ¶
type AnonymousUser ¶
type AnonymousUser struct{}
func (AnonymousUser) Authenticated ¶
func (AnonymousUser) Authenticated() bool
func (AnonymousUser) EmailAddress ¶
func (AnonymousUser) EmailAddress() string
func (AnonymousUser) UserName ¶
func (AnonymousUser) UserName() string
type CertifiedUser ¶
type CertifiedUser struct { ClientCertificate pki.Certificate DistinguishedName string }
func (*CertifiedUser) Authenticated ¶
func (u *CertifiedUser) Authenticated() bool
func (*CertifiedUser) EmailAddress ¶
func (u *CertifiedUser) EmailAddress() string
func (*CertifiedUser) UserName ¶
func (u *CertifiedUser) UserName() string
type Header ¶
func (Header) MarshalXML ¶
type Markdown ¶
type Markdown struct {
// contains filtered or unexported fields
}
func NewMarkdown ¶
func (*Markdown) WriteContentType ¶
func (m *Markdown) WriteContentType(w http.ResponseWriter)
Click to show internal directories.
Click to hide internal directories.