server

package
v0.0.0-...-928ec4f Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LineEndingOpt string

Functions

func IPv6RemoveBrackets

func IPv6RemoveBrackets(ip string) string

func Serve

func Serve(c *lemon.CLI, logger log.Logger) error

func ServeLocal

func ServeLocal(logger log.Logger) (int, error)

ServeLocal is for fall back when lemonade client can't connect to 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