StatusImg

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Overview

* @Author: NyanCatda * @Date: 2021-12-26 21:23:59 * @LastEditTime: 2022-06-20 13:28:28 * @LastEditors: NyanCatda * @Description: 服务器状态图片生成 * @FilePath: \MCBE-Server-Motd\StatusImg\StatusImg.go

* @Author: NyanCatda * @Date: 2021-12-26 21:23:59 * @LastEditTime: 2022-06-20 13:28:07 * @LastEditors: NyanCatda * @Description: Java服务器状态图片生成 * @FilePath: \MCBE-Server-Motd\StatusImg\StatusImgJava.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GamemodeChinese

func GamemodeChinese(Gamemode string) string

*

  • @description: 汉化游戏模式
  • @param {string} Gamemode
  • @return {string}

func RemoveColorCode

func RemoveColorCode(String string) string

*

  • @description: 移除颜色代码
  • @param {string} String
  • @return {string}

func ServerStatusImg

func ServerStatusImg(Host string) (*bytes.Buffer, error)

*

  • @description: 服务器状态图片生成
  • @param {string} Host 服务器地址
  • @return {*bytes.Buffer} 图片Buffer

func ServerStatusImgJava

func ServerStatusImgJava(Host string) (*bytes.Buffer, error)

*

  • @description: Java服务器状态图片生成
  • @param {string} Host 服务器地址
  • @return {*bytes.Buffer} 图片Buffer
  • @return {error} 错误

Types

This section is empty.

Jump to

Keyboard shortcuts

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