Documentation
¶
Overview ¶
The package persist allows to store data between sessions of hellocontest.
Index ¶
- type Session
- func (s *Session) Keyer1() string
- func (s *Session) LastFilename() string
- func (s *Session) Radio1() string
- func (s *Session) Restore() error
- func (s *Session) SendSpotsToTci() bool
- func (s *Session) SetKeyer1(value string) error
- func (s *Session) SetLastFilename(lastFilename string) error
- func (s *Session) SetRadio1(value string) error
- func (s *Session) SetSendSpotsToTci(sendSpotsToTci bool) error
- func (s *Session) Store() error
- func (s *Session) Virgin() bool
- type State
- func (*State) Descriptor() ([]byte, []int)
- func (m *State) GetKeyer1() string
- func (m *State) GetLastFilename() string
- func (m *State) GetRadio1() string
- func (m *State) GetSendSpotsToTci() bool
- func (*State) ProtoMessage()
- func (m *State) Reset()
- func (m *State) String() string
- func (m *State) XXX_DiscardUnknown()
- func (m *State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *State) XXX_Merge(src proto.Message)
- func (m *State) XXX_Size() int
- func (m *State) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func NewDefaultSession ¶
func NewDefaultSession() *Session
func (*Session) LastFilename ¶
func (*Session) SendSpotsToTci ¶
func (*Session) SetLastFilename ¶
func (*Session) SetSendSpotsToTci ¶
type State ¶
type State struct {
LastFilename string `protobuf:"bytes,1,opt,name=last_filename,json=lastFilename,proto3" json:"last_filename,omitempty"`
SendSpotsToTci bool `protobuf:"varint,2,opt,name=send_spots_to_tci,json=sendSpotsToTci,proto3" json:"send_spots_to_tci,omitempty"`
Radio1 string `protobuf:"bytes,3,opt,name=radio1,proto3" json:"radio1,omitempty"`
Keyer1 string `protobuf:"bytes,4,opt,name=keyer1,proto3" json:"keyer1,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*State) Descriptor ¶
func (*State) GetLastFilename ¶
func (*State) GetSendSpotsToTci ¶
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) XXX_DiscardUnknown ¶
func (m *State) XXX_DiscardUnknown()
func (*State) XXX_Marshal ¶
func (*State) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.