Documentation ¶
Index ¶
Constants ¶
View Source
const APP_VERSION = "0.0.5 ALPHA"
View Source
const BANNER = "" /* 848-byte string literal not displayed */
View Source
const BOOKMARKS_FILE_NAME = ".bookmarks"
Bookmarks configuration file
Variables ¶
View Source
var ( TerminalTheme = Theme{ Name: "Terminal", Colors: ColorValue{ Error: tcell.GetColor("red"), Warning: tcell.GetColor("darkred"), Notice: tcell.GetColor("silver"), WindowColor: tcell.GetColor("#444444"), ModalColor: tcell.GetColor("#111111"), ButtonColor: tcell.GetColor("#5500FF"), FieldColor: tcell.GetColor("#111111"), PlaceholderColor: tcell.GetColor("#666666"), CommandBarColor: tcell.GetColor("#333333"), }, } )
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { AuthType AuthType `json:"auth_type"` BearerToken *AuthValueBearerToken `json:"bearer_token"` AuthTypeAPIKey *AuthValueTypeAPIKey `json:"api_key"` }
type AuthValueBearerToken ¶
type AuthValueBearerToken struct {
Token string `json:"token"`
}
type AuthValueTypeAPIKey ¶
type ColorValue ¶
type ColorValue struct { Error tcell.Color Warning tcell.Color Notice tcell.Color WindowColor tcell.Color ModalColor tcell.Color ButtonColor tcell.Color FieldColor tcell.Color PlaceholderColor tcell.Color CommandBarColor tcell.Color }
type Log ¶
func (*Log) DumpLogToChannel ¶
type Output ¶ added in v0.0.5
func (*Output) DumpLogToChannel ¶ added in v0.0.5
type Session ¶
type Session struct { ID uuid.UUID `json:"id"` Name string `json:"name"` ServerURL string `json:"server_url"` Authorization *Auth `json:"authorization"` ActiveConnection *grpc.ClientConn `json:"-"` AvailableServices []string `json:"-"` SelectedMethod *string `json:"selected_method"` AvailableMethods []string `json:"-"` RequestPayload string `json:"request_payload"` DescriptorSource grpcurl.DescriptorSource `json:"-"` Metadata []*Metadata `json:"metadata"` }
func (*Session) ParseMetadata ¶
ParseMetadata used to convert the metadata and authorization parameters to array of strings
type Theme ¶
type Theme struct { Name string Colors ColorValue }
Click to show internal directories.
Click to hide internal directories.