Documentation
¶
Overview ¶
Copyright 2022 Nethermind
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2022 Nethermind ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func WriteListClientsTable(w io.Writer, data *ListClientsTable)
- func WriteListNetworksTable(w io.Writer, data []string)
- func WriteRandomizedClientsTable(w io.Writer, data RandomizedClientsTable)
- func WriteSimpleTable(w io.Writer, data *SimpleTableData)
- type ListClientsTable
- type RandomizedClientsTable
- type SimpleTableData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteListClientsTable ¶
func WriteListClientsTable(w io.Writer, data *ListClientsTable)
WriteListClientsTable : Prints the supported clients table
params :- a. w io.Writer Where the table is to be printed b. data ListClientsTable Table data
returns :- None
func WriteListNetworksTable ¶
WriteListNetworksTable : Prints the supported networks table
params :- a. w io.Writer Where the table is to be printed b. data []string Table data
returns :- None
func WriteRandomizedClientsTable ¶
func WriteRandomizedClientsTable(w io.Writer, data RandomizedClientsTable)
WriteRandomizedClientsTable : Prints the randomized clients table
params :- a. w io.Writer Where the table is to be printed b. data [][]string Table data
returns :- None
func WriteSimpleTable ¶
func WriteSimpleTable(w io.Writer, data *SimpleTableData)
WriteSimpleTable : Prints a simple table from given data
params :- a. w io.Writer Where the table is to be printed b. data SimpleTableData Table data
returns :- None
Types ¶
type ListClientsTable ¶
type RandomizedClientsTable ¶
type SimpleTableData ¶
type SimpleTableData struct {
Headers []*simpletable.Cell
Columns [][]*simpletable.Cell
DefaultAlign int
Enumerate bool
}