util

package
v0.0.0-...-32a8221 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendFile

func AppendFile(s string, filename string)

func IsSliceContains

func IsSliceContains(s []string, e string) bool

func JsonStructToConfigInfo

func JsonStructToConfigInfo(resp string) (error, model.ConfigInfo)

func JsonStructToWindowsService

func JsonStructToWindowsService(resp string) model.WindowsService

func JsonToStructApp

func JsonToStructApp(resp string) []model.SitesApplications

func JsonToStructAppPool

func JsonToStructAppPool(resp string) []model.AppPool

func JsonToStructFolderList

func JsonToStructFolderList(resp string) model.FolderList

func JsonToStructIISSite

func JsonToStructIISSite(resp string) []model.SitesIIS

func JsonToStructVirtualDir

func JsonToStructVirtualDir(resp string) []model.VirtualDir

func JsonToVdirInfo

func JsonToVdirInfo(resp string) model.VdirInfo

func MakeColored

func MakeColored(str string) string

func MakeTable

func MakeTable(slice interface{})

func MakeTableFromStruct

func MakeTableFromStruct(s interface{})

func MakeTableWithRowHeader

func MakeTableWithRowHeader(row []string, header []string)

func RemoveFromSlice

func RemoveFromSlice(s []string, r string) []string

func WriteFile

func WriteFile(input string, filename string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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