session

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

The package persist allows to store data between sessions of hellocontest.

Index

Constants

This section is empty.

Variables

View Source
var File_session_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Session

type Session struct {
	// contains filtered or unexported fields
}

func NewDefaultSession

func NewDefaultSession() *Session

func (*Session) ESM added in v1.0.0

func (s *Session) ESM() bool

func (*Session) ESMEnabled added in v1.0.0

func (s *Session) ESMEnabled(enabled bool)

func (*Session) Keyer1 added in v0.15.0

func (s *Session) Keyer1() string

func (*Session) LastFilename

func (s *Session) LastFilename() string

func (*Session) Radio1 added in v0.15.0

func (s *Session) Radio1() string

func (*Session) Restore

func (s *Session) Restore() error

func (*Session) SendSpotsToTci

func (s *Session) SendSpotsToTci() bool

func (*Session) SetESM added in v1.0.0

func (s *Session) SetESM(enabled bool) error

func (*Session) SetKeyer1 added in v0.15.0

func (s *Session) SetKeyer1(value string) error

func (*Session) SetLastFilename

func (s *Session) SetLastFilename(lastFilename string) error

func (*Session) SetRadio1 added in v0.15.0

func (s *Session) SetRadio1(value string) error

func (*Session) SetSendSpotsToTci

func (s *Session) SetSendSpotsToTci(sendSpotsToTci bool) error

func (*Session) Store

func (s *Session) Store() error

func (*Session) Virgin added in v0.16.0

func (s *Session) Virgin() bool

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"`
	Esm            bool   `protobuf:"varint,5,opt,name=esm,proto3" json:"esm,omitempty"`
	// contains filtered or unexported fields
}

func (*State) Descriptor deprecated

func (*State) Descriptor() ([]byte, []int)

Deprecated: Use State.ProtoReflect.Descriptor instead.

func (*State) GetEsm added in v1.0.0

func (x *State) GetEsm() bool

func (*State) GetKeyer1 added in v0.15.0

func (x *State) GetKeyer1() string

func (*State) GetLastFilename

func (x *State) GetLastFilename() string

func (*State) GetRadio1 added in v0.15.0

func (x *State) GetRadio1() string

func (*State) GetSendSpotsToTci

func (x *State) GetSendSpotsToTci() bool

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) ProtoReflect added in v0.22.1

func (x *State) ProtoReflect() protoreflect.Message

func (*State) Reset

func (x *State) Reset()

func (*State) String

func (x *State) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL