Documentation ¶
Index ¶
- Variables
- func GetAutoAdult(con *console.SliverConsoleClient) bool
- func GetPageSize() int
- func GetTableStyle(con *console.SliverConsoleClient) table.Style
- func GetTableWithBordersStyle(con *console.SliverConsoleClient) table.Style
- func IsUserAnAdult(con *console.SliverConsoleClient) bool
- func PagesOf(renderedTable string) [][]string
- func PaginateTable(tw table.Writer, skipPages int, overflow bool, interactive bool, ...)
- func SettingsAlwaysOverflow(ctx *grumble.Context, con *console.SliverConsoleClient)
- func SettingsAutoAdultCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func SettingsBeaconsAutoResultCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func SettingsCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func SettingsSaveCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
- func SettingsSmallTerm(ctx *grumble.Context, con *console.SliverConsoleClient)
- func SettingsTablesCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SliverDefault = table.Style{ Name: "SliverDefault", Box: table.BoxStyle{ BottomLeft: " ", BottomRight: " ", BottomSeparator: " ", Left: " ", LeftSeparator: " ", MiddleHorizontal: "=", MiddleSeparator: " ", MiddleVertical: " ", PaddingLeft: " ", PaddingRight: " ", Right: " ", RightSeparator: " ", TopLeft: " ", TopRight: " ", TopSeparator: " ", UnfinishedRow: "~~", }, Color: table.ColorOptions{ IndexColumn: text.Colors{}, Footer: text.Colors{}, Header: text.Colors{}, Row: text.Colors{}, RowAlternate: text.Colors{}, }, Format: table.FormatOptions{ Footer: text.FormatDefault, Header: text.FormatTitle, Row: text.FormatDefault, }, Options: table.Options{ DrawBorder: false, SeparateColumns: true, SeparateFooter: false, SeparateHeader: true, SeparateRows: false, }, } )
Functions ¶
func GetAutoAdult ¶
func GetAutoAdult(con *console.SliverConsoleClient) bool
GetAutoAdult - Get the current auto adult setting
func GetTableStyle ¶
func GetTableStyle(con *console.SliverConsoleClient) table.Style
GetTableStyle - Get the current table style
func GetTableWithBordersStyle ¶
func GetTableWithBordersStyle(con *console.SliverConsoleClient) table.Style
GetTableWithBordersStyle - Get the table style with borders
func IsUserAnAdult ¶
func IsUserAnAdult(con *console.SliverConsoleClient) bool
IsUserAnAdult - This should be called for any dangerous (OPSEC-wise) functions
func PaginateTable ¶
func PaginateTable(tw table.Writer, skipPages int, overflow bool, interactive bool, con *console.SliverConsoleClient)
PaginateTable - Render paginated table to console
func SettingsAlwaysOverflow ¶
func SettingsAlwaysOverflow(ctx *grumble.Context, con *console.SliverConsoleClient)
SettingsAlwaysOverflow - Toggle always overflow
func SettingsAutoAdultCmd ¶
func SettingsAutoAdultCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
SettingsAutoAdultCmd - The client settings command
func SettingsBeaconsAutoResultCmd ¶
func SettingsBeaconsAutoResultCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
SettingsBeaconsAutoResultCmd - The client settings command
func SettingsCmd ¶
func SettingsCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
SettingsCmd - The client settings command
func SettingsSaveCmd ¶
func SettingsSaveCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
SettingsSaveCmd - The client settings command
func SettingsSmallTerm ¶
func SettingsSmallTerm(ctx *grumble.Context, con *console.SliverConsoleClient)
SettingsSmallTerm - Modify small terminal width value
func SettingsTablesCmd ¶
func SettingsTablesCmd(ctx *grumble.Context, con *console.SliverConsoleClient)
SettingsTablesCmd - The client settings command
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.