service

package
v0.0.0-...-31a4683 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcHash

func CalcHash(buffer *bytes.Buffer) (string, error)

バッファのハッシュ値を計算してHEXで返す

func ConvertCharacterIdToText

func ConvertCharacterIdToText(id int) string

func ConvertImage

func ConvertImage(imageBuffer *bytes.Buffer, convertType ImageTypeId) (*bytes.Buffer, string, error)

func ConvertMessageToSearchText

func ConvertMessageToSearchText(message string) string

func ParseFilePath

func ParseFilePath(path string) (characterId int, err error)

func StylizeMessage

func StylizeMessage(message string, uploadPath string) string

func StylizeTextEntry

func StylizeTextEntry(profile string, uploadPath string) string

Types

type ImageTypeId

type ImageTypeId string

type ImageTypeStruct

type ImageTypeStruct struct {
	General      ImageTypeId
	Icon         ImageTypeId
	IconFragment ImageTypeId
	ProfileImage ImageTypeId
	ListImage    ImageTypeId
}
var ImageType ImageTypeStruct

Jump to

Keyboard shortcuts

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