server

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2016 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPv6RemoveBrackets

func IPv6RemoveBrackets(ip string) string

func Serve

func Serve(port int, allowIP string) error

func ServeLocal

func ServeLocal() (int, error)

ServeLocal is to fall back when lemonade client can't connect server. returns port number, error

Types

type Clipboard

type Clipboard struct{}

func (*Clipboard) Copy

func (_ *Clipboard) Copy(text string, _ *struct{}) error

func (*Clipboard) Paste

func (_ *Clipboard) Paste(_ struct{}, resp *string) error

type URI

type URI struct{}

func (*URI) Open

func (u *URI) Open(param *param.OpenParam, _ *struct{}) error

Jump to

Keyboard shortcuts

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