Documentation
¶
Overview ¶
Package config provides functions for loading and saving the user's configuration.
Package config is a generated protocol buffer package.
It is generated from these files:
config.proto
It has these top-level messages:
Config Stock
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { CurrentStock *Stock `protobuf:"bytes,1,opt,name=current_stock,json=currentStock" json:"current_stock,omitempty"` Stocks []*Stock `protobuf:"bytes,2,rep,name=stocks" json:"stocks,omitempty"` }
func (*Config) Descriptor ¶
func (*Config) GetCurrentStock ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
type Stock ¶
type Stock struct {
Symbol string `protobuf:"bytes,1,opt,name=symbol" json:"symbol,omitempty"`
}
func (*Stock) Descriptor ¶
func (*Stock) ProtoMessage ¶
func (*Stock) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.