imageserver

package
v0.0.0-...-f84f93e Latest Latest
Warning

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

Go to latest
Published: May 30, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

*********************************************************

  • Author : Michael
  • Email : dolotech@163.com
  • Last modified : 2016-06-11 16:27
  • Filename : file.go
  • Description :
  • ******************************************************

*********************************************************

  • Author : Michael
  • Email : dolotech@163.com
  • Last modified : 2016-06-11 17:14
  • Filename : imageserver.go
  • Description : 玩家头像服务器
  • ******************************************************

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SaveImage

func SaveImage(path string, file multipart.File) (string, error)

Types

type Imageserver

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

func NewServer

func NewServer(path string, port string) *Imageserver

func (*Imageserver) HandleFunc

func (this *Imageserver) HandleFunc(path string, f func(http.ResponseWriter,
	*http.Request)) *mux.Route

func (*Imageserver) Run

func (this *Imageserver) Run()

Jump to

Keyboard shortcuts

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