engine

package
v0.0.0-...-0560639 Latest Latest
Warning

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

Go to latest
Published: May 10, 2018 License: GPL-3.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessImage

func ProcessImage(file io.Reader, mime string, expressions []string) (error, *bytes.Buffer, image.Rectangle)

Types

type Glitch

type Glitch struct {
	Name        string
	Mime        string
	IsGif       bool
	Bounds      image.Rectangle
	Expressions []string
	File        []byte
}

type Packet

type Packet struct {
	ID   int
	To   Glitch
	From Glitch
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(addr string) *Server

func (*Server) Listen

func (srv *Server) Listen(runner func(*net.TCPListener))

Jump to

Keyboard shortcuts

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