Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func About ¶
func About(w http.ResponseWriter, r *http.Request)
About exposes server information to clients
func AddLink ¶
func AddLink(w http.ResponseWriter, r *http.Request)
AddLink adds a link to a users signature chain
func CORS ¶
func CORS(w http.ResponseWriter, r *http.Request)
CORS - Cross Origin Resource Requests, enables browsers to use the APIs exposed by Sync: https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
Types ¶
type InviteHandler ¶
InviteHandler rendezvous client pairs at an invite URL
func NewInviteHandler ¶
func NewInviteHandler() *InviteHandler
NewInviteHandler returns a new instance of InviteHandler
func (*InviteHandler) ServeHTTP ¶
func (h *InviteHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.