Documentation ¶
Index ¶
Constants ¶
View Source
const ( SrvTokenModeDefault = iota SrvTokenModeUnchecked // use with caution! )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Srv ¶
type Srv struct { libkb.Contextified // contains filtered or unexported fields }
func NewSrv ¶
func NewSrv(g *libkb.GlobalContext) *Srv
func (*Srv) HandleFunc ¶
func (r *Srv) HandleFunc(endpoint string, tokenMode SrvTokenMode, serve func(w http.ResponseWriter, req *http.Request))
type SrvTokenMode ¶
type SrvTokenMode int
Click to show internal directories.
Click to hide internal directories.