common

package
v0.0.0-...-7695c73 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2015 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminChannelID

func AdminChannelID(admin *resource.Admin) string

func Auth

func Auth(ctx *context.Context) *resource.Admin

func AuthBasic

func AuthBasic(ctx *context.Context) *resource.Admin

func AuthDigest

func AuthDigest(ctx *context.Context) (admin *resource.Admin)

func GetCrypt

func GetCrypt(password string) string

func GetIP

func GetIP(r *http.Request) string

func GetMd5

func GetMd5(s string) string

func SecretBasic

func SecretBasic(user, realm string) string

func SecretDigest

func SecretDigest(user, realm string) string

Types

type ElasticfeedConfig

type ElasticfeedConfig struct {
	ElasticfeedDebug bool `mapstructure:"elasticfeed_debug"`
	ElasticfeedForce bool `mapstructure:"elasticfeed_force"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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