func (a *AcraTranslatorConfig) SetKeysDir(keysDir string) {
	a.keysDir = keysDir
}
SetKeysDir sets keys directory.
package common
import (
	"crypto/tls"
	"github.com/cossacklabs/acra/network"
	"go.opencensus.io/trace"
)
type AcraTranslatorConfig struct {
	keysDir                      string
	detectPoisonRecords          bool
	scriptOnPoison               string
	stopOnPoison                 bool
	serverID                     []byte
	incomingConnectionHTTPString string
	incomingConnectionGRPCString string
	ConnectionWrapper            network.ConnectionWrapper
	configPath                   string
	debug                        bool
	traceToLog                   bool
	tlsConfig                    *tls.Config
	grpcClientIDExtractor        network.GRPCConnectionClientIDExtractor
	useClientIDFromConnection    bool
	withConnector                bool
}
func NewConfig() *AcraTranslatorConfig {
	return &AcraTranslatorConfig{stopOnPoison: false}
}
func (a *AcraTranslatorConfig) SetWithConnector(v bool) {
	a.withConnector = v
}
func (a *AcraTranslatorConfig) GetWithConnector() bool {
	return a.withConnector
}
func (a *AcraTranslatorConfig) SetGRPCClientIDExtractor(extractor network.GRPCConnectionClientIDExtractor) {
	a.grpcClientIDExtractor = extractor
}
func (a *AcraTranslatorConfig) GetGRPCClientIDExtractor() network.GRPCConnectionClientIDExtractor {
	return a.grpcClientIDExtractor
}
func (a *AcraTranslatorConfig) SetUseClientIDFromConnection(v bool) {
	a.useClientIDFromConnection = v
}
func (a *AcraTranslatorConfig) GetUseClientIDFromConnection() bool {
	return a.useClientIDFromConnection
}
func (a *AcraTranslatorConfig) WithTLS() bool {
	return a.tlsConfig != nil
}
func (a *AcraTranslatorConfig) SetTLSConfig(v *tls.Config) {
	a.tlsConfig = v
}
func (a *AcraTranslatorConfig) GetTLSConfig() *tls.Config {
	return a.tlsConfig
}
func (a *AcraTranslatorConfig) SetTraceToLog(v bool) {
	a.traceToLog = v
}
func (a *AcraTranslatorConfig) GetTraceOptions() []trace.StartOption {
	return []trace.StartOption{trace.WithSampler(trace.AlwaysSample()), trace.WithSpanKind(trace.SpanKindServer)}
}
func (a *AcraTranslatorConfig) KeysDir() string {
	return a.keysDir
}