SYMBOL INDEX (11136 symbols across 249 files) FILE: conf/fuzz.go function Fuzz (line 18) | func Fuzz(data []byte) int { FILE: conf/lex.go type itemType (line 37) | type itemType method String (line 1269) | func (itype itemType) String() string { constant itemError (line 40) | itemError itemType = iota constant itemNIL (line 41) | itemNIL constant itemEOF (line 42) | itemEOF constant itemKey (line 43) | itemKey constant itemText (line 44) | itemText constant itemString (line 45) | itemString constant itemBool (line 46) | itemBool constant itemInteger (line 47) | itemInteger constant itemFloat (line 48) | itemFloat constant itemDatetime (line 49) | itemDatetime constant itemArrayStart (line 50) | itemArrayStart constant itemArrayEnd (line 51) | itemArrayEnd constant itemMapStart (line 52) | itemMapStart constant itemMapEnd (line 53) | itemMapEnd constant itemCommentStart (line 54) | itemCommentStart constant itemVariable (line 55) | itemVariable constant itemInclude (line 56) | itemInclude constant eof (line 60) | eof = 0 constant mapStart (line 61) | mapStart = '{' constant mapEnd (line 62) | mapEnd = '}' constant keySepEqual (line 63) | keySepEqual = '=' constant keySepColon (line 64) | keySepColon = ':' constant arrayStart (line 65) | arrayStart = '[' constant arrayEnd (line 66) | arrayEnd = ']' constant arrayValTerm (line 67) | arrayValTerm = ',' constant mapValTerm (line 68) | mapValTerm = ',' constant commentHashStart (line 69) | commentHashStart = '#' constant commentSlashStart (line 70) | commentSlashStart = '/' constant dqStringStart (line 71) | dqStringStart = '"' constant dqStringEnd (line 72) | dqStringEnd = '"' constant sqStringStart (line 73) | sqStringStart = '\'' constant sqStringEnd (line 74) | sqStringEnd = '\'' constant optValTerm (line 75) | optValTerm = ';' constant topOptStart (line 76) | topOptStart = '{' constant topOptValTerm (line 77) | topOptValTerm = ',' constant topOptTerm (line 78) | topOptTerm = '}' constant blockStart (line 79) | blockStart = '(' constant blockEnd (line 80) | blockEnd = ')' constant mapEndString (line 81) | mapEndString = string(mapEnd) type stateFn (line 84) | type stateFn type lexer (line 86) | type lexer struct method nextItem (line 120) | func (lx *lexer) nextItem() item { method push (line 143) | func (lx *lexer) push(state stateFn) { method pop (line 147) | func (lx *lexer) pop() stateFn { method emit (line 157) | func (lx *lexer) emit(typ itemType) { method emitString (line 166) | func (lx *lexer) emitString() { method addCurrentStringPart (line 181) | func (lx *lexer) addCurrentStringPart(offset int) { method addStringPart (line 186) | func (lx *lexer) addStringPart(s string) stateFn { method hasEscapedParts (line 192) | func (lx *lexer) hasEscapedParts() bool { method next (line 196) | func (lx *lexer) next() (r rune) { method ignore (line 215) | func (lx *lexer) ignore() { method backup (line 221) | func (lx *lexer) backup() { method peek (line 229) | func (lx *lexer) peek() rune { method errorf (line 238) | func (lx *lexer) errorf(format string, values ...any) stateFn { method keyCheckKeyword (line 480) | func (lx *lexer) keyCheckKeyword(fallThrough, push stateFn) stateFn { method isBool (line 884) | func (lx *lexer) isBool() bool { method isVariable (line 892) | func (lx *lexer) isVariable() bool { type item (line 113) | type item struct method String (line 1309) | func (item item) String() string { function lex (line 131) | func lex(input string) *lexer { function lexTop (line 257) | func lexTop(lx *lexer) stateFn { function lexTopValueEnd (line 296) | func lexTopValueEnd(lx *lexer) stateFn { function lexBlockStart (line 321) | func lexBlockStart(lx *lexer) stateFn { function lexBlockValueEnd (line 363) | func lexBlockValueEnd(lx *lexer) stateFn { function lexBlockEnd (line 393) | func lexBlockEnd(lx *lexer) stateFn { function lexKeyStart (line 422) | func lexKeyStart(lx *lexer) stateFn { function lexDubQuotedKey (line 443) | func lexDubQuotedKey(lx *lexer) stateFn { function lexQuotedKey (line 461) | func lexQuotedKey(lx *lexer) stateFn { function lexIncludeStart (line 495) | func lexIncludeStart(lx *lexer) stateFn { function lexIncludeQuotedString (line 507) | func lexIncludeQuotedString(lx *lexer) stateFn { function lexIncludeDubQuotedString (line 525) | func lexIncludeDubQuotedString(lx *lexer) stateFn { function lexIncludeString (line 541) | func lexIncludeString(lx *lexer) stateFn { function lexInclude (line 559) | func lexInclude(lx *lexer) stateFn { function lexKey (line 587) | func lexKey(lx *lexer) stateFn { function lexKeyEnd (line 604) | func lexKeyEnd(lx *lexer) stateFn { function lexValue (line 623) | func lexValue(lx *lexer) stateFn { function lexArrayValue (line 667) | func lexArrayValue(lx *lexer) stateFn { function lexArrayValueEnd (line 696) | func lexArrayValueEnd(lx *lexer) stateFn { function lexArrayEnd (line 723) | func lexArrayEnd(lx *lexer) stateFn { function lexMapKeyStart (line 732) | func lexMapKeyStart(lx *lexer) stateFn { function lexMapQuotedKey (line 772) | func lexMapQuotedKey(lx *lexer) stateFn { function lexMapDubQuotedKey (line 785) | func lexMapDubQuotedKey(lx *lexer) stateFn { function lexMapKey (line 799) | func lexMapKey(lx *lexer) stateFn { function lexMapKeyEnd (line 817) | func lexMapKeyEnd(lx *lexer) stateFn { function lexMapValue (line 833) | func lexMapValue(lx *lexer) stateFn { function lexMapValueEnd (line 850) | func lexMapValueEnd(lx *lexer) stateFn { function lexMapEnd (line 877) | func lexMapEnd(lx *lexer) stateFn { function lexQuotedString (line 906) | func lexQuotedString(lx *lexer) stateFn { function lexDubQuotedString (line 928) | func lexDubQuotedString(lx *lexer) stateFn { function lexString (line 951) | func lexString(lx *lexer) stateFn { function lexBlock (line 986) | func lexBlock(lx *lexer) stateFn { function lexStringEscape (line 1021) | func lexStringEscape(lx *lexer) stateFn { function lexStringBinary (line 1043) | func lexStringBinary(lx *lexer) stateFn { function lexNumberOrDateOrStringOrIPStart (line 1065) | func lexNumberOrDateOrStringOrIPStart(lx *lexer) stateFn { function lexNumberOrDateOrStringOrIP (line 1079) | func lexNumberOrDateOrStringOrIP(lx *lexer) stateFn { function lexConvenientNumber (line 1106) | func lexConvenientNumber(lx *lexer) stateFn { function lexDateAfterYear (line 1124) | func lexDateAfterYear(lx *lexer) stateFn { function lexNegNumberStart (line 1152) | func lexNegNumberStart(lx *lexer) stateFn { function lexNegNumber (line 1165) | func lexNegNumber(lx *lexer) stateFn { function lexFloatStart (line 1182) | func lexFloatStart(lx *lexer) stateFn { function lexFloat (line 1193) | func lexFloat(lx *lexer) stateFn { function lexIPAddr (line 1210) | func lexIPAddr(lx *lexer) stateFn { function lexCommentStart (line 1222) | func lexCommentStart(lx *lexer) stateFn { function lexComment (line 1231) | func lexComment(lx *lexer) stateFn { function lexSkip (line 1242) | func lexSkip(lx *lexer, nextState stateFn) stateFn { function isNumberSuffix (line 1250) | func isNumberSuffix(r rune) bool { function isKeySeparator (line 1255) | func isKeySeparator(r rune) bool { function isWhitespace (line 1261) | func isWhitespace(r rune) bool { function isNL (line 1265) | func isNL(r rune) bool { function escapeSpecial (line 1313) | func escapeSpecial(c rune) string { FILE: conf/lex_test.go function expect (line 6) | func expect(t *testing.T, lx *lexer, items []item) { function TestPlainValue (line 24) | func TestPlainValue(t *testing.T) { function TestSimpleKeyStringValues (line 33) | func TestSimpleKeyStringValues(t *testing.T) { function TestComplexStringValues (line 79) | func TestComplexStringValues(t *testing.T) { function TestStringStartingWithNumber (line 90) | func TestStringStartingWithNumber(t *testing.T) { function TestBinaryString (line 168) | func TestBinaryString(t *testing.T) { function TestBinaryStringLatin1 (line 178) | func TestBinaryStringLatin1(t *testing.T) { function TestSimpleKeyIntegerValues (line 188) | func TestSimpleKeyIntegerValues(t *testing.T) { function TestSimpleKeyNegativeIntegerValues (line 208) | func TestSimpleKeyNegativeIntegerValues(t *testing.T) { function TestConvenientIntegerValues (line 228) | func TestConvenientIntegerValues(t *testing.T) { function TestSimpleKeyFloatValues (line 345) | func TestSimpleKeyFloatValues(t *testing.T) { function TestBadBinaryStringEndingAfterZeroHexChars (line 365) | func TestBadBinaryStringEndingAfterZeroHexChars(t *testing.T) { function TestBadBinaryStringEndingAfterOneHexChar (line 375) | func TestBadBinaryStringEndingAfterOneHexChar(t *testing.T) { function TestBadBinaryStringWithZeroHexChars (line 385) | func TestBadBinaryStringWithZeroHexChars(t *testing.T) { function TestBadBinaryStringWithOneHexChar (line 395) | func TestBadBinaryStringWithOneHexChar(t *testing.T) { function TestBadFloatValues (line 405) | func TestBadFloatValues(t *testing.T) { function TestBadKey (line 415) | func TestBadKey(t *testing.T) { function TestSimpleKeyBoolValues (line 424) | func TestSimpleKeyBoolValues(t *testing.T) { function TestComments (line 444) | func TestComments(t *testing.T) { function TestTopValuesWithComments (line 464) | func TestTopValuesWithComments(t *testing.T) { function TestRawString (line 487) | func TestRawString(t *testing.T) { function TestDateValues (line 499) | func TestDateValues(t *testing.T) { function TestVariableValues (line 510) | func TestVariableValues(t *testing.T) { function TestArrays (line 536) | func TestArrays(t *testing.T) { function TestMultilineArrays (line 588) | func TestMultilineArrays(t *testing.T) { function TestMultilineArraysNoSep (line 623) | func TestMultilineArraysNoSep(t *testing.T) { function TestSimpleMap (line 643) | func TestSimpleMap(t *testing.T) { function TestMultilineMap (line 666) | func TestMultilineMap(t *testing.T) { function TestNestedMaps (line 695) | func TestNestedMaps(t *testing.T) { function TestQuotedKeys (line 714) | func TestQuotedKeys(t *testing.T) { function TestQuotedKeysWithSpace (line 734) | func TestQuotedKeysWithSpace(t *testing.T) { function TestColonKeySep (line 752) | func TestColonKeySep(t *testing.T) { function TestWhitespaceKeySep (line 786) | func TestWhitespaceKeySep(t *testing.T) { function TestEscapedString (line 815) | func TestEscapedString(t *testing.T) { function TestCompoundStringES (line 833) | func TestCompoundStringES(t *testing.T) { function TestCompoundStringSE (line 843) | func TestCompoundStringSE(t *testing.T) { function TestCompoundStringEE (line 853) | func TestCompoundStringEE(t *testing.T) { function TestCompoundStringSEE (line 863) | func TestCompoundStringSEE(t *testing.T) { function TestCompoundStringSES (line 873) | func TestCompoundStringSES(t *testing.T) { function TestCompoundStringEES (line 883) | func TestCompoundStringEES(t *testing.T) { function TestCompoundStringESE (line 893) | func TestCompoundStringESE(t *testing.T) { function TestBadStringEscape (line 903) | func TestBadStringEscape(t *testing.T) { function TestNonBool (line 913) | func TestNonBool(t *testing.T) { function TestNonVariable (line 923) | func TestNonVariable(t *testing.T) { function TestEmptyStringDQ (line 933) | func TestEmptyStringDQ(t *testing.T) { function TestEmptyStringSQ (line 943) | func TestEmptyStringSQ(t *testing.T) { function TestNestedWhitespaceMaps (line 962) | func TestNestedWhitespaceMaps(t *testing.T) { function TestOptionalSemicolons (line 990) | func TestOptionalSemicolons(t *testing.T) { function TestSemicolonChaining (line 1010) | func TestSemicolonChaining(t *testing.T) { function TestNonQuotedStrings (line 1040) | func TestNonQuotedStrings(t *testing.T) { function TestDanglingQuotedString (line 1079) | func TestDanglingQuotedString(t *testing.T) { function TestKeyDanglingQuotedString (line 1097) | func TestKeyDanglingQuotedString(t *testing.T) { function TestDanglingSingleQuotedString (line 1115) | func TestDanglingSingleQuotedString(t *testing.T) { function TestKeyDanglingSingleQuotedString (line 1133) | func TestKeyDanglingSingleQuotedString(t *testing.T) { function TestMapDanglingBracket (line 1154) | func TestMapDanglingBracket(t *testing.T) { function TestBlockDanglingParens (line 1177) | func TestBlockDanglingParens(t *testing.T) { function TestMapQuotedKeys (line 1188) | func TestMapQuotedKeys(t *testing.T) { function TestSpecialCharsMapQuotedKeys (line 1203) | func TestSpecialCharsMapQuotedKeys(t *testing.T) { function TestDoubleNestedMapsNewLines (line 1229) | func TestDoubleNestedMapsNewLines(t *testing.T) { function TestBlockString (line 1251) | func TestBlockString(t *testing.T) { function TestBlockStringEOF (line 1260) | func TestBlockStringEOF(t *testing.T) { function TestBlockStringMultiLine (line 1280) | func TestBlockStringMultiLine(t *testing.T) { function TestUnquotedIPAddr (line 1289) | func TestUnquotedIPAddr(t *testing.T) { function TestArrayOfMaps (line 1368) | func TestArrayOfMaps(t *testing.T) { function TestInclude (line 1396) | func TestInclude(t *testing.T) { function TestMapInclude (line 1415) | func TestMapInclude(t *testing.T) { function TestJSONCompat (line 1458) | func TestJSONCompat(t *testing.T) { FILE: conf/parse.go constant _EMPTY_ (line 40) | _EMPTY_ = "" type parser (line 42) | type parser struct method parse (line 202) | func (p *parser) parse(fp string) error { method next (line 224) | func (p *parser) next() item { method pushContext (line 228) | func (p *parser) pushContext(ctx any) { method popContext (line 233) | func (p *parser) popContext() any { method pushKey (line 244) | func (p *parser) pushKey(key string) { method popKey (line 248) | func (p *parser) popKey() string { method pushItemKey (line 258) | func (p *parser) pushItemKey(key item) { method popItemKey (line 262) | func (p *parser) popItemKey() item { method processItem (line 272) | func (p *parser) processItem(it item, fp string) error { method lookupVariable (line 448) | func (p *parser) lookupVariable(varReference string) (any, bool, error) { method setValue (line 486) | func (p *parser) setValue(val any) { function Parse (line 71) | func Parse(data string) (map[string]any, error) { function ParseWithChecks (line 80) | func ParseWithChecks(data string) (map[string]any, error) { function ParseFile (line 89) | func ParseFile(fp string) (map[string]any, error) { function ParseFileWithChecks (line 103) | func ParseFileWithChecks(fp string) (map[string]any, error) { function configDigest (line 118) | func configDigest(m map[string]any) (string, error) { function ParseFileWithChecksDigest (line 129) | func ParseFileWithChecksDigest(fp string) (map[string]any, string, error) { type token (line 141) | type token struct method MarshalJSON (line 148) | func (t *token) MarshalJSON() ([]byte, error) { method Value (line 152) | func (t *token) Value() any { method Line (line 156) | func (t *token) Line() int { method IsUsedVariable (line 160) | func (t *token) IsUsedVariable() bool { method SourceFile (line 164) | func (t *token) SourceFile() string { method Position (line 168) | func (t *token) Position() int { function newParser (line 172) | func newParser(data, fp string, pedantic bool) *parser { function parse (line 185) | func parse(data, fp string, pedantic bool) (*parser, error) { function parseEnv (line 193) | func parseEnv(data string, parent *parser) (*parser, error) { constant pkey (line 438) | pkey = "pk" constant bcryptPrefix (line 441) | bcryptPrefix = "2a$" FILE: conf/parse_test.go function test (line 17) | func test(t *testing.T, data string, ex map[string]any) { function TestSimpleTopLevel (line 53) | func TestSimpleTopLevel(t *testing.T) { function TestBools (line 63) | func TestBools(t *testing.T) { function TestSimpleVariable (line 79) | func TestSimpleVariable(t *testing.T) { function TestNestedVariable (line 96) | func TestNestedVariable(t *testing.T) { function TestMissingVariable (line 108) | func TestMissingVariable(t *testing.T) { function TestEnvVariable (line 118) | func TestEnvVariable(t *testing.T) { function TestEnvVariableString (line 128) | func TestEnvVariableString(t *testing.T) { function TestEnvVariableStringStartingWithNumber (line 138) | func TestEnvVariableStringStartingWithNumber(t *testing.T) { function TestEnvVariableStringStartingWithNumberAndSizeUnit (line 149) | func TestEnvVariableStringStartingWithNumberAndSizeUnit(t *testing.T) { function TestEnvVariableStringStartingWithNumberUsingQuotes (line 159) | func TestEnvVariableStringStartingWithNumberUsingQuotes(t *testing.T) { function TestBcryptVariable (line 169) | func TestBcryptVariable(t *testing.T) { function TestConvenientNumbers (line 197) | func TestConvenientNumbers(t *testing.T) { function TestParseFileWithChecksDigestPreservesConfigKeyUsedAsVariable (line 221) | func TestParseFileWithChecksDigestPreservesConfigKeyUsedAsVariable(t *te... function TestSample1 (line 249) | func TestSample1(t *testing.T) { function TestSample2 (line 285) | func TestSample2(t *testing.T) { function TestSample3 (line 312) | func TestSample3(t *testing.T) { function TestSample4 (line 329) | func TestSample4(t *testing.T) { function TestSample5 (line 345) | func TestSample5(t *testing.T) { function TestIncludes (line 354) | func TestIncludes(t *testing.T) { function TestIncludeVariablesWithChecks (line 400) | func TestIncludeVariablesWithChecks(t *testing.T) { function TestParserNoInfiniteLoop (line 439) | func TestParserNoInfiniteLoop(t *testing.T) { function TestParseWithNoValuesAreInvalid (line 449) | func TestParseWithNoValuesAreInvalid(t *testing.T) { function TestParseWithNoValuesEmptyConfigsAreValid (line 497) | func TestParseWithNoValuesEmptyConfigsAreValid(t *testing.T) { function TestParseWithTrailingBracketsAreValid (line 529) | func TestParseWithTrailingBracketsAreValid(t *testing.T) { function TestParseWithNoValuesIncludes (line 571) | func TestParseWithNoValuesIncludes(t *testing.T) { function TestJSONParseCompat (line 642) | func TestJSONParseCompat(t *testing.T) { function TestBlocks (line 785) | func TestBlocks(t *testing.T) { function TestParseDigest (line 896) | func TestParseDigest(t *testing.T) { FILE: internal/antithesis/noop.go function AssertUnreachable (line 24) | func AssertUnreachable(_ testing.TB, _ string, _ map[string]any) {} function Assert (line 27) | func Assert(_ testing.TB, _ bool, _ string, _ map[string]any) {} FILE: internal/antithesis/test_assert.go function AssertUnreachable (line 49) | func AssertUnreachable(t testing.TB, message string, details map[string]... function Assert (line 83) | func Assert(t testing.TB, condition bool, message string, details map[st... FILE: internal/fastrand/fastrand.go function Uint32 (line 12) | func Uint32() uint32 function Uint32n (line 17) | func Uint32n(n uint32) uint32 function Uint64 (line 20) | func Uint64() uint64 { FILE: internal/fastrand/fastrand_test.go type defaultRand (line 14) | type defaultRand struct method Uint32 (line 26) | func (r *defaultRand) Uint32() uint32 { method Uint64 (line 33) | func (r *defaultRand) Uint64() uint64 { function newDefaultRand (line 19) | func newDefaultRand() *defaultRand { function BenchmarkFastRand32 (line 40) | func BenchmarkFastRand32(b *testing.B) { function BenchmarkFastRand64 (line 48) | func BenchmarkFastRand64(b *testing.B) { function BenchmarkDefaultRand32 (line 56) | func BenchmarkDefaultRand32(b *testing.B) { function BenchmarkDefaultRand64 (line 65) | func BenchmarkDefaultRand64(b *testing.B) { FILE: internal/ldap/dn.go type AttributeTypeAndValue (line 30) | type AttributeTypeAndValue struct method Equal (line 303) | func (a *AttributeTypeAndValue) Equal(other *AttributeTypeAndValue) bo... type RelativeDN (line 38) | type RelativeDN struct method Equal (line 278) | func (r *RelativeDN) Equal(other *RelativeDN) bool { method hasAllAttributes (line 285) | func (r *RelativeDN) hasAllAttributes(attrs []*AttributeTypeAndValue) ... type DN (line 43) | type DN struct method Equal (line 220) | func (d *DN) Equal(other *DN) bool { method RDNsMatch (line 234) | func (d *DN) RDNsMatch(other *DN) bool { method AncestorOf (line 259) | func (d *DN) AncestorOf(other *DN) bool { function FromCertSubject (line 49) | func FromCertSubject(subject pkix.Name) (*DN, error) { function FromRawCertSubject (line 80) | func FromRawCertSubject(rawSubject []byte) (*DN, error) { function ParseDN (line 126) | func ParseDN(str string) (*DN, error) { FILE: internal/ldap/dn_test.go function TestSuccessfulDNParsing (line 12) | func TestSuccessfulDNParsing(t *testing.T) { function TestErrorDNParsing (line 79) | func TestErrorDNParsing(t *testing.T) { function TestDNEqual (line 100) | func TestDNEqual(t *testing.T) { function TestDNAncestor (line 179) | func TestDNAncestor(t *testing.T) { FILE: internal/ocsp/ocsp.go constant defaultResponseTTL (line 36) | defaultResponseTTL = 4 * time.Second constant defaultAddress (line 37) | defaultAddress = "127.0.0.1:8888" function NewOCSPResponderCustomAddress (line 40) | func NewOCSPResponderCustomAddress(t *testing.T, issuerCertPEM, issuerKe... function NewOCSPResponder (line 45) | func NewOCSPResponder(t *testing.T, issuerCertPEM, issuerKeyPEM string) ... function NewOCSPResponderDesignatedCustomAddress (line 50) | func NewOCSPResponderDesignatedCustomAddress(t *testing.T, issuerCertPEM... function NewOCSPResponderPreferringHTTPMethod (line 55) | func NewOCSPResponderPreferringHTTPMethod(t *testing.T, issuerCertPEM, i... function NewOCSPResponderCustomTimeout (line 60) | func NewOCSPResponderCustomTimeout(t *testing.T, issuerCertPEM, issuerKe... function NewOCSPResponderBase (line 65) | func NewOCSPResponderBase(t *testing.T, issuerCertPEM, respCertPEM, resp... function parseCertPEM (line 190) | func parseCertPEM(t *testing.T, certPEM string) *x509.Certificate { function parseKeyPEM (line 201) | func parseKeyPEM(t *testing.T, keyPEM string) crypto.Signer { function parsePEM (line 216) | func parsePEM(t *testing.T, pemPath string) *pem.Block { function GetOCSPStatus (line 230) | func GetOCSPStatus(s tls.ConnectionState) (*ocsp.Response, error) { function SetOCSPStatus (line 251) | func SetOCSPStatus(t *testing.T, ocspURL, certPEM string, status int) { FILE: internal/testhelper/logging.go type DummyLogger (line 28) | type DummyLogger struct method CheckContent (line 34) | func (l *DummyLogger) CheckContent(t *testing.T, expectedStr string) { method aggregate (line 43) | func (l *DummyLogger) aggregate() { method Noticef (line 49) | func (l *DummyLogger) Noticef(format string, v ...any) { method Errorf (line 55) | func (l *DummyLogger) Errorf(format string, v ...any) { method Warnf (line 61) | func (l *DummyLogger) Warnf(format string, v ...any) { method Fatalf (line 67) | func (l *DummyLogger) Fatalf(format string, v ...any) { method Debugf (line 73) | func (l *DummyLogger) Debugf(format string, v ...any) { method Tracef (line 79) | func (l *DummyLogger) Tracef(format string, v ...any) { method Drain (line 97) | func (l *DummyLogger) Drain() { method CheckForProhibited (line 106) | func (l *DummyLogger) CheckForProhibited(t *testing.T, reason, needle ... function NewDummyLogger (line 89) | func NewDummyLogger(retain uint) *DummyLogger { FILE: logger/log.go constant defaultLogPerms (line 29) | defaultLogPerms = os.FileMode(0640) type Logger (line 32) | type Logger struct method SetSizeLimit (line 298) | func (l *Logger) SetSizeLimit(limit int64) error { method SetMaxNumFiles (line 311) | func (l *Logger) SetMaxNumFiles(max int) error { method Close (line 342) | func (l *Logger) Close() error { method Noticef (line 374) | func (l *Logger) Noticef(format string, v ...any) { method Warnf (line 379) | func (l *Logger) Warnf(format string, v ...any) { method Errorf (line 384) | func (l *Logger) Errorf(format string, v ...any) { method Fatalf (line 389) | func (l *Logger) Fatalf(format string, v ...any) { method Debugf (line 394) | func (l *Logger) Debugf(format string, v ...any) { method Tracef (line 401) | func (l *Logger) Tracef(format string, v ...any) { type LogOption (line 46) | type LogOption interface type LogUTC (line 51) | type LogUTC method isLoggerOption (line 53) | func (l LogUTC) isLoggerOption() {} function logFlags (line 55) | func logFlags(time bool, opts ...LogOption) int { function NewStdLogger (line 74) | func NewStdLogger(time, debug, trace, colors, pid bool, opts ...LogOptio... function NewFileLogger (line 98) | func NewFileLogger(filename string, time, debug, trace, pid bool, opts .... type writerAndCloser (line 126) | type writerAndCloser interface type fileLogger (line 132) | type fileLogger struct method setLimit (line 167) | func (l *fileLogger) setLimit(limit int64) { method setMaxNumFiles (line 178) | func (l *fileLogger) setMaxNumFiles(max int) { method logDirect (line 184) | func (l *fileLogger) logDirect(label, format string, v ...any) int { method logPurge (line 205) | func (l *fileLogger) logPurge(fname string) { method Write (line 240) | func (l *fileLogger) Write(b []byte) (int, error) { method close (line 284) | func (l *fileLogger) close() error { function newFileLogger (line 146) | func newFileLogger(filename, pidPrefix string, time bool) (*fileLogger, ... function NewTestLogger (line 325) | func NewTestLogger(prefix string, time bool) *Logger { function pidPrefix (line 350) | func pidPrefix() string { function setPlainLabelFormats (line 354) | func setPlainLabelFormats(l *Logger) { function setColoredLabelFormats (line 363) | func setColoredLabelFormats(l *Logger) { FILE: logger/log_test.go function TestStdLogger (line 28) | func TestStdLogger(t *testing.T) { function TestStdLoggerWithDebugTraceAndTime (line 45) | func TestStdLoggerWithDebugTraceAndTime(t *testing.T) { function TestStdLoggerNotice (line 62) | func TestStdLoggerNotice(t *testing.T) { function TestStdLoggerNoticeWithColor (line 69) | func TestStdLoggerNoticeWithColor(t *testing.T) { function TestStdLoggerDebug (line 76) | func TestStdLoggerDebug(t *testing.T) { function TestStdLoggerDebugWithOutDebug (line 83) | func TestStdLoggerDebugWithOutDebug(t *testing.T) { function TestStdLoggerTrace (line 90) | func TestStdLoggerTrace(t *testing.T) { function TestStdLoggerTraceWithOutDebug (line 97) | func TestStdLoggerTraceWithOutDebug(t *testing.T) { function TestFileLogger (line 104) | func TestFileLogger(t *testing.T) { function TestFileLoggerSizeLimit (line 166) | func TestFileLoggerSizeLimit(t *testing.T) { type fileLogFailClose (line 285) | type fileLogFailClose struct method Close (line 290) | func (l *fileLogFailClose) Close() error { function expectOutput (line 297) | func expectOutput(t *testing.T, f func(), expected string) { function createFileAtDir (line 320) | func createFileAtDir(t *testing.T, dir, prefix string) *os.File { FILE: logger/syslog.go type SysLogger (line 28) | type SysLogger struct method Noticef (line 101) | func (l *SysLogger) Noticef(format string, v ...any) { method Warnf (line 106) | func (l *SysLogger) Warnf(format string, v ...any) { method Fatalf (line 111) | func (l *SysLogger) Fatalf(format string, v ...any) { method Errorf (line 116) | func (l *SysLogger) Errorf(format string, v ...any) { method Debugf (line 121) | func (l *SysLogger) Debugf(format string, v ...any) { method Tracef (line 128) | func (l *SysLogger) Tracef(format string, v ...any) { function SetSyslogName (line 36) | func SetSyslogName(name string) {} function GetSysLoggerTag (line 42) | func GetSysLoggerTag() string { function NewSysLogger (line 54) | func NewSysLogger(debug, trace bool) *SysLogger { function NewRemoteSysLogger (line 68) | func NewRemoteSysLogger(fqn string, debug, trace bool) *SysLogger { function getNetworkAndAddr (line 82) | func getNetworkAndAddr(fqn string) (network, addr string) { FILE: logger/syslog_test.go function TestSysLogger (line 31) | func TestSysLogger(t *testing.T) { function TestSysLoggerWithDebugAndTrace (line 43) | func TestSysLoggerWithDebugAndTrace(t *testing.T) { function testTag (line 55) | func testTag(t *testing.T, exePath, expected string) { function restoreArg (line 62) | func restoreArg(orig string) { function TestSysLoggerTagGen (line 66) | func TestSysLoggerTagGen(t *testing.T) { function TestSysLoggerTag (line 80) | func TestSysLoggerTag(t *testing.T) { function TestRemoteSysLogger (line 102) | func TestRemoteSysLogger(t *testing.T) { function TestRemoteSysLoggerNotice (line 118) | func TestRemoteSysLoggerNotice(t *testing.T) { function TestRemoteSysLoggerDebug (line 127) | func TestRemoteSysLoggerDebug(t *testing.T) { function TestRemoteSysLoggerDebugDisabled (line 136) | func TestRemoteSysLoggerDebugDisabled(t *testing.T) { function TestRemoteSysLoggerTrace (line 148) | func TestRemoteSysLoggerTrace(t *testing.T) { function TestRemoteSysLoggerTraceDisabled (line 157) | func TestRemoteSysLoggerTraceDisabled(t *testing.T) { function TestGetNetworkAndAddrUDP (line 169) | func TestGetNetworkAndAddrUDP(t *testing.T) { function TestGetNetworkAndAddrTCP (line 181) | func TestGetNetworkAndAddrTCP(t *testing.T) { function TestGetNetworkAndAddrUnix (line 193) | func TestGetNetworkAndAddrUnix(t *testing.T) { function expectSyslogOutput (line 204) | func expectSyslogOutput(t *testing.T, line string, expected string) { function runSyslog (line 215) | func runSyslog(c net.PacketConn, done chan<- string) { function startServer (line 228) | func startServer(done chan<- string) { FILE: logger/syslog_windows.go function SetSyslogName (line 28) | func SetSyslogName(name string) { type SysLogger (line 33) | type SysLogger struct method Noticef (line 79) | func (l *SysLogger) Noticef(format string, v ...any) { method Warnf (line 84) | func (l *SysLogger) Warnf(format string, v ...any) { method Fatalf (line 89) | func (l *SysLogger) Fatalf(format string, v ...any) { method Errorf (line 96) | func (l *SysLogger) Errorf(format string, v ...any) { method Debugf (line 101) | func (l *SysLogger) Debugf(format string, v ...any) { method Tracef (line 108) | func (l *SysLogger) Tracef(format string, v ...any) { function NewSysLogger (line 40) | func NewSysLogger(debug, trace bool) *SysLogger { function NewRemoteSysLogger (line 60) | func NewRemoteSysLogger(fqn string, debug, trace bool) *SysLogger { function formatMsg (line 73) | func formatMsg(tag, format string, v ...any) string { FILE: logger/syslog_windows_test.go function checkPrivledges (line 28) | func checkPrivledges(t *testing.T) { function lastLogEntryContains (line 43) | func lastLogEntryContains(t *testing.T, text string) bool { function TestSysLogger (line 56) | func TestSysLogger(t *testing.T) { function TestSysLoggerWithDebugAndTrace (line 88) | func TestSysLoggerWithDebugAndTrace(t *testing.T) { function TestRemoteSysLoggerWithDebugAndTrace (line 111) | func TestRemoteSysLoggerWithDebugAndTrace(t *testing.T) { function TestSysLoggerFatalf (line 127) | func TestSysLoggerFatalf(t *testing.T) { FILE: main.go function usage (line 92) | func usage() { function main (line 97) | func main() { FILE: server/accounts.go constant globalAccountName (line 44) | globalAccountName = DEFAULT_GLOBAL_ACCOUNT constant defaultMaxSubLimitReportThreshold (line 46) | defaultMaxSubLimitReportThreshold = int64(2 * time.Second) type Account (line 52) | type Account struct method String (line 281) | func (a *Account) String() string { method setTraceDest (line 285) | func (a *Account) setTraceDest(dest string) { method getTraceDestAndSampling (line 291) | func (a *Account) getTraceDestAndSampling() (string, int) { method shallowCopy (line 304) | func (a *Account) shallowCopy(na *Account) { method nextEventID (line 360) | func (a *Account) nextEventID() string { method getClientsLocked (line 369) | func (a *Account) getClientsLocked() []*client { method getClients (line 381) | func (a *Account) getClients() []*client { method getExternalClientsLocked (line 390) | func (a *Account) getExternalClientsLocked() []*client { method updateRemoteServer (line 405) | func (a *Account) updateRemoteServer(m *AccountNumConns) []*client { method removeRemoteServer (line 452) | func (a *Account) removeRemoteServer(sid string) { method expectedRemoteResponses (line 466) | func (a *Account) expectedRemoteResponses() (expected int32) { method clearEventing (line 478) | func (a *Account) clearEventing() { method GetName (line 490) | func (a *Account) GetName() string { method getNameTag (line 501) | func (a *Account) getNameTag() string { method getNameTagLocked (line 512) | func (a *Account) getNameTagLocked() string { method NumConnections (line 525) | func (a *Account) NumConnections() int { method NumRemoteConnections (line 534) | func (a *Account) NumRemoteConnections() int { method NumLocalConnections (line 543) | func (a *Account) NumLocalConnections() int { method numLocalConnections (line 551) | func (a *Account) numLocalConnections() int { method numLocalAndLeafConnections (line 557) | func (a *Account) numLocalAndLeafConnections() int { method numLocalLeafNodes (line 564) | func (a *Account) numLocalLeafNodes() int { method MaxTotalConnectionsReached (line 569) | func (a *Account) MaxTotalConnectionsReached() bool { method MaxActiveConnections (line 581) | func (a *Account) MaxActiveConnections() int { method MaxTotalLeafNodesReached (line 589) | func (a *Account) MaxTotalLeafNodesReached() bool { method maxTotalLeafNodesReached (line 596) | func (a *Account) maxTotalLeafNodesReached() bool { method NumLeafNodes (line 605) | func (a *Account) NumLeafNodes() int { method NumRemoteLeafNodes (line 614) | func (a *Account) NumRemoteLeafNodes() int { method MaxActiveLeafNodes (line 624) | func (a *Account) MaxActiveLeafNodes() int { method RoutedSubs (line 633) | func (a *Account) RoutedSubs() int { method TotalSubs (line 640) | func (a *Account) TotalSubs() int { method shouldLogMaxSubErr (line 649) | func (a *Account) shouldLogMaxSubErr() bool { method AddMapping (line 692) | func (a *Account) AddMapping(src, dest string) error { method AddWeightedMappings (line 697) | func (a *Account) AddWeightedMappings(src string, dests ...*MapDest) e... method RemoveMapping (line 816) | func (a *Account) RemoveMapping(src string) bool { method hasMappings (line 845) | func (a *Account) hasMappings() bool { method selectMappedSubject (line 854) | func (a *Account) selectMappedSubject(dest string) (string, bool) { method SubscriptionInterest (line 935) | func (a *Account) SubscriptionInterest(subject string) bool { method Interest (line 940) | func (a *Account) Interest(subject string) int { method addClient (line 953) | func (a *Account) addClient(c *client) int { method registerLeafNodeCluster (line 992) | func (a *Account) registerLeafNodeCluster(cluster string) { method hasLeafNodeCluster (line 1002) | func (a *Account) hasLeafNodeCluster(cluster string) bool { method isLeafNodeClusterIsolated (line 1010) | func (a *Account) isLeafNodeClusterIsolated(cluster string) bool { method removeLeafNode (line 1024) | func (a *Account) removeLeafNode(c *client) { method removeClient (line 1044) | func (a *Account) removeClient(c *client) int { method AddServiceExport (line 1107) | func (a *Account) AddServiceExport(subject string, accounts []*Account... method addServiceExportWithAccountPos (line 1112) | func (a *Account) addServiceExportWithAccountPos(subject string, accou... method AddServiceExportWithResponse (line 1117) | func (a *Account) AddServiceExportWithResponse(subject string, respTyp... method addServiceExportWithResponseAndAccountPos (line 1122) | func (a *Account) addServiceExportWithResponseAndAccountPos( method TrackServiceExport (line 1169) | func (a *Account) TrackServiceExport(service, results string) error { method TrackServiceExportWithSampling (line 1175) | func (a *Account) TrackServiceExportWithSampling(service, results stri... method UnTrackServiceExport (line 1244) | func (a *Account) UnTrackServiceExport(service string) { method IsExportService (line 1287) | func (a *Account) IsExportService(service string) bool { method IsExportServiceTracking (line 1304) | func (a *Account) IsExportServiceTracking(service string) bool { method sendLatencyResult (line 1394) | func (a *Account) sendLatencyResult(si *serviceImport, sl *ServiceLate... method sendBadRequestTrackingLatency (line 1407) | func (a *Account) sendBadRequestTrackingLatency(si *serviceImport, req... method sendReplyInterestLostTrackLatency (line 1420) | func (a *Account) sendReplyInterestLostTrackLatency(si *serviceImport) { method sendBackendErrorTrackingLatency (line 1436) | func (a *Account) sendBackendErrorTrackingLatency(si *serviceImport, r... method sendTrackingLatency (line 1464) | func (a *Account) sendTrackingLatency(si *serviceImport, responder *cl... method lowestServiceExportResponseTime (line 1548) | func (a *Account) lowestServiceExportResponseTime() time.Duration { method AddServiceImportWithClaim (line 1560) | func (a *Account) AddServiceImportWithClaim(destination *Account, from... method addServiceImportWithClaim (line 1566) | func (a *Account) addServiceImportWithClaim(destination *Account, from... method serviceImportFormsCycle (line 1601) | func (a *Account) serviceImportFormsCycle(dest *Account, from string) ... method checkServiceImportsForCycles (line 1605) | func (a *Account) checkServiceImportsForCycles(from string, visited ma... method streamImportFormsCycle (line 1635) | func (a *Account) streamImportFormsCycle(dest *Account, to string) err... method hasServiceExportMatching (line 1640) | func (a *Account) hasServiceExportMatching(to string) bool { method hasStreamExportMatching (line 1650) | func (a *Account) hasStreamExportMatching(to string) bool { method checkStreamImportsForCycles (line 1659) | func (a *Account) checkStreamImportsForCycles(to string, visited map[s... method SetServiceImportSharing (line 1696) | func (a *Account) SetServiceImportSharing(destination *Account, to str... method setServiceImportSharing (line 1701) | func (a *Account) setServiceImportSharing(destination *Account, to str... method AddServiceImport (line 1725) | func (a *Account) AddServiceImport(destination *Account, from, to stri... method NumPendingReverseResponses (line 1731) | func (a *Account) NumPendingReverseResponses() int { method NumPendingAllResponses (line 1738) | func (a *Account) NumPendingAllResponses() int { method NumPendingResponses (line 1746) | func (a *Account) NumPendingResponses(filter string) int { method NumServiceImports (line 1766) | func (a *Account) NumServiceImports() int { method removeRespServiceImport (line 1782) | func (a *Account) removeRespServiceImport(si *serviceImport, reason rs... method getServiceImportForAccountLocked (line 1805) | func (a *Account) getServiceImportForAccountLocked(dstAccName, subject... method removeServiceImport (line 1822) | func (a *Account) removeServiceImport(dstAccName, subject string) { method addReverseRespMapEntry (line 1868) | func (a *Account) addReverseRespMapEntry(acc *Account, reply, from str... method checkForReverseEntries (line 1882) | func (a *Account) checkForReverseEntries(reply string, checkInterest, ... method checkForReverseEntry (line 1920) | func (a *Account) checkForReverseEntry(reply string, si *serviceImport... method _checkForReverseEntry (line 1926) | func (a *Account) _checkForReverseEntry(reply string, si *serviceImpor... method serviceImportShadowed (line 2025) | func (a *Account) serviceImportShadowed(from string) bool { method serviceImportExists (line 2041) | func (a *Account) serviceImportExists(dstAccName, from string) bool { method addServiceImport (line 2051) | func (a *Account) addServiceImport(dest *Account, from, to string, cla... method internalClient (line 2126) | func (a *Account) internalClient() *client { method subscribeInternal (line 2135) | func (a *Account) subscribeInternal(subject string, cb msgHandler) (*s... method unsubscribeInternal (line 2140) | func (a *Account) unsubscribeInternal(sub *subscription) { method subscribeServiceImportResponse (line 2147) | func (a *Account) subscribeServiceImportResponse(subject string) (*sub... method subscribeInternalEx (line 2151) | func (a *Account) subscribeInternalEx(subject string, cb msgHandler, r... method addServiceImportSub (line 2166) | func (a *Account) addServiceImportSub(si *serviceImport) error { method removeAllServiceImportSubs (line 2200) | func (a *Account) removeAllServiceImportSubs() { method addAllServiceImportSubs (line 2225) | func (a *Account) addAllServiceImportSubs() { method processServiceImportResponse (line 2368) | func (a *Account) processServiceImportResponse(sub *subscription, c *c... method createRespWildcard (line 2390) | func (a *Account) createRespWildcard() { method newServiceReply (line 2408) | func (a *Account) newServiceReply(tracking bool) []byte { method ServiceExportResponseThreshold (line 2520) | func (a *Account) ServiceExportResponseThreshold(export string) (time.... method SetServiceExportResponseThreshold (line 2532) | func (a *Account) SetServiceExportResponseThreshold(export string, max... method SetServiceExportAllowTrace (line 2559) | func (a *Account) SetServiceExportAllowTrace(export string, allowTrace... method addRespServiceImport (line 2572) | func (a *Account) addRespServiceImport(dest *Account, to string, osi *... method AddStreamImportWithClaim (line 2608) | func (a *Account) AddStreamImportWithClaim(account *Account, from, pre... method addStreamImportWithClaim (line 2612) | func (a *Account) addStreamImportWithClaim(account *Account, from, pre... method AddMappedStreamImport (line 2639) | func (a *Account) AddMappedStreamImport(account *Account, from, to str... method AddMappedStreamImportWithClaim (line 2644) | func (a *Account) AddMappedStreamImportWithClaim(account *Account, fro... method addMappedStreamImportWithClaim (line 2648) | func (a *Account) addMappedStreamImportWithClaim(account *Account, fro... method isStreamImportDuplicate (line 2704) | func (a *Account) isStreamImportDuplicate(acc *Account, from string) b... method AddStreamImport (line 2714) | func (a *Account) AddStreamImport(account *Account, from, prefix strin... method AddStreamExport (line 2723) | func (a *Account) AddStreamExport(subject string, accounts []*Account)... method addStreamExportWithAccountPos (line 2731) | func (a *Account) addStreamExportWithAccountPos(subject string, accoun... method checkStreamImportAuthorized (line 2756) | func (a *Account) checkStreamImportAuthorized(account *Account, subjec... method checkStreamImportAuthorizedNoLock (line 2764) | func (a *Account) checkStreamImportAuthorizedNoLock(account *Account, ... method checkAuth (line 2771) | func (a *Account) checkAuth(ea *exportAuth, account *Account, imClaim ... method checkStreamExportApproved (line 2792) | func (a *Account) checkStreamExportApproved(account *Account, subject ... method checkServiceExportApproved (line 2819) | func (a *Account) checkServiceExportApproved(account *Account, subject... method getServiceExport (line 2847) | func (a *Account) getServiceExport(subj string) *serviceExport { method getWildcardServiceExport (line 2859) | func (a *Account) getWildcardServiceExport(from string) *serviceExport { method streamActivationExpired (line 2870) | func (a *Account) streamActivationExpired(exportAcc *Account, subject ... method serviceActivationExpired (line 2905) | func (a *Account) serviceActivationExpired(dstAcc *Account, subject st... method activationExpired (line 2930) | func (a *Account) activationExpired(exportAcc *Account, subject string... method checkActivation (line 2953) | func (a *Account) checkActivation(importAcc *Account, claim *jwt.Impor... method isIssuerClaimTrusted (line 2998) | func (a *Account) isIssuerClaimTrusted(claims *jwt.ActivationClaims) b... method checkStreamImportsEqual (line 3021) | func (a *Account) checkStreamImportsEqual(b *Account) bool { method checkStreamExportsEqual (line 3046) | func (a *Account) checkStreamExportsEqual(b *Account) bool { method checkServiceExportsEqual (line 3077) | func (a *Account) checkServiceExportsEqual(b *Account) bool { method checkServiceImportAuthorized (line 3158) | func (a *Account) checkServiceImportAuthorized(account *Account, subje... method checkServiceImportAuthorizedNoLock (line 3166) | func (a *Account) checkServiceImportAuthorizedNoLock(account *Account,... method IsExpired (line 3175) | func (a *Account) IsExpired() bool { method expiredTimeout (line 3180) | func (a *Account) expiredTimeout() { method setExpirationTimer (line 3194) | func (a *Account) setExpirationTimer(d time.Duration) { method clearExpirationTimer (line 3199) | func (a *Account) clearExpirationTimer() bool { method checkUserRevoked (line 3209) | func (a *Account) checkUserRevoked(nkey string, issuedAt int64) bool { method failBearer (line 3216) | func (a *Account) failBearer() bool { method checkExpiration (line 3223) | func (a *Account) checkExpiration(claims *jwt.ClaimsData) { method hasIssuer (line 3245) | func (a *Account) hasIssuer(issuer string) (jwt.Scope, bool) { method hasIssuerNoLock (line 3253) | func (a *Account) hasIssuerNoLock(issuer string) (jwt.Scope, bool) { method getLDSubject (line 3259) | func (a *Account) getLDSubject() string { method isClaimAccount (line 3293) | func (a *Account) isClaimAccount() bool { method traceLabel (line 3304) | func (a *Account) traceLabel() string { method hasExternalAuth (line 3316) | func (a *Account) hasExternalAuth() bool { method isExternalAuthUser (line 3326) | func (a *Account) isExternalAuthUser(userID string) bool { method externalAuthXKey (line 3344) | func (a *Account) externalAuthXKey() string { method isAllowedAcount (line 3357) | func (a *Account) isAllowedAcount(acc string) bool { constant accDedicatedRoute (line 122) | accDedicatedRoute = -1 constant accTransitioningToDedicatedRoute (line 123) | accTransitioningToDedicatedRoute = -2 type limits (line 127) | type limits struct type sconns (line 136) | type sconns struct function clampInt64ToInt32 (line 143) | func clampInt64ToInt32(v int64) int32 { type streamImport (line 148) | type streamImport struct constant ClientInfoHdr (line 163) | ClientInfoHdr = "Nats-Request-Info" type serviceImport (line 166) | type serviceImport struct method isRespServiceImport (line 2450) | func (si *serviceImport) isRespServiceImport() bool { type serviceRespEntry (line 193) | type serviceRespEntry struct type ServiceRespType (line 199) | type ServiceRespType method String (line 209) | func (rt ServiceRespType) String() string { constant Singleton (line 203) | Singleton ServiceRespType = iota constant Streamed (line 204) | Streamed constant Chunked (line 205) | Chunked type exportAuth (line 223) | type exportAuth struct type streamExport (line 231) | type streamExport struct type serviceExport (line 236) | type serviceExport struct method setResponseThresholdTimer (line 2456) | func (se *serviceExport) setResponseThresholdTimer() { method clearResponseThresholdTimer (line 2464) | func (se *serviceExport) clearResponseThresholdTimer() bool { method checkExpiredResponses (line 2475) | func (se *serviceExport) checkExpiredResponses() { type serviceLatency (line 251) | type serviceLatency struct type exportMap (line 257) | type exportMap struct type importMap (line 265) | type importMap struct function NewAccount (line 272) | func NewAccount(name string) *Account { type MapDest (line 666) | type MapDest struct function NewMapDest (line 672) | func NewMapDest(subject string, weight uint8) *MapDest { type destination (line 677) | type destination struct type mapping (line 683) | type mapping struct function setExportAuth (line 1081) | func setExportAuth(ea *exportAuth, subject string, accounts []*Account, ... type ServiceLatency (line 1332) | type ServiceLatency struct method NATSTotalTime (line 1349) | func (m1 *ServiceLatency) NATSTotalTime() time.Duration { method merge (line 1360) | func (m1 *ServiceLatency) merge(m2 *ServiceLatency) { constant ServiceLatencyType (line 1346) | ServiceLatencyType = "io.nats.server.metric.v1.service_latency" function sanitizeLatencyMetric (line 1376) | func sanitizeLatencyMetric(sl *ServiceLatency) { type remoteLatency (line 1386) | type remoteLatency struct function updateAllClientsServiceExportResponseTime (line 1533) | func updateAllClientsServiceExportResponseTime(clients []*client, lrt ti... constant MaxAccountCycleSearchDepth (line 1599) | MaxAccountCycleSearchDepth = 1024 type rsiReason (line 1773) | type rsiReason constant rsiOk (line 1776) | rsiOk = rsiReason(iota) constant rsiNoDelivery (line 1777) | rsiNoDelivery constant rsiTimeout (line 1778) | rsiTimeout function newB3Header (line 2253) | func newB3Header(h http.Header) http.Header { function newUberHeader (line 2270) | func newUberHeader(h http.Header, tId []string) http.Header { function newTraceCtxHeader (line 2280) | func newTraceCtxHeader(h http.Header, tId []string) http.Header { function shouldSample (line 2289) | func shouldSample(l *serviceLatency, c *client) (bool, http.Header) { constant replyPrefix (line 2358) | replyPrefix = "_R_." constant replyPrefixLen (line 2359) | replyPrefixLen = len(replyPrefix) constant baseServerLen (line 2360) | baseServerLen = 10 constant replyLen (line 2361) | replyLen = 6 constant minReplyLen (line 2362) | minReplyLen = 15 constant digits (line 2363) | digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqr... constant base (line 2364) | base = 62 function isTrackedReply (line 2401) | func isTrackedReply(reply []byte) bool { function isRevoked (line 2939) | func isRevoked(revocations map[string]int64, subject string, issuedAt in... function isStreamExportEqual (line 3064) | func isStreamExportEqual(a, b *streamExport) bool { function isServiceExportEqual (line 3095) | func isServiceExportEqual(a, b *serviceExport) bool { function isExportAuthEqual (line 3131) | func isExportAuthEqual(a, b *exportAuth) bool { function authAccounts (line 3269) | func authAccounts(tokenReq bool) []*Account { method SetAccountResolver (line 3277) | func (s *Server) SetAccountResolver(ar AccountResolver) { method AccountResolver (line 3284) | func (s *Server) AccountResolver() AccountResolver { method UpdateAccountClaims (line 3300) | func (s *Server) UpdateAccountClaims(a *Account, ac *jwt.AccountClaims) { method updateAccountClaimsWithRefresh (line 3384) | func (s *Server) updateAccountClaimsWithRefresh(a *Account, ac *jwt.Acco... method buildInternalAccount (line 3967) | func (s *Server) buildInternalAccount(ac *jwt.AccountClaims) *Account { function buildPermissionsFromJwt (line 3989) | func buildPermissionsFromJwt(uc *jwt.Permissions) *Permissions { function buildInternalNkeyUser (line 4022) | func buildInternalNkeyUser(uc *jwt.UserClaims, acts map[string]struct{},... function fetchAccount (line 4037) | func fetchAccount(res AccountResolver, name string) (string, error) { type AccountResolver (line 4045) | type AccountResolver interface type resolverDefaultsOpsImpl (line 4056) | type resolverDefaultsOpsImpl struct method IsReadOnly (line 4058) | func (*resolverDefaultsOpsImpl) IsReadOnly() bool { method IsTrackingUpdate (line 4062) | func (*resolverDefaultsOpsImpl) IsTrackingUpdate() bool { method Start (line 4066) | func (*resolverDefaultsOpsImpl) Start(*Server) error { method Reload (line 4070) | func (*resolverDefaultsOpsImpl) Reload() error { method Close (line 4074) | func (*resolverDefaultsOpsImpl) Close() { method Store (line 4077) | func (*resolverDefaultsOpsImpl) Store(_, _ string) error { type MemAccResolver (line 4083) | type MemAccResolver struct method Fetch (line 4089) | func (m *MemAccResolver) Fetch(name string) (string, error) { method Store (line 4097) | func (m *MemAccResolver) Store(name, jwt string) error { method IsReadOnly (line 4102) | func (m *MemAccResolver) IsReadOnly() bool { type URLAccResolver (line 4107) | type URLAccResolver struct method Fetch (line 4133) | func (ur *URLAccResolver) Fetch(name string) (string, error) { function NewURLAccResolver (line 4114) | func NewURLAccResolver(url string) (*URLAccResolver, error) { type DirAccResolver (line 4153) | type DirAccResolver struct method IsTrackingUpdate (line 4160) | func (dr *DirAccResolver) IsTrackingUpdate() bool { method Reload (line 4164) | func (dr *DirAccResolver) Reload() error { method Start (line 4362) | func (dr *DirAccResolver) Start(s *Server) error { method Fetch (line 4543) | func (dr *DirAccResolver) Fetch(name string) (string, error) { method Store (line 4558) | func (dr *DirAccResolver) Store(name, jwt string) error { method apply (line 4575) | func (dr *DirAccResolver) apply(opts ...DirResOption) error { type ServerAPIClaimUpdateResponse (line 4169) | type ServerAPIClaimUpdateResponse struct type ClaimUpdateError (line 4175) | type ClaimUpdateError struct type ClaimUpdateStatus (line 4181) | type ClaimUpdateStatus struct function respondToUpdate (line 4187) | func respondToUpdate(s *Server, respSubj string, acc string, message str... function handleListRequest (line 4226) | func handleListRequest(store *DirJWTStore, s *Server, reply string) { function handleDeleteRequest (line 4246) | func handleDeleteRequest(store *DirJWTStore, s *Server, msg []byte, repl... function getOperatorKeys (line 4300) | func getOperatorKeys(s *Server) (string, map[string]struct{}, bool, erro... function claimValidate (line 4320) | func claimValidate(claim *jwt.AccountClaims) error { function removeCb (line 4329) | func removeCb(s *Server, pubKey string) { type DirResOption (line 4562) | type DirResOption function FetchTimeout (line 4565) | func FetchTimeout(to time.Duration) DirResOption { function NewDirAccResolver (line 4584) | func NewDirAccResolver(path string, limit int64, syncInterval time.Durat... type CacheDirAccResolver (line 4604) | type CacheDirAccResolver struct method Start (line 4689) | func (dr *CacheDirAccResolver) Start(s *Server) error { method Reload (line 4782) | func (dr *CacheDirAccResolver) Reload() error { method fetch (line 4609) | func (s *Server) fetch(res AccountResolver, name string, timeout time.Du... function NewCacheDirAccResolver (line 4674) | func NewCacheDirAccResolver(path string, limit int64, ttl time.Duration,... FILE: server/accounts_test.go function simpleAccountServer (line 34) | func simpleAccountServer(t *testing.T) (*Server, *Account, *Account) { function TestRegisterDuplicateAccounts (line 50) | func TestRegisterDuplicateAccounts(t *testing.T) { function TestAccountIsolation (line 57) | func TestAccountIsolation(t *testing.T) { function TestAccountIsolationExportImport (line 111) | func TestAccountIsolationExportImport(t *testing.T) { function TestMultiAccountsIsolation (line 304) | func TestMultiAccountsIsolation(t *testing.T) { function TestAccountFromOptions (line 386) | func TestAccountFromOptions(t *testing.T) { function TestNewAccountAndRequireNewAlwaysError (line 410) | func TestNewAccountAndRequireNewAlwaysError(t *testing.T) { function accountNameExists (line 471) | func accountNameExists(name string, accounts []*Account) bool { function TestAccountSimpleConfig (line 480) | func TestAccountSimpleConfig(t *testing.T) { function TestAccountParseConfig (line 512) | func TestAccountParseConfig(t *testing.T) { function TestAccountParseConfigDuplicateUsers (line 568) | func TestAccountParseConfigDuplicateUsers(t *testing.T) { function TestAccountParseConfigImportsExports (line 590) | func TestAccountParseConfigImportsExports(t *testing.T) { function TestImportExportConfigFailures (line 692) | func TestImportExportConfigFailures(t *testing.T) { function TestImportAuthorized (line 761) | func TestImportAuthorized(t *testing.T) { function TestSimpleMapping (line 845) | func TestSimpleMapping(t *testing.T) { function TestStreamImportLengthBug (line 939) | func TestStreamImportLengthBug(t *testing.T) { function TestShadowSubsCleanupOnClientClose (line 988) | func TestShadowSubsCleanupOnClientClose(t *testing.T) { function TestNoPrefixWildcardMapping (line 1028) | func TestNoPrefixWildcardMapping(t *testing.T) { function TestPrefixWildcardMapping (line 1081) | func TestPrefixWildcardMapping(t *testing.T) { function TestPrefixWildcardMappingWithLiteralSub (line 1135) | func TestPrefixWildcardMappingWithLiteralSub(t *testing.T) { function TestMultipleImportsAndSingleWCSub (line 1188) | func TestMultipleImportsAndSingleWCSub(t *testing.T) { function TestAddServiceExport (line 1282) | func TestAddServiceExport(t *testing.T) { function TestServiceExportWithWildcards (line 1319) | func TestServiceExportWithWildcards(t *testing.T) { function TestAccountAddServiceImportRace (line 1424) | func TestAccountAddServiceImportRace(t *testing.T) { function TestServiceImportWithWildcards (line 1463) | func TestServiceImportWithWildcards(t *testing.T) { function TestAddStreamExport (line 1560) | func TestAddStreamExport(t *testing.T) { function TestCrossAccountRequestReply (line 1597) | func TestCrossAccountRequestReply(t *testing.T) { function TestAccountRequestReplyTrackLatency (line 1692) | func TestAccountRequestReplyTrackLatency(t *testing.T) { function TestAccountTrackLatencyRemoteLeaks (line 1818) | func TestAccountTrackLatencyRemoteLeaks(t *testing.T) { function TestCrossAccountServiceResponseTypes (line 2005) | func TestCrossAccountServiceResponseTypes(t *testing.T) { function TestAccountMapsUsers (line 2138) | func TestAccountMapsUsers(t *testing.T) { function TestAccountGlobalDefault (line 2254) | func TestAccountGlobalDefault(t *testing.T) { function TestAccountCheckStreamImportsEqual (line 2274) | func TestAccountCheckStreamImportsEqual(t *testing.T) { function TestAccountNoDeadlockOnQueueSubRouteMapUpdate (line 2370) | func TestAccountNoDeadlockOnQueueSubRouteMapUpdate(t *testing.T) { function TestAccountDuplicateServiceImportSubject (line 2411) | func TestAccountDuplicateServiceImportSubject(t *testing.T) { function TestAccountRemoveServiceImport (line 2447) | func TestAccountRemoveServiceImport(t *testing.T) { function TestAccountMultipleServiceImportsWithSameSubjectFromDifferentAccounts (line 2535) | func TestAccountMultipleServiceImportsWithSameSubjectFromDifferentAccoun... function TestMultipleStreamImportsWithSameSubjectDifferentPrefix (line 2590) | func TestMultipleStreamImportsWithSameSubjectDifferentPrefix(t *testing.... function TestMultipleStreamImportsWithSameSubject (line 2657) | func TestMultipleStreamImportsWithSameSubject(t *testing.T) { function TestAccountBasicRouteMapping (line 2728) | func TestAccountBasicRouteMapping(t *testing.T) { function TestAccountWildcardRouteMapping (line 2764) | func TestAccountWildcardRouteMapping(t *testing.T) { function TestAccountRouteMappingChangesAfterClientStart (line 2814) | func TestAccountRouteMappingChangesAfterClientStart(t *testing.T) { function TestAccountSimpleWeightedRouteMapping (line 2853) | func TestAccountSimpleWeightedRouteMapping(t *testing.T) { function TestAccountMultiWeightedRouteMappings (line 2885) | func TestAccountMultiWeightedRouteMappings(t *testing.T) { function TestGlobalAccountRouteMappingsConfiguration (line 2954) | func TestGlobalAccountRouteMappingsConfiguration(t *testing.T) { function TestAccountRouteMappingsConfiguration (line 3004) | func TestAccountRouteMappingsConfiguration(t *testing.T) { function TestAccountRouteMappingsWithLossInjection (line 3040) | func TestAccountRouteMappingsWithLossInjection(t *testing.T) { function TestAccountRouteMappingsWithOriginClusterFilter (line 3078) | func TestAccountRouteMappingsWithOriginClusterFilter(t *testing.T) { function TestAccountServiceImportWithRouteMappings (line 3116) | func TestAccountServiceImportWithRouteMappings(t *testing.T) { function TestAccountImportsWithWildcardSupport (line 3159) | func TestAccountImportsWithWildcardSupport(t *testing.T) { function TestAccountImportsWithWildcardSupportStreamAndService (line 3254) | func TestAccountImportsWithWildcardSupportStreamAndService(t *testing.T) { function BenchmarkNewRouteReply (line 3319) | func BenchmarkNewRouteReply(b *testing.B) { function TestSamplingHeader (line 3329) | func TestSamplingHeader(t *testing.T) { function TestAccountSystemPermsWithGlobalAccess (line 3391) | func TestAccountSystemPermsWithGlobalAccess(t *testing.T) { constant importSubscriptionOverlapTemplate (line 3417) | importSubscriptionOverlapTemplate = ` function TestImportSubscriptionPartialOverlapWithPrefix (line 3438) | func TestImportSubscriptionPartialOverlapWithPrefix(t *testing.T) { function TestImportSubscriptionPartialOverlapWithTransform (line 3466) | func TestImportSubscriptionPartialOverlapWithTransform(t *testing.T) { function TestAccountLimitsServerConfig (line 3498) | func TestAccountLimitsServerConfig(t *testing.T) { function TestAccountMaxConnectionsDisconnectsNewestFirst (line 3541) | func TestAccountMaxConnectionsDisconnectsNewestFirst(t *testing.T) { function TestAccountUpdateRemoteServerDisconnectsNewestFirst (line 3619) | func TestAccountUpdateRemoteServerDisconnectsNewestFirst(t *testing.T) { function TestAccountMaxConnectionsDuringLameDuckMode (line 3694) | func TestAccountMaxConnectionsDuringLameDuckMode(t *testing.T) { function TestAccountUserSubPermsWithQueueGroups (line 3761) | func TestAccountUserSubPermsWithQueueGroups(t *testing.T) { function TestAccountImportCycle (line 3796) | func TestAccountImportCycle(t *testing.T) { function TestAccountImportOwnExport (line 3858) | func TestAccountImportOwnExport(t *testing.T) { function TestAccountImportDuplicateResponseDeliveryWithLeafnodes (line 3890) | func TestAccountImportDuplicateResponseDeliveryWithLeafnodes(t *testing.... function TestAccountReloadServiceImportPanic (line 3961) | func TestAccountReloadServiceImportPanic(t *testing.T) { function TestAccountServiceAndStreamExportDoubleDelivery (line 4035) | func TestAccountServiceAndStreamExportDoubleDelivery(t *testing.T) { function TestAccountServiceImportNoResponders (line 4077) | func TestAccountServiceImportNoResponders(t *testing.T) { FILE: server/ats/ats.go constant TickInterval (line 25) | TickInterval = 100 * time.Millisecond function init (line 36) | func init() { function Register (line 42) | func Register() { function Unregister (line 64) | func Unregister() { function AccessTime (line 76) | func AccessTime() int64 { FILE: server/ats/ats_test.go function TestNotRunningValue (line 22) | func TestNotRunningValue(t *testing.T) { function TestRegisterAndUnregister (line 36) | func TestRegisterAndUnregister(t *testing.T) { function TestUnbalancedUnregister (line 91) | func TestUnbalancedUnregister(t *testing.T) { FILE: server/auth.go type Authentication (line 40) | type Authentication interface type ClientAuthentication (line 46) | type ClientAuthentication interface type NkeyUser (line 62) | type NkeyUser struct method clone (line 106) | func (n *NkeyUser) clone() *NkeyUser { type User (line 73) | type User struct method clone (line 85) | func (u *User) clone() *User { type SubjectPermission (line 127) | type SubjectPermission struct method clone (line 156) | func (p *SubjectPermission) clone() *SubjectPermission { type ResponsePermission (line 134) | type ResponsePermission struct type Permissions (line 141) | type Permissions struct method clone (line 174) | func (p *Permissions) clone() *Permissions { type RoutePermissions (line 150) | type RoutePermissions struct method checkAuthforWarnings (line 196) | func (s *Server) checkAuthforWarnings() { method assignGlobalAccountToOrphanUsers (line 226) | func (s *Server) assignGlobalAccountToOrphanUsers(nkeys map[string]*Nkey... function validateResponsePermissions (line 243) | func validateResponsePermissions(p *Permissions) { method configureAuthorization (line 266) | func (s *Server) configureAuthorization() { method buildNkeysAndUsersFromOptions (line 325) | func (s *Server) buildNkeysAndUsersFromOptions(nko []*NkeyUser, uo []*Us... method checkAuthentication (line 365) | func (s *Server) checkAuthentication(c *client) bool { method isClientAuthorized (line 382) | func (s *Server) isClientAuthorized(c *client) bool { method matchesPinnedCert (line 405) | func (c *client) matchesPinnedCert(tlsPinnedCerts PinnedCertSet) bool { function processUserPermissionsTemplate (line 429) | func processUserPermissionsTemplate(lim jwt.UserPermissionLimits, ujwt *... method processClientOrLeafAuthentication (line 604) | func (s *Server) processClientOrLeafAuthentication(c *client, opts *Opti... method proxyCheck (line 1169) | func (s *Server) proxyCheck(c *client, opts *Options) (bool, bool) { function getTLSAuthDCs (line 1214) | func getTLSAuthDCs(rdns *pkix.RDNSequence) string { type tlsMapAuthFn (line 1234) | type tlsMapAuthFn function checkClientTLSCertSubject (line 1236) | func checkClientTLSCertSubject(c *client, fn tlsMapAuthFn) bool { function dnsAltNameLabels (line 1332) | func dnsAltNameLabels(dnsAltName string) []string { function dnsAltNameMatches (line 1337) | func dnsAltNameMatches(dnsAltNameLabels []string, urls []*url.URL) bool { method isRouterAuthorized (line 1365) | func (s *Server) isRouterAuthorized(c *client) bool { method isGatewayAuthorized (line 1406) | func (s *Server) isGatewayAuthorized(c *client) bool { method registerLeafWithAccount (line 1441) | func (s *Server) registerLeafWithAccount(c *client, account string) bool { method isLeafNodeAuthorized (line 1459) | func (s *Server) isLeafNodeAuthorized(c *client) bool { function isBcrypt (line 1585) | func isBcrypt(password string) bool { function comparePasswords (line 1593) | func comparePasswords(serverPassword, clientPassword string) bool { function validateAuth (line 1611) | func validateAuth(o *Options) error { function validateAllowedConnectionTypes (line 1628) | func validateAllowedConnectionTypes(m map[string]struct{}) error { function validateNoAuthUser (line 1647) | func validateNoAuthUser(o *Options, noAuthUser string) error { function validateProxies (line 1673) | func validateProxies(o *Options) error { method processProxiesTrustedKeys (line 1688) | func (s *Server) processProxiesTrustedKeys() { function getAuthErrClosedState (line 1704) | func getAuthErrClosedState(authErr error) ClosedState { FILE: server/auth_callout.go constant AuthCalloutSubject (line 30) | AuthCalloutSubject = "$SYS.REQ.USER.AUTH" constant AuthRequestSubject (line 31) | AuthRequestSubject = "nats-authorization-request" constant AuthRequestXKeyHeader (line 32) | AuthRequestXKeyHeader = "Nats-Server-Xkey" function titleCase (line 35) | func titleCase(m string) string { method processClientOrLeafCallout (line 44) | func (s *Server) processClientOrLeafCallout(c *client, opts *Options, pr... method fillClientInfo (line 459) | func (c *client) fillClientInfo(ci *jwt.ClientInformation) { method fillConnectOpts (line 480) | func (c *client) fillConnectOpts(opts *jwt.ConnectOptions) { FILE: server/auth_callout_test.go function decodeAuthRequest (line 38) | func decodeAuthRequest(t *testing.T, ejwt []byte) (string, *jwt.ServerID... function TestTitleCaseEmptyString (line 45) | func TestTitleCaseEmptyString(t *testing.T) { constant authCalloutPub (line 51) | authCalloutPub = "UBO2MQV67TQTVIRV3XFTEZOACM4WLOCMCDMAWN5QVN5PI2N... constant authCalloutSeed (line 52) | authCalloutSeed = "SUAP277QP7U4JMFFPVZHLJYEQJ2UHOTYVEIZJYAWRJXQLP4... constant authCalloutIssuer (line 53) | authCalloutIssuer = "ABJHLOVMPA4CI6R5KLNGOB4GSLNIY7IOUPAJC4YFNDLQVIO... constant authCalloutIssuerSeed (line 54) | authCalloutIssuerSeed = "SAANDLKMXL6CUS3CP52WIXBEDN6YJ545GDKC65U5JZPPV6W... constant authCalloutIssuerSK (line 55) | authCalloutIssuerSK = "SAAE46BB675HKZKSVJEUZAKKWIV6BJJO6XYE46Z3ZHO7TCI... function serviceResponse (line 58) | func serviceResponse(t *testing.T, userID string, serverID string, uJwt ... function newScopedRole (line 73) | func newScopedRole(t *testing.T, role string, pub []string, sub []string... function createAuthUser (line 90) | func createAuthUser(t *testing.T, user, name, account, issuerAccount str... type authTest (line 134) | type authTest struct method NewClient (line 154) | func (at *authTest) NewClient(clientOptions ...nats.Option) (*nats.Con... method ConnectCallout (line 163) | func (at *authTest) ConnectCallout(clientOptions ...nats.Option) *nats... method Connect (line 172) | func (at *authTest) Connect(clientOptions ...nats.Option) *nats.Conn { method WSNewClient (line 178) | func (at *authTest) WSNewClient(clientOptions ...nats.Option) (*nats.C... method WSConnect (line 196) | func (at *authTest) WSConnect(clientOptions ...nats.Option) *nats.Conn { method RequireConnectError (line 202) | func (at *authTest) RequireConnectError(clientOptions ...nats.Option) { method Cleanup (line 207) | func (at *authTest) Cleanup() { function NewAuthTest (line 142) | func NewAuthTest(t *testing.T, config string, authHandler nats.MsgHandle... function TestAuthCalloutBasics (line 217) | func TestAuthCalloutBasics(t *testing.T) { function TestAuthCalloutMultiAccounts (line 336) | func TestAuthCalloutMultiAccounts(t *testing.T) { function TestAuthCalloutAllowedAccounts (line 388) | func TestAuthCalloutAllowedAccounts(t *testing.T) { function TestAuthCalloutClientTLSCerts (line 470) | func TestAuthCalloutClientTLSCerts(t *testing.T) { function TestAuthCalloutVerifiedUserCalloutsWithSig (line 540) | func TestAuthCalloutVerifiedUserCalloutsWithSig(t *testing.T) { function createAuthServiceUser (line 611) | func createAuthServiceUser(t *testing.T, accKp nkeys.KeyPair) (pub, cred... function createBasicAccountUser (line 627) | func createBasicAccountUser(t *testing.T, accKp nkeys.KeyPair) (creds st... function createBasicAccountLeaf (line 631) | func createBasicAccountLeaf(t *testing.T, accKp nkeys.KeyPair) (creds st... function createBasicAccountBearer (line 635) | func createBasicAccountBearer(t *testing.T, accKp nkeys.KeyPair) string { function createBasicAccount (line 655) | func createBasicAccount(t *testing.T, name string, accKp nkeys.KeyPair, ... function createScopedUser (line 676) | func createScopedUser(t *testing.T, accKp nkeys.KeyPair, sk nkeys.KeyPai... function TestAuthCalloutOperatorNoServerConfigCalloutAllowed (line 698) | func TestAuthCalloutOperatorNoServerConfigCalloutAllowed(t *testing.T) { function TestAuthCalloutOperatorModeBasics (line 717) | func TestAuthCalloutOperatorModeBasics(t *testing.T) { function testAuthCalloutScopedUser (line 915) | func testAuthCalloutScopedUser(t *testing.T, allowAnyAccount bool) { function TestAuthCalloutScopedUserAssignedAccount (line 1055) | func TestAuthCalloutScopedUserAssignedAccount(t *testing.T) { function TestAuthCalloutScopedUserAllAccount (line 1059) | func TestAuthCalloutScopedUserAllAccount(t *testing.T) { constant curveSeed (line 1064) | curveSeed = "SXAAXMRAEP6JWWHNB6IKFL554IE6LZVT6EY5MBRICPILTLOPHAG73I3YX4" constant curvePublic (line 1065) | curvePublic = "XAB3NANV3M6N7AHSQP2U5FRWKKUT7EG2ZXXABV4XVXYQRJGM4S2CZGHT" function TestAuthCalloutServerConfigEncryption (line 1068) | func TestAuthCalloutServerConfigEncryption(t *testing.T) { function TestAuthCalloutOperatorModeEncryption (line 1131) | func TestAuthCalloutOperatorModeEncryption(t *testing.T) { function TestAuthCalloutServerTags (line 1228) | func TestAuthCalloutServerTags(t *testing.T) { function TestAuthCalloutServerClusterAndVersion (line 1262) | func TestAuthCalloutServerClusterAndVersion(t *testing.T) { function TestAuthCalloutErrorResponse (line 1300) | func TestAuthCalloutErrorResponse(t *testing.T) { function TestAuthCalloutAuthUserFailDoesNotInvokeCallout (line 1323) | func TestAuthCalloutAuthUserFailDoesNotInvokeCallout(t *testing.T) { function TestAuthCalloutAuthErrEvents (line 1352) | func TestAuthCalloutAuthErrEvents(t *testing.T) { function TestAuthCalloutConnectEvents (line 1425) | func TestAuthCalloutConnectEvents(t *testing.T) { function TestAuthCalloutBadServer (line 1553) | func TestAuthCalloutBadServer(t *testing.T) { function TestAuthCalloutBadUser (line 1604) | func TestAuthCalloutBadUser(t *testing.T) { function TestAuthCalloutExpiredUser (line 1655) | func TestAuthCalloutExpiredUser(t *testing.T) { function TestAuthCalloutExpiredResponse (line 1702) | func TestAuthCalloutExpiredResponse(t *testing.T) { function TestAuthCalloutOperator_AnyAccount (line 1749) | func TestAuthCalloutOperator_AnyAccount(t *testing.T) { function TestAuthCalloutWSClientTLSCerts (line 1858) | func TestAuthCalloutWSClientTLSCerts(t *testing.T) { function testConfClientClose (line 1938) | func testConfClientClose(t *testing.T, respondNil bool) { function TestAuthCallout_ClientAuthErrorConf (line 1973) | func TestAuthCallout_ClientAuthErrorConf(t *testing.T) { function testAuthCall_ClientAuthErrorOperatorMode (line 1978) | func testAuthCall_ClientAuthErrorOperatorMode(t *testing.T, respondNil b... function TestAuthCallout_ClientAuthErrorOperatorMode (line 2048) | func TestAuthCallout_ClientAuthErrorOperatorMode(t *testing.T) { function TestOperatorModeUserRevocation (line 2053) | func TestOperatorModeUserRevocation(t *testing.T) { function updateAccount (line 2204) | func updateAccount(t *testing.T, sys *nats.Conn, jwtToken string) { function TestAuthCalloutLeafNodeAndOperatorMode (line 2225) | func TestAuthCalloutLeafNodeAndOperatorMode(t *testing.T) { function TestAuthCalloutLeafNodeAndConfigMode (line 2350) | func TestAuthCalloutLeafNodeAndConfigMode(t *testing.T) { function TestAuthCalloutProxyRequiredInUserNotInAuthJWT (line 2437) | func TestAuthCalloutProxyRequiredInUserNotInAuthJWT(t *testing.T) { function TestAuthCalloutOperatorModeMismatchedCalloutCreds (line 2508) | func TestAuthCalloutOperatorModeMismatchedCalloutCreds(t *testing.T) { function TestAuthCalloutLeafNodeOperatorModeMismatchedCreds (line 2567) | func TestAuthCalloutLeafNodeOperatorModeMismatchedCreds(t *testing.T) { function TestAuthCalloutRegisterWithAccountAfterClose (line 2687) | func TestAuthCalloutRegisterWithAccountAfterClose(t *testing.T) { function TestAuthCalloutZombieInflatesAccountConnections (line 2774) | func TestAuthCalloutZombieInflatesAccountConnections(t *testing.T) { FILE: server/auth_test.go function TestUserCloneNilPermissions (line 34) | func TestUserCloneNilPermissions(t *testing.T) { function TestUserClone (line 53) | func TestUserClone(t *testing.T) { function TestUserClonePermissionsNoLists (line 80) | func TestUserClonePermissionsNoLists(t *testing.T) { function TestUserCloneNoPermissions (line 97) | func TestUserCloneNoPermissions(t *testing.T) { function TestUserCloneNil (line 110) | func TestUserCloneNil(t *testing.T) { function TestUserUnknownAllowedConnectionType (line 118) | func TestUserUnknownAllowedConnectionType(t *testing.T) { function TestDNSAltNameMatching (line 168) | func TestDNSAltNameMatching(t *testing.T) { function TestProcessUserPermissionsTemplateMalformedOpDoesNotPanic (line 225) | func TestProcessUserPermissionsTemplateMalformedOpDoesNotPanic(t *testin... function TestProcessUserPermissionsTemplateUnknownAllowOpDoesNotPanic (line 235) | func TestProcessUserPermissionsTemplateUnknownAllowOpDoesNotPanic(t *tes... function TestProcessUserPermissionsTemplateRejectsExcessiveTagExpansions (line 245) | func TestProcessUserPermissionsTemplateRejectsExcessiveTagExpansions(t *... function TestNoAuthUser (line 261) | func TestNoAuthUser(t *testing.T) { function TestNoAuthUserNkey (line 319) | func TestNoAuthUserNkey(t *testing.T) { function TestUserConnectionDeadline (line 344) | func TestUserConnectionDeadline(t *testing.T) { function TestNoAuthUserNoConnectProto (line 387) | func TestNoAuthUserNoConnectProto(t *testing.T) { type captureProxyRequiredLogger (line 430) | type captureProxyRequiredLogger struct method Debugf (line 435) | func (l *captureProxyRequiredLogger) Debugf(format string, args ...any) { function TestAuthProxyRequired (line 445) | func TestAuthProxyRequired(t *testing.T) { FILE: server/avl/norace_test.go function TestNoRaceSeqSetSizeComparison (line 33) | func TestNoRaceSeqSetSizeComparison(t *testing.T) { function TestNoRaceSeqSetEncodeLarge (line 81) | func TestNoRaceSeqSetEncodeLarge(t *testing.T) { function TestNoRaceSeqSetRelativeSpeed (line 122) | func TestNoRaceSeqSetRelativeSpeed(t *testing.T) { function friendlyBytes (line 182) | func friendlyBytes[T int | uint64 | int64](bytes T) string { function logResults (line 194) | func logResults(format string, args ...any) { FILE: server/avl/seqset.go type SequenceSet (line 33) | type SequenceSet struct method Insert (line 44) | func (ss *SequenceSet) Insert(seq uint64) { method Exists (line 52) | func (ss *SequenceSet) Exists(seq uint64) bool { method SetInitialMin (line 69) | func (ss *SequenceSet) SetInitialMin(min uint64) error { method Delete (line 80) | func (ss *SequenceSet) Delete(seq uint64) bool { method Size (line 97) | func (ss *SequenceSet) Size() int { method Nodes (line 102) | func (ss *SequenceSet) Nodes() int { method Empty (line 107) | func (ss *SequenceSet) Empty() { method IsEmpty (line 114) | func (ss *SequenceSet) IsEmpty() bool { method Range (line 124) | func (ss *SequenceSet) Range(f func(uint64) bool) { method Heights (line 129) | func (ss *SequenceSet) Heights() (l, r int) { method State (line 143) | func (ss *SequenceSet) State() (min, max, num uint64) { method MinMax (line 152) | func (ss *SequenceSet) MinMax() (min, max uint64) { method Clone (line 180) | func (ss *SequenceSet) Clone() *SequenceSet { method Union (line 191) | func (ss *SequenceSet) Union(ssa ...*SequenceSet) { method EncodeLen (line 238) | func (ss SequenceSet) EncodeLen() int { method Encode (line 242) | func (ss SequenceSet) Encode(buf []byte) []byte { method insertNode (line 376) | func (ss *SequenceSet) insertNode(n *node) { function clone (line 169) | func clone(src *node, target **node) { function Union (line 208) | func Union(ssa ...*SequenceSet) *SequenceSet { constant magic (line 228) | magic = uint8(22) constant version (line 230) | version = uint8(2) constant hdrLen (line 232) | hdrLen = 2 constant minLen (line 234) | minLen = 2 + 8 function Decode (line 282) | func Decode(buf []byte) (*SequenceSet, int, error) { function decodev2 (line 298) | func decodev2(buf []byte) (*SequenceSet, int, error) { function decodev1 (line 329) | func decodev1(buf []byte) (*SequenceSet, int, error) { constant bitsPerBucket (line 402) | bitsPerBucket = 64 constant numBuckets (line 403) | numBuckets = 32 constant numEntries (line 404) | numEntries = numBuckets * bitsPerBucket type node (line 407) | type node struct method set (line 418) | func (n *node) set(seq uint64, inserted *bool) { method insert (line 428) | func (n *node) insert(seq uint64, inserted *bool, nodes *int) *node { method rotateL (line 464) | func (n *node) rotateL() *node { method rotateR (line 478) | func (n *node) rotateR() *node { method clear (line 526) | func (n *node) clear(seq uint64, deleted *bool) bool { method delete (line 542) | func (n *node) delete(seq uint64, deleted *bool, nodes *int) *node { method insertNodePrev (line 588) | func (n *node) insertNodePrev(nn *node) *node { method exists (line 613) | func (n *node) exists(seq uint64) bool { method min (line 622) | func (n *node) min() uint64 { method max (line 635) | func (n *node) max() uint64 { method nodeIter (line 647) | func (n *node) nodeIter(f func(n *node)) { method iter (line 658) | func (n *node) iter(f func(uint64) bool) bool { function balanceF (line 492) | func balanceF(n *node) int { function maxH (line 506) | func maxH(n *node) int { FILE: server/avl/seqset_test.go function TestSeqSetBasics (line 22) | func TestSeqSetBasics(t *testing.T) { function TestSeqSetLeftLean (line 38) | func TestSeqSetLeftLean(t *testing.T) { function TestSeqSetRightLean (line 52) | func TestSeqSetRightLean(t *testing.T) { function TestSeqSetCorrectness (line 66) | func TestSeqSetCorrectness(t *testing.T) { function TestSeqSetRange (line 85) | func TestSeqSetRange(t *testing.T) { function TestSeqSetDelete (line 123) | func TestSeqSetDelete(t *testing.T) { function TestSeqSetInsertAndDeletePedantic (line 139) | func TestSeqSetInsertAndDeletePedantic(t *testing.T) { function TestSeqSetMinMax (line 181) | func TestSeqSetMinMax(t *testing.T) { function TestSeqSetClone (line 210) | func TestSeqSetClone(t *testing.T) { function TestSeqSetUnion (line 225) | func TestSeqSetUnion(t *testing.T) { function TestSeqSetFirst (line 247) | func TestSeqSetFirst(t *testing.T) { function TestSeqSetDistinctUnion (line 265) | func TestSeqSetDistinctUnion(t *testing.T) { function TestSeqSetDecodeV1 (line 289) | func TestSeqSetDecodeV1(t *testing.T) { function require_NoError (line 308) | func require_NoError(t *testing.T, err error) { function require_True (line 315) | func require_True(t *testing.T, b bool) { FILE: server/benchmark_publish_test.go function BenchmarkPublish (line 25) | func BenchmarkPublish(b *testing.B) { FILE: server/certidp/certidp.go constant DefaultAllowedClockSkew (line 30) | DefaultAllowedClockSkew = 30 * time.Second constant DefaultOCSPResponderTimeout (line 31) | DefaultOCSPResponderTimeout = 2 * time.Second constant DefaultTTLUnsetNextUpdate (line 32) | DefaultTTLUnsetNextUpdate = 1 * time.Hour type StatusAssertion (line 35) | type StatusAssertion method MarshalJSON (line 70) | func (sa StatusAssertion) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 81) | func (sa *StatusAssertion) UnmarshalJSON(in []byte) error { function GetStatusAssertionStr (line 56) | func GetStatusAssertionStr(sa int) string { type ChainLink (line 93) | type ChainLink struct type OCSPPeerConfig (line 100) | type OCSPPeerConfig struct function NewOCSPPeerConfig (line 110) | func NewOCSPPeerConfig() *OCSPPeerConfig { type Log (line 123) | type Log struct type CertInfo (line 131) | type CertInfo struct function GenerateFingerprint (line 179) | func GenerateFingerprint(cert *x509.Certificate) string { function getWebEndpoints (line 184) | func getWebEndpoints(uris []string) []*url.URL { function GetSubjectDNForm (line 203) | func GetSubjectDNForm(cert *x509.Certificate) string { function GetIssuerDNForm (line 212) | func GetIssuerDNForm(cert *x509.Certificate) string { function CertOCSPEligible (line 221) | func CertOCSPEligible(link *ChainLink) bool { function GetLeafIssuerCert (line 237) | func GetLeafIssuerCert(chain []*x509.Certificate, leafPos int) *x509.Cer... function OCSPResponseCurrent (line 250) | func OCSPResponseCurrent(ocspr *ocsp.Response, opts *OCSPPeerConfig, log... function ValidDelegationCheck (line 288) | func ValidDelegationCheck(iss *x509.Certificate, ocspr *ocsp.Response) b... FILE: server/certidp/certidp_test.go function TestGetStatusAssertionStr (line 19) | func TestGetStatusAssertionStr(t *testing.T) { FILE: server/certidp/ocsp_responder.go function FetchOCSPResponse (line 29) | func FetchOCSPResponse(link *ChainLink, opts *OCSPPeerConfig, log *Log) ... function encodeOCSPRequest (line 89) | func encodeOCSPRequest(reqDER []byte) string { FILE: server/certidp/ocsp_responder_test.go function TestEncodeOCSPRequest (line 10) | func TestEncodeOCSPRequest(t *testing.T) { FILE: server/certstore/certstore.go type StoreType (line 24) | type StoreType constant MATCHBYEMPTY (line 26) | MATCHBYEMPTY = 0 constant STOREEMPTY (line 27) | STOREEMPTY = 0 constant windowsCurrentUser (line 30) | windowsCurrentUser StoreType = iota + 1 constant windowsLocalMachine (line 31) | windowsLocalMachine type MatchByType (line 44) | type MatchByType constant matchByIssuer (line 47) | matchByIssuer MatchByType = iota + 1 constant matchBySubject (line 48) | matchBySubject constant matchByThumbprint (line 49) | matchByThumbprint function ParseCertStore (line 68) | func ParseCertStore(certStore string) (StoreType, error) { function ParseCertMatchBy (line 80) | func ParseCertMatchBy(certMatchBy string) (MatchByType, error) { function GetLeafIssuer (line 88) | func GetLeafIssuer(leaf *x509.Certificate, vOpts x509.VerifyOptions) (is... type credential (line 99) | type credential interface FILE: server/certstore/certstore_other.go type otherKey (line 27) | type otherKey struct method Public (line 34) | func (k otherKey) Public() crypto.PublicKey { method Sign (line 39) | func (k otherKey) Sign(rand io.Reader, digest []byte, opts crypto.Sign... function TLSConfig (line 29) | func TLSConfig(_ StoreType, _ MatchByType, _ string, _ []string, _ bool,... FILE: server/certstore/certstore_windows.go constant winAcquireCached (line 44) | winAcquireCached = windows.CRYPT_ACQUIRE_CACHE_FLAG constant winAcquireSilent (line 45) | winAcquireSilent = windows.CRYPT_ACQUIRE_SILENT_FLAG constant winAcquireOnlyNCryptKey (line 46) | winAcquireOnlyNCryptKey = windows.CRYPT_ACQUIRE_ONLY_NCRYPT_KEY_FLAG constant winEncodingX509ASN (line 47) | winEncodingX509ASN = windows.X509_ASN_ENCODING constant winEncodingPKCS7 (line 48) | winEncodingPKCS7 = windows.PKCS_7_ASN_ENCODING constant winCertStoreProvSystem (line 49) | winCertStoreProvSystem = windows.CERT_STORE_PROV_SYSTEM constant winCertStoreCurrentUser (line 50) | winCertStoreCurrentUser = windows.CERT_SYSTEM_STORE_CURRENT_USER constant winCertStoreLocalMachine (line 51) | winCertStoreLocalMachine = windows.CERT_SYSTEM_STORE_LOCAL_MACHINE constant winCertStoreReadOnly (line 52) | winCertStoreReadOnly = windows.CERT_STORE_READONLY_FLAG constant winInfoIssuerFlag (line 53) | winInfoIssuerFlag = windows.CERT_INFO_ISSUER_FLAG constant winInfoSubjectFlag (line 54) | winInfoSubjectFlag = windows.CERT_INFO_SUBJECT_FLAG constant winCompareNameStrW (line 55) | winCompareNameStrW = windows.CERT_COMPARE_NAME_STR_W constant winCompareShift (line 56) | winCompareShift = windows.CERT_COMPARE_SHIFT constant winFindIssuerStr (line 59) | winFindIssuerStr = windows.CERT_FIND_ISSUER_STR_W constant winFindSubjectStr (line 60) | winFindSubjectStr = windows.CERT_FIND_SUBJECT_STR_W constant winFindHashStr (line 61) | winFindHashStr = windows.CERT_FIND_HASH_STR constant winNcryptKeySpec (line 63) | winNcryptKeySpec = windows.CERT_NCRYPT_KEY_SPEC constant winBCryptPadPKCS1 (line 65) | winBCryptPadPKCS1 uintptr = 0x2 constant winBCryptPadPSS (line 66) | winBCryptPadPSS uintptr = 0x8 constant winBCryptPadPSSSalt (line 67) | winBCryptPadPSSSalt uint32 = 32 constant winRSA1Magic (line 69) | winRSA1Magic = 0x31415352 constant winECS1Magic (line 71) | winECS1Magic = 0x31534345 constant winECS3Magic (line 72) | winECS3Magic = 0x33534345 constant winECS5Magic (line 73) | winECS5Magic = 0x35534345 constant winECK1Magic (line 75) | winECK1Magic = 0x314B4345 constant winECK3Magic (line 76) | winECK3Magic = 0x334B4345 constant winECK5Magic (line 77) | winECK5Magic = 0x354B4345 constant winCryptENotFound (line 79) | winCryptENotFound = windows.CRYPT_E_NOT_FOUND constant providerMSSoftware (line 81) | providerMSSoftware = "Microsoft Software Key Storage Provider" function init (line 141) | func init() { type winPKCS1PaddingInfo (line 160) | type winPKCS1PaddingInfo struct type winPSSPaddingInfo (line 164) | type winPSSPaddingInfo struct function createCACertsPool (line 173) | func createCACertsPool(cs *winCertStore, storeType uint32, caCertsMatch ... function TLSConfig (line 202) | func TLSConfig(certStore StoreType, certMatchBy MatchByType, certMatch s... function winWide (line 301) | func winWide(s string) *uint16 { function winOpenProvider (line 308) | func winOpenProvider(provider string) (uintptr, error) { function winFindCert (line 321) | func winFindCert(store windows.Handle, enc, findFlags, findType uint32, ... function winVerifyCertValid (line 342) | func winVerifyCertValid(timeToVerify *windows.Filetime, certInfo *window... type winCertStore (line 352) | type winCertStore struct method certByIssuer (line 390) | func (w *winCertStore) certByIssuer(issuer string, storeType uint32, s... method certBySubject (line 398) | func (w *winCertStore) certBySubject(subject string, storeType uint32,... method certByThumbprint (line 406) | func (w *winCertStore) certByThumbprint(hash string, storeType uint32,... method caCertsBySubjectMatch (line 419) | func (w *winCertStore) caCertsBySubjectMatch(subject string, storeType... method certSearch (line 453) | func (w *winCertStore) certSearch(searchType uint32, matchValue string... method certKey (line 697) | func (w *winCertStore) certKey(cert *windows.CertContext) (*winKey, er... method storeHandle (line 949) | func (w *winCertStore) storeHandle(provider uint32, store *uint16) (wi... function winOpenCertStore (line 360) | func winOpenCertStore(provider string) (*winCertStore, error) { function winCertContextToX509 (line 377) | func winCertContextToX509(ctx *windows.CertContext) (*x509.Certificate, ... type winStoreHandle (line 505) | type winStoreHandle struct function winNewStoreHandle (line 509) | func winNewStoreHandle(provider uint32, store *uint16) (*winStoreHandle,... type winKey (line 528) | type winKey struct method Public (line 536) | func (k winKey) Public() crypto.PublicKey { method Sign (line 541) | func (k winKey) Sign(_ io.Reader, digest []byte, opts crypto.SignerOpt... function winSignECDSA (line 562) | func winSignECDSA(kh uintptr, digest []byte) ([]byte, error) { function winPackECDSASigValue (line 599) | func winPackECDSASigValue(r io.Reader, digestLength int) ([]byte, error) { function winSignRSAPKCS1Padding (line 618) | func winSignRSAPKCS1Padding(kh uintptr, digest []byte, algID *uint16) ([... function winSignRSAPSSPadding (line 654) | func winSignRSAPSSPadding(kh uintptr, digest []byte, algID *uint16) ([]b... function winKeyMetadata (line 729) | func winKeyMetadata(kh uintptr) (*winKey, error) { function winGetProperty (line 772) | func winGetProperty(kh uintptr, property *uint16) ([]byte, error) { function winGetPropertyStr (line 802) | func winGetPropertyStr(kh uintptr, property *uint16) (string, error) { function winExport (line 811) | func winExport(kh uintptr, blobType *uint16) ([]byte, error) { function unmarshalECC (line 844) | func unmarshalECC(buf []byte, kh uintptr) (*ecdsa.PublicKey, error) { function winCurveName (line 889) | func winCurveName(kh uintptr) (elliptic.Curve, error) { function winUnmarshalRSA (line 903) | func winUnmarshalRSA(buf []byte) (*rsa.PublicKey, error) { FILE: server/certstore_windows_test.go function runPowershellScript (line 31) | func runPowershellScript(scriptFile string, args []string) error { function runConfiguredLeaf (line 48) | func runConfiguredLeaf(t *testing.T, hubPort int, certStore string, matc... function TestLeafTLSWindowsCertStore (line 94) | func TestLeafTLSWindowsCertStore(t *testing.T) { function TestServerTLSWindowsCertStore (line 191) | func TestServerTLSWindowsCertStore(t *testing.T) { function TestServerIgnoreExpiredCerts (line 261) | func TestServerIgnoreExpiredCerts(t *testing.T) { function TestWindowsTLS12ECDSA (line 312) | func TestWindowsTLS12ECDSA(t *testing.T) { FILE: server/ciphersuites.go function init (line 21) | func init() { function defaultCipherSuites (line 35) | func defaultCipherSuites() []uint16 { function defaultCurvePreferences (line 55) | func defaultCurvePreferences() []tls.CurveID { FILE: server/client.go constant CLIENT (line 47) | CLIENT = iota constant ROUTER (line 49) | ROUTER constant GATEWAY (line 51) | GATEWAY constant SYSTEM (line 53) | SYSTEM constant LEAF (line 55) | LEAF constant JETSTREAM (line 57) | JETSTREAM constant ACCOUNT (line 59) | ACCOUNT function isInternalClient (line 63) | func isInternalClient(kind int) bool { constant NON_CLIENT (line 72) | NON_CLIENT = iota constant NATS (line 74) | NATS constant MQTT (line 76) | MQTT constant WS (line 78) | WS constant ClientProtoZero (line 84) | ClientProtoZero = iota constant ClientProtoInfo (line 87) | ClientProtoInfo constant pingProto (line 91) | pingProto = "PING" + _CRLF_ constant pongProto (line 92) | pongProto = "PONG" + _CRLF_ constant errProto (line 93) | errProto = "-ERR '%s'" + _CRLF_ constant okProto (line 94) | okProto = "+OK" + _CRLF_ constant tlsHandshakeLeaf (line 99) | tlsHandshakeLeaf = "leafnode" constant tlsHandshakeMQTT (line 100) | tlsHandshakeMQTT = "mqtt" constant msgScratchSize (line 105) | msgScratchSize = 1024 constant msgHeadProto (line 106) | msgHeadProto = "RMSG " constant msgHeadProtoLen (line 107) | msgHeadProtoLen = len(msgHeadProto) constant startBufSize (line 110) | startBufSize = 512 constant minBufSize (line 111) | minBufSize = 64 constant maxBufSize (line 112) | maxBufSize = 65536 constant shortsToShrink (line 113) | shortsToShrink = 2 constant maxFlushPending (line 114) | maxFlushPending = 10 constant readLoopReport (line 115) | readLoopReport = 2 * time.Second constant maxNoRTTPingBeforeFirstPong (line 121) | maxNoRTTPingBeforeFirstPong = 2 * time.Second constant stallClientMinDuration (line 124) | stallClientMinDuration = 2 * time.Millisecond constant stallClientMaxDuration (line 125) | stallClientMaxDuration = 5 * time.Millisecond constant stallTotalAllowed (line 126) | stallTotalAllowed = 10 * time.Millisecond type clientFlag (line 132) | type clientFlag method set (line 159) | func (cf *clientFlag) set(c clientFlag) { method clear (line 164) | func (cf *clientFlag) clear(c clientFlag) { method isSet (line 169) | func (cf clientFlag) isSet(c clientFlag) bool { method setIfNotSet (line 176) | func (cf *clientFlag) setIfNotSet(c clientFlag) bool { constant hdrLine (line 135) | hdrLine = "NATS/1.0\r\n" constant emptyHdrLine (line 136) | emptyHdrLine = "NATS/1.0\r\n\r\n" constant connectReceived (line 141) | connectReceived clientFlag = 1 << iota constant infoReceived (line 142) | infoReceived constant firstPongSent (line 143) | firstPongSent constant handshakeComplete (line 144) | handshakeComplete constant flushOutbound (line 145) | flushOutbound constant noReconnect (line 146) | noReconnect constant closeConnection (line 147) | closeConnection constant connMarkedClosed (line 148) | connMarkedClosed constant writeLoopStarted (line 149) | writeLoopStarted constant skipFlushOnClose (line 150) | skipFlushOnClose constant expectConnect (line 151) | expectConnect constant connectProcessFinished (line 152) | connectProcessFinished constant compressionNegotiated (line 153) | compressionNegotiated constant didTLSFirst (line 154) | didTLSFirst constant isSlowConsumer (line 155) | isSlowConsumer type ClosedState (line 187) | type ClosedState constant ClientClosed (line 190) | ClientClosed = ClosedState(iota + 1) constant AuthenticationTimeout (line 191) | AuthenticationTimeout constant AuthenticationViolation (line 192) | AuthenticationViolation constant TLSHandshakeError (line 193) | TLSHandshakeError constant SlowConsumerPendingBytes (line 194) | SlowConsumerPendingBytes constant SlowConsumerWriteDeadline (line 195) | SlowConsumerWriteDeadline constant WriteError (line 196) | WriteError constant ReadError (line 197) | ReadError constant ParseError (line 198) | ParseError constant StaleConnection (line 199) | StaleConnection constant ProtocolViolation (line 200) | ProtocolViolation constant BadClientProtocolVersion (line 201) | BadClientProtocolVersion constant WrongPort (line 202) | WrongPort constant MaxAccountConnectionsExceeded (line 203) | MaxAccountConnectionsExceeded constant MaxConnectionsExceeded (line 204) | MaxConnectionsExceeded constant MaxPayloadExceeded (line 205) | MaxPayloadExceeded constant MaxControlLineExceeded (line 206) | MaxControlLineExceeded constant MaxSubscriptionsExceeded (line 207) | MaxSubscriptionsExceeded constant DuplicateRoute (line 208) | DuplicateRoute constant RouteRemoved (line 209) | RouteRemoved constant ServerShutdown (line 210) | ServerShutdown constant AuthenticationExpired (line 211) | AuthenticationExpired constant WrongGateway (line 212) | WrongGateway constant MissingAccount (line 213) | MissingAccount constant Revocation (line 214) | Revocation constant InternalClient (line 215) | InternalClient constant MsgHeaderViolation (line 216) | MsgHeaderViolation constant NoRespondersRequiresHeaders (line 217) | NoRespondersRequiresHeaders constant ClusterNameConflict (line 218) | ClusterNameConflict constant DuplicateRemoteLeafnodeConnection (line 219) | DuplicateRemoteLeafnodeConnection constant DuplicateClientID (line 220) | DuplicateClientID constant DuplicateServerName (line 221) | DuplicateServerName constant MinimumVersionRequired (line 222) | MinimumVersionRequired constant ClusterNamesIdentical (line 223) | ClusterNamesIdentical constant Kicked (line 224) | Kicked constant ProxyNotTrusted (line 225) | ProxyNotTrusted constant ProxyRequired (line 226) | ProxyRequired constant pmrNoFlag (line 230) | pmrNoFlag int = 0 constant pmrCollectQueueNames (line 232) | pmrCollectQueueNames int = 1 << iota constant pmrIgnoreEmptyQueueFilter (line 233) | pmrIgnoreEmptyQueueFilter constant pmrAllowSendFromRouteToRoute (line 234) | pmrAllowSendFromRouteToRoute constant pmrMsgImportedFromService (line 235) | pmrMsgImportedFromService type WriteTimeoutPolicy (line 238) | type WriteTimeoutPolicy method String (line 247) | func (p WriteTimeoutPolicy) String() string { constant WriteTimeoutPolicyDefault (line 241) | WriteTimeoutPolicyDefault = iota constant WriteTimeoutPolicyClose (line 242) | WriteTimeoutPolicyClose constant WriteTimeoutPolicyRetry (line 243) | WriteTimeoutPolicyRetry type client (line 258) | type client struct method String (line 546) | func (c *client) String() (id string) { method GetNonce (line 556) | func (c *client) GetNonce() []byte { method GetName (line 564) | func (c *client) GetName() string { method GetOpts (line 572) | func (c *client) GetOpts() *ClientOpts { method GetTLSConnectionState (line 578) | func (c *client) GetTLSConnectionState() *tls.ConnectionState { method clientType (line 598) | func (c *client) clientType() int { method clientTypeString (line 619) | func (c *client) clientTypeString() string { method setTraceLevel (line 694) | func (c *client) setTraceLevel() { method initClient (line 703) | func (c *client) initClient() { method RemoteAddress (line 821) | func (c *client) RemoteAddress() net.Addr { method reportErrRegisterAccount (line 833) | func (c *client) reportErrRegisterAccount(acc *Account, err error) { method Kind (line 843) | func (c *client) Kind() int { method registerWithAccount (line 853) | func (c *client) registerWithAccount(acc *Account) error { method subsAtLimit (line 904) | func (c *client) subsAtLimit() bool { method applyAccountLimits (line 927) | func (c *client) applyAccountLimits() { method RegisterUser (line 985) | func (c *client) RegisterUser(user *User) { method RegisterNkeyUser (line 1022) | func (c *client) RegisterNkeyUser(user *NkeyUser) error { method setPermissions (line 1059) | func (c *client) setPermissions(perms *Permissions) { method publicPermissions (line 1133) | func (c *client) publicPermissions() *Permissions { method mergeDenyPermissions (line 1196) | func (c *client) mergeDenyPermissions(what denyType, denyPubs []string) { method mergeDenyPermissionsLocked (line 1239) | func (c *client) mergeDenyPermissionsLocked(what denyType, denyPubs []... method setExpiration (line 1247) | func (c *client) setExpiration(claims *jwt.ClaimsData, validFor time.D... method loadMsgDenyFilter (line 1269) | func (c *client) loadMsgDenyFilter() { method writeLoop (line 1278) | func (c *client) writeLoop() { method flushClients (line 1328) | func (c *client) flushClients(budget time.Duration) time.Time { method readLoop (line 1362) | func (c *client) readLoop(pre []byte) { method collapsePtoNB (line 1609) | func (c *client) collapsePtoNB() (net.Buffers, int64) { method flushOutbound (line 1619) | func (c *client) flushOutbound() bool { method handleWriteTimeout (line 1845) | func (c *client) handleWriteTimeout(written, attempted int64, numChunk... method markConnAsClosed (line 1909) | func (c *client) markConnAsClosed(reason ClosedState) { method flushSignal (line 1999) | func (c *client) flushSignal() { method traceMsgInternal (line 2008) | func (c *client) traceMsgInternal(msg []byte, delivered bool, hdrSize ... method traceMsg (line 2050) | func (c *client) traceMsg(msg []byte) { method traceMsgDelivery (line 2054) | func (c *client) traceMsgDelivery(msg []byte, hdrSize int) { method traceInOp (line 2060) | func (c *client) traceInOp(op string, arg []byte) { method traceOutOp (line 2066) | func (c *client) traceOutOp(op string, arg []byte) { method traceOp (line 2070) | func (c *client) traceOp(format, op string, arg []byte) { method processInfo (line 2082) | func (c *client) processInfo(arg []byte) error { method processErr (line 2098) | func (c *client) processErr(errStr string) { method processConnect (line 2166) | func (c *client) processConnect(arg []byte) error { method sendErrAndErr (line 2372) | func (c *client) sendErrAndErr(err string) { method sendErrAndDebug (line 2377) | func (c *client) sendErrAndDebug(err string) { method authTimeout (line 2382) | func (c *client) authTimeout() { method authExpired (line 2387) | func (c *client) authExpired() { method accountAuthExpired (line 2392) | func (c *client) accountAuthExpired() { method authViolation (line 2397) | func (c *client) authViolation() { method maxAccountConnExceeded (line 2422) | func (c *client) maxAccountConnExceeded() { method maxConnExceeded (line 2427) | func (c *client) maxConnExceeded() { method maxSubsExceeded (line 2432) | func (c *client) maxSubsExceeded() { method maxPayloadViolation (line 2439) | func (c *client) maxPayloadViolation(sz int, max int32) { method queueOutbound (line 2447) | func (c *client) queueOutbound(data []byte) { method enqueueProtoAndFlush (line 2515) | func (c *client) enqueueProtoAndFlush(proto []byte, doFlush bool) { method sendProtoNow (line 2528) | func (c *client) sendProtoNow(proto []byte) { method enqueueProto (line 2534) | func (c *client) enqueueProto(proto []byte) { method sendPong (line 2539) | func (c *client) sendPong() { method sendRTTPing (line 2547) | func (c *client) sendRTTPing() bool { method sendRTTPingLocked (line 2558) | func (c *client) sendRTTPingLocked() bool { method sendPing (line 2576) | func (c *client) sendPing() { method generateClientInfoJSON (line 2588) | func (c *client) generateClientInfoJSON(info Info, includeClientIP boo... method sendErr (line 2607) | func (c *client) sendErr(err string) { method sendOK (line 2618) | func (c *client) sendOK() { method processPing (line 2627) | func (c *client) processPing() { method processPong (line 2679) | func (c *client) processPong() { method updateS2AutoCompressionLevel (line 2720) | func (c *client) updateS2AutoCompressionLevel(co *CompressionOpts, com... method msgParts (line 2734) | func (c *client) msgParts(data []byte) (hdr []byte, msg []byte) { method processHeaderPub (line 2742) | func (c *client) processHeaderPub(arg, remaining []byte) error { method processPub (line 2820) | func (c *client) processPub(arg []byte) error { method parseSub (line 2896) | func (c *client) parseSub(argo []byte, noForward bool) error { method processSub (line 2925) | func (c *client) processSub(subject, queue, bsid []byte, cb msgHandler... method processSubEx (line 2929) | func (c *client) processSubEx(subject, queue, bsid []byte, cb msgHandl... method addShadowSubscriptions (line 3055) | func (c *client) addShadowSubscriptions(acc *Account, sub *subscriptio... method addShadowSub (line 3175) | func (c *client) addShadowSub(sub *subscription, ime *ime) (*subscript... method canSubscribe (line 3228) | func (c *client) canSubscribe(subject string, optQueue ...string) bool { method unsubscribe (line 3308) | func (c *client) unsubscribe(acc *Account, sub *subscription, force, r... method processUnsub (line 3364) | func (c *client) processUnsub(arg []byte) error { method checkDenySub (line 3429) | func (c *client) checkDenySub(subject string) bool { method msgHeaderForRouteOrLeaf (line 3445) | func (c *client) msgHeaderForRouteOrLeaf(subj, reply []byte, rt *route... method msgHeader (line 3532) | func (c *client) msgHeader(subj, reply []byte, sub *subscription) []by... method stalledWait (line 3573) | func (c *client) stalledWait(producer *client) { method deliverMsg (line 3618) | func (c *client) deliverMsg(prodIsMQTT bool, sub *subscription, acc *A... method addToPCD (line 3903) | func (c *client) addToPCD(client *client) { method trackRemoteReply (line 3913) | func (c *client) trackRemoteReply(subject, reply string) { method pruneRemoteTracking (line 3954) | func (c *client) pruneRemoteTracking() { method pruneReplyPerms (line 3979) | func (c *client) pruneReplyPerms() { method pruneDenyCache (line 4005) | func (c *client) pruneDenyCache() { method prunePubPermsCache (line 4017) | func (c *client) prunePubPermsCache() { method pubAllowed (line 4050) | func (c *client) pubAllowed(subject string) bool { method pubAllowedFullCheck (line 4056) | func (c *client) pubAllowedFullCheck(subject string, fullCheck, hasLoc... method processInboundMsg (line 4137) | func (c *client) processInboundMsg(msg []byte) { method selectMappedSubject (line 4151) | func (c *client) selectMappedSubject() bool { method processInboundClientMsg (line 4167) | func (c *client) processInboundClientMsg(msg []byte) (bool, bool) { method subForReply (line 4346) | func (c *client) subForReply(reply []byte) *subscription { method handleGWReplyMap (line 4359) | func (c *client) handleGWReplyMap(msg []byte) bool { method setupResponseServiceImport (line 4378) | func (c *client) setupResponseServiceImport(acc *Account, si *serviceI... method setHeader (line 4460) | func (c *client) setHeader(key, value string, msg []byte) []byte { method processServiceImport (line 4644) | func (c *client) processServiceImport(si *serviceImport, acc *Account,... method addSubToRouteTargets (line 4897) | func (c *client) addSubToRouteTargets(sub *subscription) { method processMsgResults (line 4934) | func (c *client) processMsgResults(acc *Account, r *SublistResult, msg... method checkLeafClientInfoHeader (line 5475) | func (c *client) checkLeafClientInfoHeader(msg []byte) (dmsg []byte, s... method pubPermissionViolation (line 5501) | func (c *client) pubPermissionViolation(subject []byte) { method subPermissionViolation (line 5510) | func (c *client) subPermissionViolation(sub *subscription) { method replySubjectViolation (line 5523) | func (c *client) replySubjectViolation(reply []byte) { method maxTokensViolation (line 5532) | func (c *client) maxTokensViolation(sub *subscription) { method processPingTimer (line 5539) | func (c *client) processPingTimer() { method watchForStaleConnection (line 5622) | func (c *client) watchForStaleConnection(pingInterval time.Duration, p... method setPingTimer (line 5633) | func (c *client) setPingTimer() { method clearPingTimer (line 5650) | func (c *client) clearPingTimer() { method clearTlsToTimer (line 5658) | func (c *client) clearTlsToTimer() { method setAuthTimer (line 5667) | func (c *client) setAuthTimer(d time.Duration) { method clearAuthTimer (line 5672) | func (c *client) clearAuthTimer() bool { method awaitingAuth (line 5684) | func (c *client) awaitingAuth() bool { method setExpirationTimer (line 5690) | func (c *client) setExpirationTimer(d time.Duration) { method setExpirationTimerUnlocked (line 5697) | func (c *client) setExpirationTimerUnlocked(d time.Duration) { method claimExpiration (line 5706) | func (c *client) claimExpiration() time.Duration { method flushAndClose (line 5719) | func (c *client) flushAndClose(minimalFlush bool) { method kindString (line 5773) | func (c *client) kindString() string { method swapAccountAfterReload (line 5783) | func (c *client) swapAccountAfterReload() { method processSubsOnConfigReload (line 5802) | func (c *client) processSubsOnConfigReload(awcsti map[string]struct{}) { method closeConnection (line 5870) | func (c *client) closeConnection(reason ClosedState) { method reconnect (line 6019) | func (c *client) reconnect() { method setNoReconnect (line 6114) | func (c *client) setNoReconnect() { method getRTTValue (line 6121) | func (c *client) getRTTValue() time.Duration { method getAccAndResultFromCache (line 6134) | func (c *client) getAccAndResultFromCache() (*Account, *SublistResult) { method Account (line 6206) | func (c *client) Account() *Account { method pruneClosedSubFromPerAccountCache (line 6218) | func (c *client) pruneClosedSubFromPerAccountCache() { method addServerAndClusterInfo (line 6250) | func (c *client) addServerAndClusterInfo(ci *ClientInfo) { method getClientInfo (line 6277) | func (c *client) getClientInfo(detailed bool) *ClientInfo { method doTLSServerHandshake (line 6313) | func (c *client) doTLSServerHandshake(typ string, tlsConfig *tls.Confi... method doTLSClientHandshake (line 6318) | func (c *client) doTLSClientHandshake(typ string, url *url.URL, tlsCon... method doTLSHandshake (line 6327) | func (c *client) doTLSHandshake(typ string, solicit bool, url *url.URL... method getRawAuthUserLock (line 6431) | func (c *client) getRawAuthUserLock() string { method getRawAuthUser (line 6439) | func (c *client) getRawAuthUser() string { method getAuthUser (line 6456) | func (c *client) getAuthUser() string { method getAuthUserLabel (line 6472) | func (c *client) getAuthUserLabel() string { method connectionTypeAllowed (line 6521) | func (c *client) connectionTypeAllowed(acts map[string]struct{}) bool { method isClosed (line 6558) | func (c *client) isClosed() bool { method format (line 6562) | func (c *client) format(format string) string { method formatNoClientInfo (line 6570) | func (c *client) formatNoClientInfo(format string) string { method formatClientSuffix (line 6579) | func (c *client) formatClientSuffix() string { method Error (line 6588) | func (c *client) Error(err error) { method Errorf (line 6592) | func (c *client) Errorf(format string, v ...any) { method Debugf (line 6596) | func (c *client) Debugf(format string, v ...any) { method Noticef (line 6600) | func (c *client) Noticef(format string, v ...any) { method Tracef (line 6604) | func (c *client) Tracef(format string, v ...any) { method Warnf (line 6608) | func (c *client) Warnf(format string, v ...any) { method RateLimitErrorf (line 6612) | func (c *client) RateLimitErrorf(format string, v ...any) { method rateLimitFormatWarnf (line 6625) | func (c *client) rateLimitFormatWarnf(format string, v ...any) { method RateLimitWarnf (line 6639) | func (c *client) RateLimitWarnf(format string, v ...any) { method RateLimitDebugf (line 6652) | func (c *client) RateLimitDebugf(format string, v ...any) { method setFirstPingTimer (line 6668) | func (c *client) setFirstPingTimer() { method setAuthError (line 6707) | func (c *client) setAuthError(err error) { method getAuthError (line 6714) | func (c *client) getAuthError() error { type rrTracking (line 335) | type rrTracking struct type pinfo (line 342) | type pinfo struct type outbound (line 348) | type outbound struct constant nbMaxVectorSize (line 362) | nbMaxVectorSize = 1024 constant nbPoolSizeSmall (line 364) | nbPoolSizeSmall = 512 constant nbPoolSizeMedium (line 365) | nbPoolSizeMedium = 4096 constant nbPoolSizeLarge (line 366) | nbPoolSizeLarge = 65536 function nbPoolGet (line 392) | func nbPoolGet(sz int) []byte { function nbPoolPut (line 407) | func nbPoolPut(b []byte) { type perm (line 424) | type perm struct type permissions (line 429) | type permissions struct type resp (line 441) | type resp struct type msgDeny (line 450) | type msgDeny struct type routeTarget (line 457) | type routeTarget struct constant maxResultCacheSize (line 464) | maxResultCacheSize = 512 constant maxDenyPermCacheSize (line 465) | maxDenyPermCacheSize = 256 constant maxPermCacheSize (line 466) | maxPermCacheSize = 128 constant pruneSize (line 467) | pruneSize = 32 constant routeTargetInit (line 468) | routeTargetInit = 8 constant replyPermLimit (line 469) | replyPermLimit = 4096 constant replyPruneTime (line 470) | replyPruneTime = time.Second type readCacheFlag (line 474) | type readCacheFlag method set (line 515) | func (rcf *readCacheFlag) set(c readCacheFlag) { method clear (line 520) | func (rcf *readCacheFlag) clear(c readCacheFlag) { method isSet (line 525) | func (rcf readCacheFlag) isSet(c readCacheFlag) bool { constant hasMappings (line 477) | hasMappings readCacheFlag = 1 << iota constant switchToCompression (line 478) | switchToCompression readCacheFlag = 1 << 1 constant sysGroup (line 481) | sysGroup = "_sys_" type readCache (line 484) | type readCache struct constant defaultMaxPerAccountCacheSize (line 530) | defaultMaxPerAccountCacheSize = 8192 constant defaultClosedSubsCheckInterval (line 531) | defaultClosedSubsCheckInterval = 5 * time.Minute type perAccountCache (line 540) | type perAccountCache struct type subscription (line 630) | type subscription struct method close (line 650) | func (s *subscription) close() { method isClosed (line 656) | func (s *subscription) isClosed() bool { type ClientOpts (line 660) | type ClientOpts struct function minLimit (line 908) | func minLimit(value *int32, limit int32) bool { function splitSubjectQueue (line 1045) | func splitSubjectQueue(sq string) ([]byte, []byte, error) { type denyType (line 1186) | type denyType constant pub (line 1189) | pub = denyType(iota + 1) constant sub (line 1190) | sub constant both (line 1191) | both function closedStateForErr (line 1600) | func closedStateForErr(err error) ClosedState { function removeSecretsFromTrace (line 2128) | func removeSecretsFromTrace(arg []byte) []byte { function redact (line 2133) | func redact(pat *regexp.Regexp, proto []byte) []byte { function computeRTT (line 2157) | func computeRTT(start time.Time) time.Duration { function splitArg (line 2873) | func splitArg(arg []byte) [][]byte { type ime (line 3046) | type ime struct function queueMatches (line 3289) | func queueMatches(queue string, qsubs [][]*subscription) bool { function isServiceReply (line 4115) | func isServiceReply(reply []byte) bool { function isReservedReply (line 4122) | func isReservedReply(reply []byte) bool { function removeHeaderIfPresent (line 4393) | func removeHeaderIfPresent(hdr []byte, key string) []byte { function removeHeaderIfPrefixPresent (line 4414) | func removeHeaderIfPrefixPresent(hdr []byte, prefix string) []byte { function genHeader (line 4444) | func genHeader(hdr []byte, key, value string) []byte { function getHeader (line 4498) | func getHeader(key string, hdr []byte) []byte { function sliceHeader (line 4508) | func sliceHeader(key string, hdr []byte) []byte { function getHeaderKeyIndex (line 4536) | func getHeaderKeyIndex(key string, hdr []byte) int { function setHeader (line 4581) | func setHeader(key, val string, hdr []byte) []byte { function adjustPingInterval (line 5601) | func adjustPingInterval(kind int, d time.Duration) time.Duration { type qsub (line 5865) | type qsub struct method serviceAccount (line 6239) | func (ci *ClientInfo) serviceAccount() string { function convertAllowedConnectionTypes (line 6495) | func convertAllowedConnectionTypes(cts []string) (map[string]struct{}, e... FILE: server/client_proxyproto.go constant proxyProtoV2Sig (line 30) | proxyProtoV2Sig = "\x0D\x0A\x0D\x0A\x00\x0D\x0A\x51\x55\x49\x54\x0A" constant proxyProtoV2VerMask (line 33) | proxyProtoV2VerMask = 0xF0 constant proxyProtoV2Ver (line 34) | proxyProtoV2Ver = 0x20 constant proxyProtoCmdMask (line 37) | proxyProtoCmdMask = 0x0F constant proxyProtoCmdLocal (line 38) | proxyProtoCmdLocal = 0x00 constant proxyProtoCmdProxy (line 39) | proxyProtoCmdProxy = 0x01 constant proxyProtoFamilyMask (line 42) | proxyProtoFamilyMask = 0xF0 constant proxyProtoFamilyUnspec (line 43) | proxyProtoFamilyUnspec = 0x00 constant proxyProtoFamilyInet (line 44) | proxyProtoFamilyInet = 0x10 constant proxyProtoFamilyInet6 (line 45) | proxyProtoFamilyInet6 = 0x20 constant proxyProtoFamilyUnix (line 46) | proxyProtoFamilyUnix = 0x30 constant proxyProtoProtoMask (line 47) | proxyProtoProtoMask = 0x0F constant proxyProtoProtoUnspec (line 48) | proxyProtoProtoUnspec = 0x00 constant proxyProtoProtoStream (line 49) | proxyProtoProtoStream = 0x01 constant proxyProtoProtoDatagram (line 50) | proxyProtoProtoDatagram = 0x02 constant proxyProtoAddrSizeIPv4 (line 53) | proxyProtoAddrSizeIPv4 = 12 constant proxyProtoAddrSizeIPv6 (line 54) | proxyProtoAddrSizeIPv6 = 36 constant proxyProtoV2HeaderSize (line 57) | proxyProtoV2HeaderSize = 16 constant proxyProtoReadTimeout (line 60) | proxyProtoReadTimeout = 5 * time.Second constant proxyProtoV1Prefix (line 65) | proxyProtoV1Prefix = "PROXY " constant proxyProtoV1MaxLineLen (line 66) | proxyProtoV1MaxLineLen = 107 constant proxyProtoV1TCP4 (line 67) | proxyProtoV1TCP4 = "TCP4" constant proxyProtoV1TCP6 (line 68) | proxyProtoV1TCP6 = "TCP6" constant proxyProtoV1Unknown (line 69) | proxyProtoV1Unknown = "UNKNOWN" type proxyProtoAddr (line 81) | type proxyProtoAddr struct method String (line 89) | func (p *proxyProtoAddr) String() string { method Network (line 94) | func (p *proxyProtoAddr) Network() string { type proxyConn (line 103) | type proxyConn struct method RemoteAddr (line 109) | func (pc *proxyConn) RemoteAddr() net.Addr { function detectProxyProtoVersion (line 116) | func detectProxyProtoVersion(conn net.Conn) (version int, header []byte,... function readProxyProtoV1Header (line 136) | func readProxyProtoV1Header(conn net.Conn) (*proxyProtoAddr, []byte, err... function readProxyProtoHeader (line 232) | func readProxyProtoHeader(conn net.Conn) (*proxyProtoAddr, []byte, error) { function readProxyProtoV2Header (line 281) | func readProxyProtoV2Header(conn net.Conn) (*proxyProtoAddr, error) { function parseProxyProtoV2Header (line 308) | func parseProxyProtoV2Header(conn net.Conn, header []byte) (*proxyProtoA... function parseIPv4Addr (line 372) | func parseIPv4Addr(conn net.Conn, addrLen uint16) (*proxyProtoAddr, erro... function parseIPv6Addr (line 390) | func parseIPv6Addr(conn net.Conn, addrLen uint16) (*proxyProtoAddr, erro... FILE: server/client_proxyproto_test.go type mockConn (line 29) | type mockConn struct method Read (line 44) | func (m *mockConn) Read(b []byte) (int, error) { method Write (line 54) | func (m *mockConn) Write(b []byte) (int, error) { method Close (line 61) | func (m *mockConn) Close() error { method LocalAddr (line 66) | func (m *mockConn) LocalAddr() net.Addr { method RemoteAddr (line 70) | func (m *mockConn) RemoteAddr() net.Addr { method SetDeadline (line 74) | func (m *mockConn) SetDeadline(t time.Time) error { method SetReadDeadline (line 79) | func (m *mockConn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 84) | func (m *mockConn) SetWriteDeadline(t time.Time) error { function newMockConn (line 37) | func newMockConn(data []byte) *mockConn { function buildProxyV2Header (line 89) | func buildProxyV2Header(t *testing.T, srcIP, dstIP string, srcPort, dstP... function buildProxyV2LocalHeader (line 128) | func buildProxyV2LocalHeader() []byte { function buildProxyV1Header (line 139) | func buildProxyV1Header(t *testing.T, protocol, srcIP, dstIP string, src... function TestClientProxyProtoV2ParseIPv4 (line 156) | func TestClientProxyProtoV2ParseIPv4(t *testing.T) { function TestClientProxyProtoV2ParseIPv6 (line 175) | func TestClientProxyProtoV2ParseIPv6(t *testing.T) { function TestClientProxyProtoV2ParseLocalCommand (line 194) | func TestClientProxyProtoV2ParseLocalCommand(t *testing.T) { function TestClientProxyProtoV2InvalidSignature (line 203) | func TestClientProxyProtoV2InvalidSignature(t *testing.T) { function TestClientProxyProtoV2InvalidVersion (line 213) | func TestClientProxyProtoV2InvalidVersion(t *testing.T) { function TestClientProxyProtoV2UnsupportedFamily (line 227) | func TestClientProxyProtoV2UnsupportedFamily(t *testing.T) { function TestClientProxyProtoV2UnsupportedProtocol (line 241) | func TestClientProxyProtoV2UnsupportedProtocol(t *testing.T) { function TestClientProxyProtoV2TruncatedHeader (line 255) | func TestClientProxyProtoV2TruncatedHeader(t *testing.T) { function TestClientProxyProtoV2ShortAddressData (line 264) | func TestClientProxyProtoV2ShortAddressData(t *testing.T) { function TestProxyConnRemoteAddr (line 281) | func TestProxyConnRemoteAddr(t *testing.T) { function TestClientProxyProtoV2EndToEnd (line 305) | func TestClientProxyProtoV2EndToEnd(t *testing.T) { function TestClientProxyProtoV2LocalCommandEndToEnd (line 367) | func TestClientProxyProtoV2LocalCommandEndToEnd(t *testing.T) { function TestClientProxyProtoV1ParseTCP4 (line 417) | func TestClientProxyProtoV1ParseTCP4(t *testing.T) { function TestClientProxyProtoV1ParseTCP6 (line 432) | func TestClientProxyProtoV1ParseTCP6(t *testing.T) { function TestClientProxyProtoV1ParseUnknown (line 447) | func TestClientProxyProtoV1ParseUnknown(t *testing.T) { function TestClientProxyProtoV1PreservesCoalescedClientBytes (line 456) | func TestClientProxyProtoV1PreservesCoalescedClientBytes(t *testing.T) { function TestClientProxyProtoV1InvalidFormat (line 471) | func TestClientProxyProtoV1InvalidFormat(t *testing.T) { function TestClientProxyProtoV1LineTooLong (line 480) | func TestClientProxyProtoV1LineTooLong(t *testing.T) { function TestClientProxyProtoV1InvalidIP (line 490) | func TestClientProxyProtoV1InvalidIP(t *testing.T) { function TestClientProxyProtoV1MismatchedProtocol (line 498) | func TestClientProxyProtoV1MismatchedProtocol(t *testing.T) { function TestClientProxyProtoV1InvalidPort (line 514) | func TestClientProxyProtoV1InvalidPort(t *testing.T) { function TestClientProxyProtoV1EndToEnd (line 522) | func TestClientProxyProtoV1EndToEnd(t *testing.T) { function TestClientProxyProtoVersionDetection (line 586) | func TestClientProxyProtoVersionDetection(t *testing.T) { function TestClientProxyProtoUnrecognizedVersion (line 606) | func TestClientProxyProtoUnrecognizedVersion(t *testing.T) { FILE: server/client_test.go type serverInfo (line 43) | type serverInfo struct type testAsyncClient (line 57) | type testAsyncClient struct method close (line 63) | func (c *testAsyncClient) close() { method parse (line 68) | func (c *testAsyncClient) parse(proto []byte) error { method parseAndClose (line 74) | func (c *testAsyncClient) parseAndClose(proto []byte) { function createClientAsync (line 80) | func createClientAsync(ch chan *client, s *Server, cli net.Conn) { function newClientForServer (line 100) | func newClientForServer(s *Server) (*testAsyncClient, *bufio.Reader, str... function genAsyncParser (line 119) | func genAsyncParser(c *client) (func(string), chan bool) { function rawSetup (line 147) | func rawSetup(serverOptions Options) (*Server, *testAsyncClient, *bufio.... function setUpClientWithResponse (line 153) | func setUpClientWithResponse() (*testAsyncClient, string) { function setupClient (line 158) | func setupClient() (*Server, *testAsyncClient, *bufio.Reader) { function checkClientsCount (line 163) | func checkClientsCount(t *testing.T, s *Server, expected int) { function checkAccClientsCount (line 173) | func checkAccClientsCount(t *testing.T, acc *Account, expected int) { function TestAsyncClientWithRunningServer (line 184) | func TestAsyncClientWithRunningServer(t *testing.T) { function TestClientCreateAndInfo (line 203) | func TestClientCreateAndInfo(t *testing.T) { function TestClientNoResponderSupport (line 231) | func TestClientNoResponderSupport(t *testing.T) { function TestServerHeaderSupport (line 260) | func TestServerHeaderSupport(t *testing.T) { function TestClientHeaderSupport (line 296) | func TestClientHeaderSupport(t *testing.T) { function TestClientHeaderDeliverMsg (line 331) | func TestClientHeaderDeliverMsg(t *testing.T) { function TestClientHeaderDeliverStrippedMsg (line 374) | func TestClientHeaderDeliverStrippedMsg(t *testing.T) { function TestClientHeaderDeliverQueueSubStrippedMsg (line 422) | func TestClientHeaderDeliverQueueSubStrippedMsg(t *testing.T) { function TestNonTLSConnectionState (line 467) | func TestNonTLSConnectionState(t *testing.T) { function TestClientConnect (line 476) | func TestClientConnect(t *testing.T) { function TestClientConnectProto (line 538) | func TestClientConnectProto(t *testing.T) { function TestRemoteAddress (line 596) | func TestRemoteAddress(t *testing.T) { function TestClientPing (line 617) | func TestClientPing(t *testing.T) { constant SUB_INDEX (line 636) | SUB_INDEX = 1 constant SID_INDEX (line 637) | SID_INDEX = 2 constant REPLY_INDEX (line 638) | REPLY_INDEX = 4 constant LEN_INDEX (line 639) | LEN_INDEX = 5 constant HDR_INDEX (line 640) | HDR_INDEX = 5 constant TLEN_INDEX (line 641) | TLEN_INDEX = 6 function grabPayload (line 644) | func grabPayload(cr *bufio.Reader, expected int) []byte { function checkPayload (line 651) | func checkPayload(cr *bufio.Reader, expected []byte, t *testing.T) { function TestClientSimplePubSub (line 667) | func TestClientSimplePubSub(t *testing.T) { function TestClientPubSubNoEcho (line 692) | func TestClientPubSubNoEcho(t *testing.T) { function TestClientSimplePubSubWithReply (line 713) | func TestClientSimplePubSubWithReply(t *testing.T) { function TestClientNoBodyPubSubWithReply (line 741) | func TestClientNoBodyPubSubWithReply(t *testing.T) { function TestClientPubWithQueueSub (line 769) | func TestClientPubWithQueueSub(t *testing.T) { function TestSplitSubjectQueue (line 812) | func TestSplitSubjectQueue(t *testing.T) { function TestTypeString (line 852) | func TestTypeString(t *testing.T) { function TestQueueSubscribePermissions (line 900) | func TestQueueSubscribePermissions(t *testing.T) { function TestClientPubWithQueueSubNoEcho (line 1044) | func TestClientPubWithQueueSubNoEcho(t *testing.T) { function TestClientUnSub (line 1111) | func TestClientUnSub(t *testing.T) { function TestClientUnSubMax (line 1146) | func TestClientUnSubMax(t *testing.T) { function TestClientAutoUnsubExactReceived (line 1184) | func TestClientAutoUnsubExactReceived(t *testing.T) { function TestClientUnsubAfterAutoUnsub (line 1206) | func TestClientUnsubAfterAutoUnsub(t *testing.T) { function TestClientRemoveSubsOnDisconnect (line 1228) | func TestClientRemoveSubsOnDisconnect(t *testing.T) { function TestClientDoesNotAddSubscriptionsWhenConnectionClosed (line 1242) | func TestClientDoesNotAddSubscriptionsWhenConnectionClosed(t *testing.T) { function TestClientMapRemoval (line 1254) | func TestClientMapRemoval(t *testing.T) { function TestAuthorizationTimeout (line 1261) | func TestAuthorizationTimeout(t *testing.T) { function TestTwoTokenPubMatchSingleTokenSub (line 1288) | func TestTwoTokenPubMatchSingleTokenSub(t *testing.T) { function TestUnsubRace (line 1307) | func TestUnsubRace(t *testing.T) { function TestClientCloseTLSConnection (line 1351) | func TestClientCloseTLSConnection(t *testing.T) { function TestWildcardCharsInLiteralSubjectWorks (line 1445) | func TestWildcardCharsInLiteralSubjectWorks(t *testing.T) { function TestClientOutboundQueueCoalesce (line 1492) | func TestClientOutboundQueueCoalesce(t *testing.T) { function TestClientTraceRace (line 1548) | func TestClientTraceRace(t *testing.T) { function TestClientUserInfo (line 1595) | func TestClientUserInfo(t *testing.T) { type captureWarnLogger (line 1644) | type captureWarnLogger struct method Warnf (line 1649) | func (l *captureWarnLogger) Warnf(format string, v ...any) { function TestReadloopWarning (line 1656) | func TestReadloopWarning(t *testing.T) { function TestTraceMsg (line 1701) | func TestTraceMsg(t *testing.T) { function TestTraceMsgHeadersOnly (line 1754) | func TestTraceMsgHeadersOnly(t *testing.T) { function TestTraceMsgDelivery (line 1822) | func TestTraceMsgDelivery(t *testing.T) { function TestTraceMsgDeliveryWithHeaders (line 1887) | func TestTraceMsgDeliveryWithHeaders(t *testing.T) { function TestClientMaxPending (line 1977) | func TestClientMaxPending(t *testing.T) { function TestResponsePermissions (line 1991) | func TestResponsePermissions(t *testing.T) { function TestPingNotSentTooSoon (line 2077) | func TestPingNotSentTooSoon(t *testing.T) { function TestClientCheckUseOfGWReplyPrefix (line 2139) | func TestClientCheckUseOfGWReplyPrefix(t *testing.T) { function TestNoClientLeakOnSlowConsumer (line 2182) | func TestNoClientLeakOnSlowConsumer(t *testing.T) { function TestClientSlowConsumerWithoutConnect (line 2237) | func TestClientSlowConsumerWithoutConnect(t *testing.T) { function TestClientNoSlowConsumerIfConnectExpected (line 2280) | func TestClientNoSlowConsumerIfConnectExpected(t *testing.T) { function TestClientIPv6Address (line 2301) | func TestClientIPv6Address(t *testing.T) { function TestPBNotIncreasedOnMaxPending (line 2324) | func TestPBNotIncreasedOnMaxPending(t *testing.T) { type testConnWritePartial (line 2341) | type testConnWritePartial struct method Write (line 2347) | func (c *testConnWritePartial) Write(p []byte) (int, error) { method RemoteAddr (line 2355) | func (c *testConnWritePartial) RemoteAddr() net.Addr { method SetWriteDeadline (line 2359) | func (c *testConnWritePartial) SetWriteDeadline(_ time.Time) error { function TestFlushOutboundNoSliceReuseIfPartial (line 2363) | func TestFlushOutboundNoSliceReuseIfPartial(t *testing.T) { type captureNoticeLogger (line 2401) | type captureNoticeLogger struct method Noticef (line 2406) | func (l *captureNoticeLogger) Noticef(format string, v ...any) { function TestCloseConnectionLogsReason (line 2412) | func TestCloseConnectionLogsReason(t *testing.T) { function TestCloseConnectionVeryEarly (line 2449) | func TestCloseConnectionVeryEarly(t *testing.T) { type connAddrString (line 2501) | type connAddrString struct method String (line 2505) | func (a *connAddrString) String() string { type connString (line 2509) | type connString struct method RemoteAddr (line 2513) | func (c *connString) RemoteAddr() net.Addr { function TestClientConnectionName (line 2517) | func TestClientConnectionName(t *testing.T) { function TestClientLimits (line 2584) | func TestClientLimits(t *testing.T) { function TestClientClampMaxSubsErrReport (line 2646) | func TestClientClampMaxSubsErrReport(t *testing.T) { function TestClientDenySysGroupSub (line 2703) | func TestClientDenySysGroupSub(t *testing.T) { function TestClientAuthRequiredNoAuthUser (line 2719) | func TestClientAuthRequiredNoAuthUser(t *testing.T) { function TestClientUserInfoReq (line 2740) | func TestClientUserInfoReq(t *testing.T) { function TestTLSClientHandshakeFirst (line 2818) | func TestTLSClientHandshakeFirst(t *testing.T) { function TestTLSClientHandshakeFirstFallbackDelayConfigValues (line 2880) | func TestTLSClientHandshakeFirstFallbackDelayConfigValues(t *testing.T) { type pauseAfterDial (line 2930) | type pauseAfterDial struct method Dial (line 2934) | func (d *pauseAfterDial) Dial(network, address string) (net.Conn, erro... function TestTLSClientHandshakeFirstFallbackDelay (line 2943) | func TestTLSClientHandshakeFirstFallbackDelay(t *testing.T) { function TestTLSClientHandshakeFirstFallbackDelayAndAllowNonTLS (line 3011) | func TestTLSClientHandshakeFirstFallbackDelayAndAllowNonTLS(t *testing.T) { function TestTLSClientHandshakeFirstAndInProcessConnection (line 3105) | func TestTLSClientHandshakeFirstAndInProcessConnection(t *testing.T) { function TestRemoveHeaderIfPrefixPresent (line 3161) | func TestRemoveHeaderIfPrefixPresent(t *testing.T) { function TestSliceHeader (line 3179) | func TestSliceHeader(t *testing.T) { function TestSliceHeaderOrderingPrefix (line 3202) | func TestSliceHeaderOrderingPrefix(t *testing.T) { function TestSliceHeaderOrderingSuffix (line 3222) | func TestSliceHeaderOrderingSuffix(t *testing.T) { function TestRemoveHeaderIfPresentOrderingPrefix (line 3239) | func TestRemoveHeaderIfPresentOrderingPrefix(t *testing.T) { function TestRemoveHeaderIfPresentOrderingSuffix (line 3252) | func TestRemoveHeaderIfPresentOrderingSuffix(t *testing.T) { function TestMsgPartsCapsHdrSlice (line 3265) | func TestMsgPartsCapsHdrSlice(t *testing.T) { function TestSetHeaderDoesNotOverwriteUnderlyingBuffer (line 3286) | func TestSetHeaderDoesNotOverwriteUnderlyingBuffer(t *testing.T) { function TestSetHeaderOrderingPrefix (line 3324) | func TestSetHeaderOrderingPrefix(t *testing.T) { function TestSetHeaderOrderingSuffix (line 3352) | func TestSetHeaderOrderingSuffix(t *testing.T) { function TestInProcessAllowedConnectionType (line 3380) | func TestInProcessAllowedConnectionType(t *testing.T) { function TestClientFlushOutboundNoSlowConsumer (line 3473) | func TestClientFlushOutboundNoSlowConsumer(t *testing.T) { function TestClientRejectsNRGSubjects (line 3543) | func TestClientRejectsNRGSubjects(t *testing.T) { function TestConnectionStringWithLogConnectionInfo (line 3590) | func TestConnectionStringWithLogConnectionInfo(t *testing.T) { function TestLogConnectionAuthInfo (line 3646) | func TestLogConnectionAuthInfo(t *testing.T) { function TestClientConfigureWriteTimeoutPolicy (line 3753) | func TestClientConfigureWriteTimeoutPolicy(t *testing.T) { type writeTimeoutPolicyWriter (line 3787) | type writeTimeoutPolicyWriter struct method SetWriteDeadline (line 3793) | func (w *writeTimeoutPolicyWriter) SetWriteDeadline(deadline time.Time... method Write (line 3798) | func (w *writeTimeoutPolicyWriter) Write(b []byte) (int, error) { function TestClientFlushOutboundWriteTimeoutPolicy (line 3807) | func TestClientFlushOutboundWriteTimeoutPolicy(t *testing.T) { function TestFlushOutboundS2CompressionPoolBufferRecycling (line 3862) | func TestFlushOutboundS2CompressionPoolBufferRecycling(t *testing.T) { FILE: server/closed_conns_test.go function checkClosedConns (line 26) | func checkClosedConns(t *testing.T, s *Server, num int, wait time.Durati... function checkTotalClosedConns (line 36) | func checkTotalClosedConns(t *testing.T, s *Server, num uint64, wait tim... function TestClosedConnsAccounting (line 46) | func TestClosedConnsAccounting(t *testing.T) { function TestClosedConnsSubsAccounting (line 102) | func TestClosedConnsSubsAccounting(t *testing.T) { function checkReason (line 136) | func checkReason(t *testing.T, reason string, expected ClosedState) { function TestClosedAuthorizationTimeout (line 143) | func TestClosedAuthorizationTimeout(t *testing.T) { function TestClosedAuthorizationViolation (line 164) | func TestClosedAuthorizationViolation(t *testing.T) { function TestClosedUPAuthorizationViolation (line 187) | func TestClosedUPAuthorizationViolation(t *testing.T) { function TestClosedMaxPayload (line 219) | func TestClosedMaxPayload(t *testing.T) { function TestClosedTLSHandshake (line 247) | func TestClosedTLSHandshake(t *testing.T) { FILE: server/config_check_test.go function TestConfigCheck (line 23) | func TestConfigCheck(t *testing.T) { function TestConfigCheckIncludes (line 2550) | func TestConfigCheckIncludes(t *testing.T) { function TestConfigCheckMultipleErrors (line 2573) | func TestConfigCheckMultipleErrors(t *testing.T) { FILE: server/const.go type Command (line 23) | type Command constant CommandStop (line 27) | CommandStop = Command("stop") constant CommandQuit (line 28) | CommandQuit = Command("quit") constant CommandReopen (line 29) | CommandReopen = Command("reopen") constant CommandReload (line 30) | CommandReload = Command("reload") constant commandLDMode (line 33) | commandLDMode = Command("ldm") constant commandTerm (line 34) | commandTerm = Command("term") function formatRevision (line 47) | func formatRevision(revision string) string { function init (line 54) | func init() { constant VERSION (line 69) | VERSION = "2.14.0-dev" constant PROTO (line 75) | PROTO = 1 constant DEFAULT_PORT (line 78) | DEFAULT_PORT = 4222 constant RANDOM_PORT (line 83) | RANDOM_PORT = -1 constant DEFAULT_HOST (line 86) | DEFAULT_HOST = "0.0.0.0" constant MAX_CONTROL_LINE_SIZE (line 90) | MAX_CONTROL_LINE_SIZE = 4096 constant MAX_PAYLOAD_SIZE (line 94) | MAX_PAYLOAD_SIZE = (1024 * 1024) constant MAX_PAYLOAD_MAX_SIZE (line 99) | MAX_PAYLOAD_MAX_SIZE = (8 * 1024 * 1024) constant MAX_PENDING_SIZE (line 102) | MAX_PENDING_SIZE = (64 * 1024 * 1024) constant DEFAULT_MAX_CONNECTIONS (line 105) | DEFAULT_MAX_CONNECTIONS = (64 * 1024) constant TLS_TIMEOUT (line 108) | TLS_TIMEOUT = 2 * time.Second constant DEFAULT_TLS_HANDSHAKE_FIRST_FALLBACK_DELAY (line 114) | DEFAULT_TLS_HANDSHAKE_FIRST_FALLBACK_DELAY = 50 * time.Millisecond constant AUTH_TIMEOUT (line 117) | AUTH_TIMEOUT = 2 * time.Second constant DEFAULT_PING_INTERVAL (line 120) | DEFAULT_PING_INTERVAL = 2 * time.Minute constant DEFAULT_PING_MAX_OUT (line 123) | DEFAULT_PING_MAX_OUT = 2 constant CR_LF (line 126) | CR_LF = "\r\n" constant LEN_CR_LF (line 129) | LEN_CR_LF = len(CR_LF) constant DEFAULT_FLUSH_DEADLINE (line 132) | DEFAULT_FLUSH_DEADLINE = 10 * time.Second constant DEFAULT_HTTP_PORT (line 135) | DEFAULT_HTTP_PORT = 8222 constant DEFAULT_HTTP_BASE_PATH (line 138) | DEFAULT_HTTP_BASE_PATH = "/" constant ACCEPT_MIN_SLEEP (line 141) | ACCEPT_MIN_SLEEP = 10 * time.Millisecond constant ACCEPT_MAX_SLEEP (line 144) | ACCEPT_MAX_SLEEP = 1 * time.Second constant DEFAULT_ROUTE_CONNECT (line 147) | DEFAULT_ROUTE_CONNECT = 1 * time.Second constant DEFAULT_ROUTE_CONNECT_MAX (line 150) | DEFAULT_ROUTE_CONNECT_MAX = 30 * time.Second constant DEFAULT_ROUTE_RECONNECT (line 153) | DEFAULT_ROUTE_RECONNECT = 1 * time.Second constant DEFAULT_ROUTE_DIAL (line 156) | DEFAULT_ROUTE_DIAL = 1 * time.Second constant DEFAULT_ROUTE_POOL_SIZE (line 159) | DEFAULT_ROUTE_POOL_SIZE = 3 constant DEFAULT_LEAF_NODE_RECONNECT (line 162) | DEFAULT_LEAF_NODE_RECONNECT = time.Second constant DEFAULT_LEAF_TLS_TIMEOUT (line 165) | DEFAULT_LEAF_TLS_TIMEOUT = 2 * time.Second constant PROTO_SNIPPET_SIZE (line 168) | PROTO_SNIPPET_SIZE = 32 constant MAX_CONTROL_LINE_SNIPPET_SIZE (line 171) | MAX_CONTROL_LINE_SNIPPET_SIZE = 128 constant MAX_MSG_ARGS (line 174) | MAX_MSG_ARGS = 4 constant MAX_RMSG_ARGS (line 177) | MAX_RMSG_ARGS = 6 constant MAX_HMSG_ARGS (line 180) | MAX_HMSG_ARGS = 7 constant MAX_PUB_ARGS (line 183) | MAX_PUB_ARGS = 3 constant MAX_HPUB_ARGS (line 186) | MAX_HPUB_ARGS = 4 constant MAX_RSUB_ARGS (line 189) | MAX_RSUB_ARGS = 6 constant DEFAULT_MAX_CLOSED_CLIENTS (line 192) | DEFAULT_MAX_CLOSED_CLIENTS = 10000 constant DEFAULT_LAME_DUCK_DURATION (line 196) | DEFAULT_LAME_DUCK_DURATION = 2 * time.Minute constant DEFAULT_LAME_DUCK_GRACE_PERIOD (line 200) | DEFAULT_LAME_DUCK_GRACE_PERIOD = 10 * time.Second constant DEFAULT_LEAFNODE_INFO_WAIT (line 203) | DEFAULT_LEAFNODE_INFO_WAIT = 1 * time.Second constant DEFAULT_LEAFNODE_PORT (line 206) | DEFAULT_LEAFNODE_PORT = 7422 constant DEFAULT_CONNECT_ERROR_REPORTS (line 215) | DEFAULT_CONNECT_ERROR_REPORTS = 3600 constant DEFAULT_RECONNECT_ERROR_REPORTS (line 220) | DEFAULT_RECONNECT_ERROR_REPORTS = 1 constant DEFAULT_RTT_MEASUREMENT_INTERVAL (line 224) | DEFAULT_RTT_MEASUREMENT_INTERVAL = time.Hour constant DEFAULT_ALLOW_RESPONSE_MAX_MSGS (line 228) | DEFAULT_ALLOW_RESPONSE_MAX_MSGS = 1 constant DEFAULT_ALLOW_RESPONSE_EXPIRATION (line 232) | DEFAULT_ALLOW_RESPONSE_EXPIRATION = 2 * time.Minute constant DEFAULT_SERVICE_EXPORT_RESPONSE_THRESHOLD (line 237) | DEFAULT_SERVICE_EXPORT_RESPONSE_THRESHOLD = 2 * time.Minute constant DEFAULT_SERVICE_LATENCY_SAMPLING (line 241) | DEFAULT_SERVICE_LATENCY_SAMPLING = 100 constant DEFAULT_SYSTEM_ACCOUNT (line 244) | DEFAULT_SYSTEM_ACCOUNT = "$SYS" constant DEFAULT_GLOBAL_ACCOUNT (line 247) | DEFAULT_GLOBAL_ACCOUNT = "$G" constant DEFAULT_ACCOUNT_FETCH_TIMEOUT (line 250) | DEFAULT_ACCOUNT_FETCH_TIMEOUT = 1900 * time.Millisecond FILE: server/consumer.go constant JSPullRequestPendingMsgs (line 43) | JSPullRequestPendingMsgs = "Nats-Pending-Messages" constant JSPullRequestPendingBytes (line 44) | JSPullRequestPendingBytes = "Nats-Pending-Bytes" constant JSPullRequestNatsPinId (line 45) | JSPullRequestNatsPinId = "Nats-Pin-Id" constant JsPullRequestRemainingBytesT (line 53) | JsPullRequestRemainingBytesT = "NATS/1.0 409 Batch Completed\r\n%s: %d\r... type ConsumerInfo (line 55) | type ConsumerInfo struct type consumerInfoClusterResponse (line 77) | type consumerInfoClusterResponse struct type PriorityGroupState (line 82) | type PriorityGroupState struct type ConsumerConfig (line 88) | type ConsumerConfig struct method replicas (line 397) | func (consCfg ConsumerConfig) replicas(strCfg *StreamConfig) int { type SequenceInfo (line 143) | type SequenceInfo struct type CreateConsumerRequest (line 149) | type CreateConsumerRequest struct type ConsumerAction (line 156) | type ConsumerAction method String (line 176) | func (a ConsumerAction) String() string { method MarshalJSON (line 188) | func (a ConsumerAction) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 201) | func (a *ConsumerAction) UnmarshalJSON(data []byte) error { constant ActionCreateOrUpdate (line 159) | ActionCreateOrUpdate ConsumerAction = iota constant ActionUpdate (line 160) | ActionUpdate constant ActionCreate (line 161) | ActionCreate constant actionUpdateJSONString (line 165) | actionUpdateJSONString = `"update"` constant actionCreateJSONString (line 166) | actionCreateJSONString = `"create"` constant actionCreateOrUpdateJSONString (line 167) | actionCreateOrUpdateJSONString = `""` type ConsumerNakOptions (line 216) | type ConsumerNakOptions struct type PriorityPolicy (line 221) | type PriorityPolicy method String (line 248) | func (pp PriorityPolicy) String() string { method MarshalJSON (line 261) | func (pp PriorityPolicy) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 276) | func (pp *PriorityPolicy) UnmarshalJSON(data []byte) error { constant PriorityNone (line 225) | PriorityNone PriorityPolicy = iota constant PriorityOverflow (line 227) | PriorityOverflow constant PriorityPinnedClient (line 229) | PriorityPinnedClient constant PriorityPrioritized (line 231) | PriorityPrioritized constant PriorityNoneJSONString (line 235) | PriorityNoneJSONString = `"none"` constant PriorityOverflowJSONString (line 236) | PriorityOverflowJSONString = `"overflow"` constant PriorityPinnedClientJSONString (line 237) | PriorityPinnedClientJSONString = `"pinned_client"` constant PriorityPrioritizedJSONString (line 238) | PriorityPrioritizedJSONString = `"prioritized"` type DeliverPolicy (line 293) | type DeliverPolicy method String (line 310) | func (dp DeliverPolicy) String() string { constant DeliverAll (line 297) | DeliverAll DeliverPolicy = iota constant DeliverLast (line 299) | DeliverLast constant DeliverNew (line 301) | DeliverNew constant DeliverByStartSequence (line 303) | DeliverByStartSequence constant DeliverByStartTime (line 305) | DeliverByStartTime constant DeliverLastPerSubject (line 307) | DeliverLastPerSubject type AckPolicy (line 330) | type AckPolicy method String (line 341) | func (a AckPolicy) String() string { constant AckNone (line 334) | AckNone AckPolicy = iota constant AckAll (line 336) | AckAll constant AckExplicit (line 338) | AckExplicit type ReplayPolicy (line 353) | type ReplayPolicy method String (line 362) | func (r ReplayPolicy) String() string { constant ReplayInstant (line 357) | ReplayInstant ReplayPolicy = iota constant ReplayOriginal (line 359) | ReplayOriginal constant OK (line 372) | OK = "+OK" constant ackTermLimitsReason (line 392) | ackTermLimitsReason = "Message deleted by stream limits" constant ackTermUnackedLimitsReason (line 393) | ackTermUnackedLimitsReason = "Unacknowledged message was deleted" type consumer (line 409) | type consumer struct method updateInactiveThreshold (line 1379) | func (o *consumer) updateInactiveThreshold(cfg *ConsumerConfig) { method updatePauseState (line 1402) | func (o *consumer) updatePauseState(cfg *ConsumerConfig) { method consumerAssignment (line 1427) | func (o *consumer) consumerAssignment() *consumerAssignment { method setConsumerAssignment (line 1433) | func (o *consumer) setConsumerAssignment(ca *consumerAssignment) { method monitorQuitC (line 1451) | func (o *consumer) monitorQuitC() <-chan struct{} { method signalMonitorQuit (line 1466) | func (o *consumer) signalMonitorQuit() { method updateC (line 1475) | func (o *consumer) updateC() <-chan struct{} { method checkQueueInterest (line 1483) | func (o *consumer) checkQueueInterest() { method clearNode (line 1503) | func (o *consumer) clearNode() { method IsLeader (line 1513) | func (o *consumer) IsLeader() bool { method isLeader (line 1518) | func (o *consumer) isLeader() bool { method setLeader (line 1522) | func (o *consumer) setLeader(isLeader bool) { method handleClusterConsumerInfoRequest (line 1762) | func (o *consumer) handleClusterConsumerInfoRequest(sub *subscription,... method subscribeInternal (line 1767) | func (o *consumer) subscribeInternal(subject string, cb msgHandler) (*... method unsubscribe (line 1787) | func (o *consumer) unsubscribe(sub *subscription) { method sendAdvisory (line 1796) | func (o *consumer) sendAdvisory(subject string, e any) { method sendDeleteAdvisoryLocked (line 1815) | func (o *consumer) sendDeleteAdvisoryLocked() { method sendPinnedAdvisoryLocked (line 1832) | func (o *consumer) sendPinnedAdvisoryLocked(group string) { method sendUnpinnedAdvisoryLocked (line 1851) | func (o *consumer) sendUnpinnedAdvisoryLocked(group string, reason str... method sendCreateAdvisory (line 1871) | func (o *consumer) sendCreateAdvisory() { method sendPauseAdvisoryLocked (line 1891) | func (o *consumer) sendPauseAdvisoryLocked(cfg *ConsumerConfig) { method createdTime (line 1913) | func (o *consumer) createdTime() time.Time { method setCreatedTime (line 1921) | func (o *consumer) setCreatedTime(created time.Time) { method hasDeliveryInterest (line 1930) | func (o *consumer) hasDeliveryInterest(localInterest bool) bool { method updateDeliveryInterest (line 1969) | func (o *consumer) updateDeliveryInterest(localInterest bool) bool { method deleteNotActive (line 2021) | func (o *consumer) deleteNotActive() { method watchGWinterest (line 2185) | func (o *consumer) watchGWinterest() { method config (line 2207) | func (o *consumer) config() ConsumerConfig { method hasMaxDeliveries (line 2216) | func (o *consumer) hasMaxDeliveries(seq uint64) bool { method forceExpirePending (line 2247) | func (o *consumer) forceExpirePending() { method setRateLimitNeedsLocks (line 2272) | func (o *consumer) setRateLimitNeedsLocks() { method setRateLimit (line 2290) | func (o *consumer) setRateLimit(bps uint64) { method updateConfig (line 2377) | func (o *consumer) updateConfig(cfg *ConsumerConfig) error { method updateDeliverSubject (line 2524) | func (o *consumer) updateDeliverSubject(newDeliver string) { method updateDeliverSubjectLocked (line 2533) | func (o *consumer) updateDeliverSubjectLocked(newDeliver string) { method sendAckReply (line 2557) | func (o *consumer) sendAckReply(subj string) { method pushAck (line 2596) | func (o *consumer) pushAck(_ *subscription, c *client, _ *Account, sub... method processAck (line 2602) | func (o *consumer) processAck(subject, reply string, hdr int, rmsg []b... method progressUpdate (line 2648) | func (o *consumer) progressUpdate(seq uint64) { method updateSkipped (line 2660) | func (o *consumer) updateSkipped(seq uint64) { method resetStartingSeq (line 2672) | func (o *consumer) resetStartingSeq(seq uint64, reply string) (uint64,... method resetLocalStartingSeq (line 2735) | func (o *consumer) resetLocalStartingSeq(seq uint64) { method loopAndForwardProposals (line 2744) | func (o *consumer) loopAndForwardProposals(qch chan struct{}) { method propose (line 2805) | func (o *consumer) propose(entry []byte) { method updateDelivered (line 2822) | func (o *consumer) updateDelivered(dseq, sseq, dc uint64, ts int64) { method addAckReply (line 2843) | func (o *consumer) addAckReply(sseq uint64, reply string) { method addReplicatedQueuedMsg (line 2852) | func (o *consumer) addReplicatedQueuedMsg(pmsg *jsPubMsg) { method updateAcks (line 2873) | func (o *consumer) updateAcks(dseq, sseq uint64, reply string) { method addClusterPendingRequest (line 2898) | func (o *consumer) addClusterPendingRequest(reply string) { method removeClusterPendingRequest (line 2910) | func (o *consumer) removeClusterPendingRequest(reply string) { method setPendingRequestsOk (line 2921) | func (o *consumer) setPendingRequestsOk(ok bool) { method pendingRequestsOk (line 2928) | func (o *consumer) pendingRequestsOk() bool { method checkAndSetPendingRequestsOk (line 2934) | func (o *consumer) checkAndSetPendingRequestsOk() { method checkPendingRequests (line 2959) | func (o *consumer) checkPendingRequests() { method releaseAnyPendingRequests (line 2975) | func (o *consumer) releaseAnyPendingRequests(isAssigned bool) { method processNak (line 2994) | func (o *consumer) processNak(sseq, dseq, dc uint64, nak []byte) { method processTerm (line 3074) | func (o *consumer) processTerm(sseq, dseq, dc uint64, reason, reply st... method ackWait (line 3107) | func (o *consumer) ackWait(next time.Duration) time.Duration { method checkRedelivered (line 3116) | func (o *consumer) checkRedelivered() { method readStoredState (line 3135) | func (o *consumer) readStoredState() error { method applyState (line 3151) | func (o *consumer) applyState(state *ConsumerState) { method setStoreState (line 3179) | func (o *consumer) setStoreState(state *ConsumerState) error { method writeStoreState (line 3196) | func (o *consumer) writeStoreState() error { method writeStoreStateUnlocked (line 3204) | func (o *consumer) writeStoreStateUnlocked() error { method initialInfo (line 3225) | func (o *consumer) initialInfo() *ConsumerInfo { method clearInitialInfo (line 3238) | func (o *consumer) clearInitialInfo() { method info (line 3245) | func (o *consumer) info() *ConsumerInfo { method infoWithSnap (line 3249) | func (o *consumer) infoWithSnap(snap bool) *ConsumerInfo { method infoWithSnapAndReply (line 3253) | func (o *consumer) infoWithSnapAndReply(snap bool, reply string) *Cons... method signalNewMessages (line 3379) | func (o *consumer) signalNewMessages() { method shouldSample (line 3388) | func (o *consumer) shouldSample() bool { method sampleAck (line 3401) | func (o *consumer) sampleAck(sseq, dseq, dc uint64) { method processAckMsg (line 3431) | func (o *consumer) processAckMsg(sseq, dseq, dc uint64, reply string, ... method isFiltered (line 3573) | func (o *consumer) isFiltered() bool { method needAck (line 3620) | func (o *consumer) needAck(sseq uint64, subj string) bool { method pendingRequests (line 4037) | func (o *consumer) pendingRequests() map[string]*waitingRequest { method setPinnedTimer (line 4049) | func (o *consumer) setPinnedTimer(priorityGroup string) { method assignNewPinId (line 4069) | func (o *consumer) assignNewPinId(wr *waitingRequest) { method unassignPinId (line 4081) | func (o *consumer) unassignPinId() { method nextWaiting (line 4093) | func (o *consumer) nextWaiting(sz int) *waitingRequest { method processNextMsgReq (line 4268) | func (o *consumer) processNextMsgReq(_ *subscription, c *client, _ *Ac... method processResetReq (line 4290) | func (o *consumer) processResetReq(_ *subscription, c *client, a *Acco... method processNextMsgRequest (line 4325) | func (o *consumer) processNextMsgRequest(reply string, msg []byte) { method deliveryCount (line 4488) | func (o *consumer) deliveryCount(seq uint64) uint64 { method incDeliveryCount (line 4501) | func (o *consumer) incDeliveryCount(sseq uint64) uint64 { method decDeliveryCount (line 4512) | func (o *consumer) decDeliveryCount(sseq uint64) { method notifyDeliveryExceeded (line 4520) | func (o *consumer) notifyDeliveryExceeded(sseq, dc uint64) { method isFilteredMatch (line 4539) | func (o *consumer) isFilteredMatch(subj string) bool { method isEqualOrSubsetMatch (line 4564) | func (o *consumer) isEqualOrSubsetMatch(subj string) bool { method getNextMsg (line 4589) | func (o *consumer) getNextMsg() (*jsPubMsg, uint64, error) { method processWaiting (line 4694) | func (o *consumer) processWaiting(eos bool) (int, int, int, time.Time) { method checkWaitingForInterest (line 4794) | func (o *consumer) checkWaitingForInterest() bool { method hbTimer (line 4800) | func (o *consumer) hbTimer() (time.Duration, *time.Timer) { method checkAckFloor (line 4811) | func (o *consumer) checkAckFloor() { method processInboundAcks (line 4903) | func (o *consumer) processInboundAcks(qch chan struct{}) { method processInboundNextMsgReqs (line 4951) | func (o *consumer) processInboundNextMsgReqs(qch chan struct{}) { method suppressDeletion (line 4975) | func (o *consumer) suppressDeletion() { method loopAndGatherMsgs (line 4997) | func (o *consumer) loopAndGatherMsgs(qch chan struct{}) { method sendIdleHeartbeat (line 5271) | func (o *consumer) sendIdleHeartbeat(subj string) { method ackReply (line 5283) | func (o *consumer) ackReply(sseq, dseq, dc uint64, ts int64, pending u... method setMaxPendingBytes (line 5288) | func (o *consumer) setMaxPendingBytes(limit int) { method checkNumPending (line 5301) | func (o *consumer) checkNumPending() (uint64, error) { method numPending (line 5320) | func (o *consumer) numPending() uint64 { method checkNumPendingOnEOF (line 5330) | func (o *consumer) checkNumPendingOnEOF() { method streamNumPendingLocked (line 5343) | func (o *consumer) streamNumPendingLocked() (uint64, error) { method streamNumPending (line 5352) | func (o *consumer) streamNumPending() (uint64, error) { method calculateNumPending (line 5368) | func (o *consumer) calculateNumPending() (npc, npf uint64, err error) { method deliverMsg (line 5413) | func (o *consumer) deliverMsg(dsubj, ackReply string, pmsg *jsPubMsg, ... method replicateDeliveries (line 5477) | func (o *consumer) replicateDeliveries() bool { method needFlowControl (line 5481) | func (o *consumer) needFlowControl(sz int) bool { method processFlowControl (line 5497) | func (o *consumer) processFlowControl(_ *subscription, c *client, _ *A... method fcReply (line 5525) | func (o *consumer) fcReply() string { method sendFlowControl (line 5544) | func (o *consumer) sendFlowControl() { method trackPending (line 5556) | func (o *consumer) trackPending(sseq, dseq uint64) { method creditWaitingRequest (line 5590) | func (o *consumer) creditWaitingRequest(reply string) { method didNotDeliver (line 5603) | func (o *consumer) didNotDeliver(seq uint64, subj string) { method addToRedeliverQueue (line 5644) | func (o *consumer) addToRedeliverQueue(seqs ...uint64) { method hasRedeliveries (line 5652) | func (o *consumer) hasRedeliveries() bool { method getNextToRedeliver (line 5656) | func (o *consumer) getNextToRedeliver() uint64 { method onRedeliverQueue (line 5674) | func (o *consumer) onRedeliverQueue(seq uint64) bool { method removeFromRedeliverQueue (line 5680) | func (o *consumer) removeFromRedeliverQueue(seq uint64) bool { method checkPending (line 5700) | func (o *consumer) checkPending() { method seqFromReply (line 5819) | func (o *consumer) seqFromReply(reply string) uint64 { method streamSeqFromReply (line 5825) | func (o *consumer) streamSeqFromReply(reply string) uint64 { method nextSeq (line 5890) | func (o *consumer) nextSeq() uint64 { method hasSkipListPending (line 5905) | func (o *consumer) hasSkipListPending() bool { method reconcileStateWithStream (line 5913) | func (o *consumer) reconcileStateWithStream(streamLastSeq uint64) { method selectStartingSeqNo (line 5971) | func (o *consumer) selectStartingSeqNo() error { method isDurable (line 6092) | func (o *consumer) isDurable() bool { method isPushMode (line 6097) | func (o *consumer) isPushMode() bool { method isPullMode (line 6101) | func (o *consumer) isPullMode() bool { method String (line 6106) | func (o *consumer) String() string { method getStream (line 6122) | func (o *consumer) getStream() *stream { method streamName (line 6129) | func (o *consumer) streamName() string { method isActive (line 6140) | func (o *consumer) isActive() bool { method hasNoLocalInterest (line 6148) | func (o *consumer) hasNoLocalInterest() bool { method purge (line 6159) | func (o *consumer) purge(sseq uint64, slseq uint64, isWider bool) { method stop (line 6254) | func (o *consumer) stop() error { method deleteWithoutAdvisory (line 6258) | func (o *consumer) deleteWithoutAdvisory() error { method delete (line 6263) | func (o *consumer) delete() error { method isClosed (line 6268) | func (o *consumer) isClosed() bool { method stopWithFlags (line 6274) | func (o *consumer) stopWithFlags(dflag, sdflag, doSignal, advisory boo... method cleanupNoInterestMessages (line 6453) | func (o *consumer) cleanupNoInterestMessages(mset *stream, ignoreInter... method switchToEphemeral (line 6529) | func (o *consumer) switchToEphemeral() { method requestNextMsgSubject (line 6549) | func (o *consumer) requestNextMsgSubject() string { method decStreamPending (line 6553) | func (o *consumer) decStreamPending(sseq uint64, subj string) { method account (line 6578) | func (o *consumer) account() *Account { method signalSubs (line 6587) | func (o *consumer) signalSubs() []string { method processStreamSignal (line 6613) | func (o *consumer) processStreamSignal(seq uint64) { method shouldStartMonitor (line 6665) | func (o *consumer) shouldStartMonitor() bool { method clearMonitorRunning (line 6679) | func (o *consumer) clearMonitorRunning() { method isMonitorRunning (line 6690) | func (o *consumer) isMonitorRunning() bool { method checkStateForInterestStream (line 6701) | func (o *consumer) checkStateForInterestStream(ss *StreamState) error { method resetPtmr (line 6811) | func (o *consumer) resetPtmr(delay time.Duration) { method stopAndClearPtmr (line 6820) | func (o *consumer) stopAndClearPtmr() { method resetPendingDeliveries (line 6825) | func (o *consumer) resetPendingDeliveries() { type subjectFilter (line 529) | type subjectFilter struct type subjectFilters (line 535) | type subjectFilters method subjects (line 539) | func (s subjectFilters) subjects() []string { type proposal (line 547) | type proposal struct constant JsAckWaitDefault (line 554) | JsAckWaitDefault = 30 * time.Second constant JsDeleteWaitTimeDefault (line 557) | JsDeleteWaitTimeDefault = 5 * time.Second constant JsFlowControlMaxPending (line 559) | JsFlowControlMaxPending = 32 * 1024 * 1024 constant JsDefaultMaxAckPending (line 561) | JsDefaultMaxAckPending = 1000 constant JsDefaultPinnedTTL (line 564) | JsDefaultPinnedTTL = 2 * time.Minute function setConsumerConfigDefaults (line 568) | func setConsumerConfigDefaults(config *ConsumerConfig, streamCfg *Stream... function checkConsumerCfg (line 680) | func checkConsumerCfg( method addConsumerWithAction (line 952) | func (mset *stream) addConsumerWithAction(config *ConsumerConfig, action... method addConsumer (line 956) | func (mset *stream) addConsumer(config *ConsumerConfig) (*consumer, erro... method addConsumerWithAssignment (line 960) | func (mset *stream) addConsumerWithAssignment(config *ConsumerConfig, on... method hasGatewayInterest (line 1952) | func (s *Server) hasGatewayInterest(account, subject string) bool { constant defaultConsumerNotActiveStartInterval (line 2010) | defaultConsumerNotActiveStartInterval = 30 * time.Second constant defaultConsumerNotActiveMaxInterval (line 2011) | defaultConsumerNotActiveMaxInterval = 5 * time.Minute method checkNewConsumerConfig (line 2318) | func (acc *Account) checkNewConsumerConfig(cfg, ncfg *ConsumerConfig) er... function configsEqualSansDelivery (line 2550) | func configsEqualSansDelivery(a, b ConsumerConfig) bool { type jsAckMsg (line 2563) | type jsAckMsg struct method returnToPool (line 2587) | func (am *jsAckMsg) returnToPool() { function newJSAckMsg (line 2572) | func newJSAckMsg(subj, reply string, hdr int, msg []byte) *jsAckMsg { constant ackWaitDelay (line 3104) | ackWaitDelay = time.Millisecond type PriorityGroup (line 3684) | type PriorityGroup struct function nextReqFromMsg (line 3701) | func nextReqFromMsg(msg []byte) (time.Time, int, int, bool, time.Duratio... type waitingRequest (line 3739) | type waitingRequest struct method recycleIfDone (line 3763) | func (wr *waitingRequest) recycleIfDone() bool { method recycle (line 3772) | func (wr *waitingRequest) recycle() { type waitingDelivery (line 3780) | type waitingDelivery struct method recycle (line 3794) | func (wd *waitingDelivery) recycle() { type waitQueue (line 3802) | type waitQueue struct method insertSorted (line 3820) | func (wq *waitQueue) insertSorted(wr *waitingRequest) { method addPrioritized (line 3832) | func (wq *waitQueue) addPrioritized(wr *waitingRequest) error { method add (line 3847) | func (wq *waitQueue) add(wr *waitingRequest) error { method isFull (line 3870) | func (wq *waitQueue) isFull() bool { method isEmpty (line 3877) | func (wq *waitQueue) isEmpty() bool { method len (line 3884) | func (wq *waitQueue) len() int { method peek (line 3892) | func (wq *waitQueue) peek() *waitingRequest { method cycle (line 3899) | func (wq *waitQueue) cycle() { method popOrPopAndRequeue (line 3909) | func (wq *waitQueue) popOrPopAndRequeue(priority PriorityPolicy) *wait... method pop (line 3922) | func (wq *waitQueue) pop() *waitingRequest { method popAndRequeue (line 3941) | func (wq *waitQueue) popAndRequeue() *waitingRequest { method removeCurrent (line 4008) | func (wq *waitQueue) removeCurrent() { method remove (line 4013) | func (wq *waitQueue) remove(pre, wr *waitingRequest) { function newWaitQueue (line 3810) | func newWaitQueue(max int) *waitQueue { function insertAtPosition (line 3974) | func insertAtPosition(wr *waitingRequest, wq *waitQueue) { type nextMsgReq (line 4235) | type nextMsgReq struct method returnToPool (line 4257) | func (nmr *nextMsgReq) returnToPool() { function newNextMsgReq (line 4242) | func newNextMsgReq(reply string, msg []byte) *nextMsgReq { function trackDownAccountAndInterest (line 4468) | func trackDownAccountAndInterest(acc *Account, interest string) (*Accoun... function convertToHeadersOnly (line 5385) | func convertToHeadersOnly(pmsg *jsPubMsg) { function parseAckReplyNum (line 5831) | func parseAckReplyNum(d string) (n int64) { constant expectedNumReplyTokens (line 5844) | expectedNumReplyTokens = 9 function replyInfo (line 5847) | func replyInfo(subject string) (sseq, dseq, dc uint64, ts int64, pending... function ackReplyInfo (line 5870) | func ackReplyInfo(subject string) (sseq, dseq, dc uint64) { type lastSeqSkipList (line 5898) | type lastSeqSkipList struct function isDurableConsumer (line 6088) | func isDurableConsumer(config *ConsumerConfig) bool { function createConsumerName (line 6113) | func createConsumerName() string { method deleteConsumer (line 6118) | func (mset *stream) deleteConsumer(o *consumer) error { function stopAndClearTimer (line 6243) | func stopAndClearTimer(tp **time.Timer) { function deliveryFormsCycle (line 6519) | func deliveryFormsCycle(cfg *StreamConfig, deliverySubject string) bool { function subjectSliceEqual (line 6636) | func subjectSliceEqual(slice1 []string, slice2 []string) bool { function gatherSubjectFilters (line 6655) | func gatherSubjectFilters(filter string, filters []string) []string { FILE: server/core_benchmarks_test.go function BenchmarkCoreRequestReply (line 32) | func BenchmarkCoreRequestReply(b *testing.B) { function BenchmarkCoreTLSFanOut (line 101) | func BenchmarkCoreTLSFanOut(b *testing.B) { function BenchmarkCoreFanOut (line 260) | func BenchmarkCoreFanOut(b *testing.B) { function BenchmarkCoreFanIn (line 397) | func BenchmarkCoreFanIn(b *testing.B) { function fastRandomMutation (line 610) | func fastRandomMutation(data []byte, mutations int) { FILE: server/cron.go function parseCron (line 49) | func parseCron(pattern string, tz string, ts int64) (time.Time, error) { function getField (line 155) | func getField(field string, r bounds) (uint64, error) { function getRange (line 170) | func getRange(expr string, r bounds) (uint64, error) { function parseIntOrName (line 237) | func parseIntOrName(expr string, names map[string]uint) (uint, error) { function mustParseInt (line 247) | func mustParseInt(expr string) (uint, error) { function getBits (line 259) | func getBits(min, max, step uint) uint64 { type bounds (line 275) | type bounds struct constant starBit (line 313) | starBit = 1 << 63 function dayMatches (line 318) | func dayMatches(dayOfMonth, dayOfWeek uint64, t time.Time) bool { FILE: server/dirstore.go constant fileExtension (line 36) | fileExtension = ".jwt" function validatePathExists (line 40) | func validatePathExists(path string, dir bool) (string, error) { function validateDirPath (line 68) | func validateDirPath(path string) (string, error) { type JWTChanged (line 73) | type JWTChanged type DirJWTStore (line 77) | type DirJWTStore struct method IsReadOnly (line 193) | func (store *DirJWTStore) IsReadOnly() bool { method LoadAcc (line 197) | func (store *DirJWTStore) LoadAcc(publicKey string) (string, error) { method SaveAcc (line 201) | func (store *DirJWTStore) SaveAcc(publicKey string, theJWT string) err... method LoadAct (line 205) | func (store *DirJWTStore) LoadAct(hash string) (string, error) { method SaveAct (line 209) | func (store *DirJWTStore) SaveAct(hash string, theJWT string) error { method Close (line 213) | func (store *DirJWTStore) Close() { method Pack (line 223) | func (store *DirJWTStore) Pack(maxJWTs int) (string, error) { method PackWalk (line 267) | func (store *DirJWTStore) PackWalk(maxJWTs int, cb func(partialPackMsg... method Merge (line 318) | func (store *DirJWTStore) Merge(pack string) error { method Reload (line 339) | func (store *DirJWTStore) Reload() error { method pathForKey (line 377) | func (store *DirJWTStore) pathForKey(publicKey string) string { method load (line 395) | func (store *DirJWTStore) load(publicKey string) (string, error) { method write (line 412) | func (store *DirJWTStore) write(path string, publicKey string, theJWT ... method delete (line 449) | func (store *DirJWTStore) delete(publicKey string) error { method save (line 478) | func (store *DirJWTStore) save(publicKey string, theJWT string) error { method saveIfNewer (line 506) | func (store *DirJWTStore) saveIfNewer(publicKey string, theJWT string)... method Hash (line 556) | func (store *DirJWTStore) Hash() [sha256.Size]byte { method startExpiring (line 680) | func (store *DirJWTStore) startExpiring(reCheck time.Duration, limit i... function newDir (line 89) | func newDir(dirPath string, create bool) (string, error) { type dirJWTStoreOption (line 106) | type dirJWTStoreOption function NewImmutableDirJWTStore (line 110) | func NewImmutableDirJWTStore(dirPath string, shard bool, _ ...dirJWTStor... function NewDirJWTStore (line 121) | func NewDirJWTStore(dirPath string, shard bool, create bool, _ ...dirJWT... type deleteType (line 133) | type deleteType constant NoDelete (line 136) | NoDelete deleteType = iota constant RenameDeleted (line 137) | RenameDeleted constant HardDelete (line 138) | HardDelete function NewExpiringDirJWTStore (line 150) | func NewExpiringDirJWTStore(dirPath string, shard bool, create bool, del... function xorAssign (line 549) | func xorAssign(lVal *[sha256.Size]byte, rVal [sha256.Size]byte) { type jwtItem (line 567) | type jwtItem struct type expirationTracker (line 575) | type expirationTracker struct method Len (line 587) | func (q *expirationTracker) Len() int { return len(q.heap) } method Less (line 589) | func (q *expirationTracker) Less(i, j int) bool { method Swap (line 594) | func (q *expirationTracker) Swap(i, j int) { method Push (line 601) | func (q *expirationTracker) Push(x any) { method Pop (line 609) | func (q *expirationTracker) Pop() any { method updateTrack (line 621) | func (pq *expirationTracker) updateTrack(publicKey string) { method unTrack (line 635) | func (pq *expirationTracker) unTrack(publicKey string) { method track (line 643) | func (pq *expirationTracker) track(publicKey string, hash *[sha256.Siz... method close (line 672) | func (pq *expirationTracker) close() { FILE: server/dirstore_test.go function init (line 38) | func init() { function TestShardedDirStoreWriteAndReadonly (line 66) | func TestShardedDirStoreWriteAndReadonly(t *testing.T) { function TestUnshardedDirStoreWriteAndReadonly (line 119) | func TestUnshardedDirStoreWriteAndReadonly(t *testing.T) { function TestNoCreateRequiresDir (line 174) | func TestNoCreateRequiresDir(t *testing.T) { function TestCreateMakesDir (line 180) | func TestCreateMakesDir(t *testing.T) { function TestShardedDirStorePackMerge (line 198) | func TestShardedDirStorePackMerge(t *testing.T) { function TestShardedToUnsharedDirStorePackMerge (line 273) | func TestShardedToUnsharedDirStorePackMerge(t *testing.T) { function TestMergeOnlyOnNewer (line 332) | func TestMergeOnlyOnNewer(t *testing.T) { function createTestAccount (line 378) | func createTestAccount(t *testing.T, dirStore *DirJWTStore, expSec int, ... function assertStoreSize (line 393) | func assertStoreSize(t *testing.T, dirStore *DirJWTStore, length int) { function TestExpiration (line 405) | func TestExpiration(t *testing.T) { function TestLimit (line 442) | func TestLimit(t *testing.T) { function TestLimitNoEvict (line 484) | func TestLimitNoEvict(t *testing.T) { function TestLruLoad (line 536) | func TestLruLoad(t *testing.T) { function TestLruVolume (line 568) | func TestLruVolume(t *testing.T) { function TestLru (line 610) | func TestLru(t *testing.T) { function TestReload (line 659) | func TestReload(t *testing.T) { function TestExpirationUpdate (line 720) | func TestExpirationUpdate(t *testing.T) { function TestTTL (line 777) | func TestTTL(t *testing.T) { function TestRemove (line 831) | func TestRemove(t *testing.T) { constant infDur (line 879) | infDur = time.Duration(math.MaxInt64) function TestNotificationOnPack (line 881) | func TestNotificationOnPack(t *testing.T) { function TestNotificationOnPackWalk (line 944) | func TestNotificationOnPackWalk(t *testing.T) { FILE: server/disk_avail.go function diskAvailable (line 23) | func diskAvailable(storeDir string) int64 { FILE: server/disk_avail_netbsd.go function diskAvailable (line 19) | func diskAvailable(storeDir string) int64 { FILE: server/disk_avail_openbsd.go function diskAvailable (line 23) | func diskAvailable(storeDir string) int64 { FILE: server/disk_avail_solaris.go function diskAvailable (line 23) | func diskAvailable(storeDir string) int64 { FILE: server/disk_avail_wasm.go function diskAvailable (line 18) | func diskAvailable(storeDir string) int64 { FILE: server/disk_avail_windows.go function diskAvailable (line 19) | func diskAvailable(storeDir string) int64 { FILE: server/elastic/elastic.go function Make (line 20) | func Make[T any](ptr *T) *Pointer[T] { type Pointer (line 26) | type Pointer struct method Set (line 31) | func (e *Pointer[T]) Set(ptr *T) { method Strengthen (line 38) | func (e *Pointer[T]) Strengthen() { method Weaken (line 45) | func (e *Pointer[T]) Weaken() { method Value (line 52) | func (e *Pointer[T]) Value() *T { FILE: server/errors.go type mappingDestinationErr (line 251) | type mappingDestinationErr struct method Error (line 256) | func (e *mappingDestinationErr) Error() string { method Is (line 263) | func (e *mappingDestinationErr) Is(target error) bool { type configErr (line 268) | type configErr struct method Source (line 274) | func (e *configErr) Source() string { method Error (line 279) | func (e *configErr) Error() string { type unknownConfigFieldErr (line 287) | type unknownConfigFieldErr struct method Error (line 293) | func (e *unknownConfigFieldErr) Error() string { type configWarningErr (line 298) | type configWarningErr struct method Error (line 304) | func (e *configWarningErr) Error() string { type processConfigErr (line 309) | type processConfigErr struct method Error (line 316) | func (e *processConfigErr) Error() string { method Warnings (line 328) | func (e *processConfigErr) Warnings() []error { method Errors (line 333) | func (e *processConfigErr) Errors() []error { type errCtx (line 339) | type errCtx struct method Unwrap (line 349) | func (e *errCtx) Unwrap() error { method Context (line 357) | func (e *errCtx) Context() string { function NewErrorCtx (line 344) | func NewErrorCtx(err error, format string, args ...any) error { function UnpackIfErrorCtx (line 365) | func UnpackIfErrorCtx(err error) string { function errorsUnwrap (line 377) | func errorsUnwrap(err error) error { function ErrorIs (line 389) | func ErrorIs(err, target error) bool { FILE: server/errors_gen.go function panicIfErr (line 76) | func panicIfErr(err error) { function goFmt (line 83) | func goFmt(file string) error { function checkIncrements (line 93) | func checkIncrements(errs []server.ErrorsData) error { function checkDupes (line 115) | func checkDupes(errs []server.ErrorsData) error { function findTags (line 144) | func findTags(d string) []string { function main (line 159) | func main() { FILE: server/errors_test.go function TestErrCtx (line 21) | func TestErrCtx(t *testing.T) { function TestErrCtxWrapped (line 46) | func TestErrCtxWrapped(t *testing.T) { FILE: server/events.go constant accLookupReqTokens (line 42) | accLookupReqTokens = 6 constant accLookupReqSubj (line 43) | accLookupReqSubj = "$SYS.REQ.ACCOUNT.%s.CLAIMS.LOOKUP" constant accPackReqSubj (line 44) | accPackReqSubj = "$SYS.REQ.CLAIMS.PACK" constant accListReqSubj (line 45) | accListReqSubj = "$SYS.REQ.CLAIMS.LIST" constant accClaimsReqSubj (line 46) | accClaimsReqSubj = "$SYS.REQ.CLAIMS.UPDATE" constant accDeleteReqSubj (line 47) | accDeleteReqSubj = "$SYS.REQ.CLAIMS.DELETE" constant connectEventSubj (line 49) | connectEventSubj = "$SYS.ACCOUNT.%s.CONNECT" constant disconnectEventSubj (line 50) | disconnectEventSubj = "$SYS.ACCOUNT.%s.DISCONNECT" constant accDirectReqSubj (line 51) | accDirectReqSubj = "$SYS.REQ.ACCOUNT.%s.%s" constant accPingReqSubj (line 52) | accPingReqSubj = "$SYS.REQ.ACCOUNT.PING.%s" constant accUpdateEventSubjOld (line 55) | accUpdateEventSubjOld = "$SYS.ACCOUNT.%s.CLAIMS.UPDATE" constant accUpdateEventSubjNew (line 56) | accUpdateEventSubjNew = "$SYS.REQ.ACCOUNT.%s.CLAIMS.UPDATE" constant connsRespSubj (line 57) | connsRespSubj = "$SYS._INBOX_.%s" constant accConnsEventSubjNew (line 58) | accConnsEventSubjNew = "$SYS.ACCOUNT.%s.SERVER.CONNS" constant accConnsEventSubjOld (line 59) | accConnsEventSubjOld = "$SYS.SERVER.ACCOUNT.%s.CONNS" constant lameDuckEventSubj (line 60) | lameDuckEventSubj = "$SYS.SERVER.%s.LAMEDUCK" constant shutdownEventSubj (line 61) | shutdownEventSubj = "$SYS.SERVER.%s.SHUTDOWN" constant clientKickReqSubj (line 62) | clientKickReqSubj = "$SYS.REQ.SERVER.%s.KICK" constant clientLDMReqSubj (line 63) | clientLDMReqSubj = "$SYS.REQ.SERVER.%s.LDM" constant authErrorEventSubj (line 64) | authErrorEventSubj = "$SYS.SERVER.%s.CLIENT.AUTH.ERR" constant authErrorAccountEventSubj (line 65) | authErrorAccountEventSubj = "$SYS.ACCOUNT.CLIENT.AUTH.ERR" constant serverStatsSubj (line 66) | serverStatsSubj = "$SYS.SERVER.%s.STATSZ" constant serverDirectReqSubj (line 67) | serverDirectReqSubj = "$SYS.REQ.SERVER.%s.%s" constant serverPingReqSubj (line 68) | serverPingReqSubj = "$SYS.REQ.SERVER.PING.%s" constant serverStatsPingReqSubj (line 69) | serverStatsPingReqSubj = "$SYS.REQ.SERVER.PING" constant serverReloadReqSubj (line 70) | serverReloadReqSubj = "$SYS.REQ.SERVER.%s.RELOAD" constant leafNodeConnectEventSubj (line 71) | leafNodeConnectEventSubj = "$SYS.ACCOUNT.%s.LEAFNODE.CONNECT" constant remoteLatencyEventSubj (line 72) | remoteLatencyEventSubj = "$SYS.LATENCY.M2.%s" constant inboxRespSubj (line 73) | inboxRespSubj = "$SYS._INBOX.%s.%s" constant userDirectInfoSubj (line 76) | userDirectInfoSubj = "$SYS.REQ.USER.INFO" constant userDirectReqSubj (line 77) | userDirectReqSubj = "$SYS.REQ.USER.%s.INFO" constant accNumSubsReqSubj (line 81) | accNumSubsReqSubj = "$SYS.REQ.ACCOUNT.NSUBS" constant accSubsSubj (line 84) | accSubsSubj = "$SYS.DEBUG.SUBSCRIBERS" constant shutdownEventTokens (line 86) | shutdownEventTokens = 4 constant serverSubjectIndex (line 87) | serverSubjectIndex = 2 constant accUpdateTokensNew (line 88) | accUpdateTokensNew = 6 constant accUpdateTokensOld (line 89) | accUpdateTokensOld = 5 constant accUpdateAccIdxOld (line 90) | accUpdateAccIdxOld = 2 constant accReqTokens (line 92) | accReqTokens = 5 constant accReqAccIndex (line 93) | accReqAccIndex = 3 constant ocspPeerRejectEventSubj (line 95) | ocspPeerRejectEventSubj = "$SYS.SERVER.%s.OCSP.PEER.CONN.REJECT" constant ocspPeerChainlinkInvalidEventSubj (line 96) | ocspPeerChainlinkInvalidEventSubj = "$SYS.SERVER.%s.OCSP.PEER.LINK.INVALID" constant defaultStatszRateLimit (line 104) | defaultStatszRateLimit = 1 * time.Second type sysMsgHandler (line 109) | type sysMsgHandler type inSysMsg (line 112) | type inSysMsg struct type internal (line 124) | type internal struct type ServerStatsMsg (line 150) | type ServerStatsMsg struct type ConnectEventMsg (line 156) | type ConnectEventMsg struct constant ConnectEventMsgType (line 163) | ConnectEventMsgType = "io.nats.server.advisory.v1.client_connect" type DisconnectEventMsg (line 167) | type DisconnectEventMsg struct constant DisconnectEventMsgType (line 177) | DisconnectEventMsgType = "io.nats.server.advisory.v1.client_disconnect" type OCSPPeerRejectEventMsg (line 182) | type OCSPPeerRejectEventMsg struct constant OCSPPeerRejectEventMsgType (line 191) | OCSPPeerRejectEventMsgType = "io.nats.server.advisory.v1.ocsp_peer_reject" type OCSPPeerChainlinkInvalidEventMsg (line 196) | type OCSPPeerChainlinkInvalidEventMsg struct constant OCSPPeerChainlinkInvalidEventMsgType (line 205) | OCSPPeerChainlinkInvalidEventMsgType = "io.nats.server.advisory.v1.ocsp_... type AccountNumConns (line 210) | type AccountNumConns struct type AccountStat (line 217) | type AccountStat struct constant AccountNumConnsMsgType (line 229) | AccountNumConnsMsgType = "io.nats.server.advisory.v1.account_connections" type accNumConnsReq (line 233) | type accNumConnsReq struct type ServerID (line 239) | type ServerID struct type ServerCapability (line 246) | type ServerCapability type ServerInfo (line 249) | type ServerInfo struct method SetJetStreamEnabled (line 274) | func (si *ServerInfo) SetJetStreamEnabled() { method JetStreamEnabled (line 281) | func (si *ServerInfo) JetStreamEnabled() bool { method SetBinaryStreamSnapshot (line 287) | func (si *ServerInfo) SetBinaryStreamSnapshot() { method BinaryStreamSnapshot (line 292) | func (si *ServerInfo) BinaryStreamSnapshot() bool { method SetAccountNRG (line 297) | func (si *ServerInfo) SetAccountNRG() { method AccountNRG (line 303) | func (si *ServerInfo) AccountNRG() bool { constant JetStreamEnabled (line 268) | JetStreamEnabled ServerCapability = 1 << iota constant BinaryStreamSnapshot (line 269) | BinaryStreamSnapshot constant AccountNRG (line 270) | AccountNRG type ClientInfo (line 308) | type ClientInfo struct method forAssignmentSnap (line 335) | func (ci *ClientInfo) forAssignmentSnap() *ClientInfo { method forProposal (line 344) | func (ci *ClientInfo) forProposal() *ClientInfo { method forAdvisory (line 355) | func (ci *ClientInfo) forAdvisory() *ClientInfo { type ServerStats (line 366) | type ServerStats struct type RouteStat (line 391) | type RouteStat struct type GatewayStat (line 400) | type GatewayStat struct type MsgBytes (line 408) | type MsgBytes struct type DataStats (line 414) | type DataStats struct type pubMsg (line 422) | type pubMsg struct method returnToPool (line 453) | func (pm *pubMsg) returnToPool() { function newPubMsg (line 436) | func newPubMsg(c *client, sub, rply string, si *ServerInfo, hdr []byte, type serverUpdate (line 462) | type serverUpdate struct type TypedEvent (line 469) | type TypedEvent struct method internalReceiveLoop (line 477) | func (s *Server) internalReceiveLoop(recvq *ipQueue[*inSysMsg]) { method internalSendLoop (line 496) | func (s *Server) internalSendLoop(wg *sync.WaitGroup) { method sendLDMShutdownEventLocked (line 675) | func (s *Server) sendLDMShutdownEventLocked() { method sendShutdownEvent (line 685) | func (s *Server) sendShutdownEvent() { method sendInternalAccountMsg (line 704) | func (s *Server) sendInternalAccountMsg(a *Account, subject string, msg ... method sendInternalAccountMsgWithReply (line 709) | func (s *Server) sendInternalAccountMsgWithReply(a *Account, subject, re... method sendInternalAccountSysMsg (line 733) | func (s *Server) sendInternalAccountSysMsg(a *Account, subj string, si *... method sendInternalMsgLocked (line 751) | func (s *Server) sendInternalMsgLocked(subj, rply string, si *ServerInfo... method sendInternalMsg (line 759) | func (s *Server) sendInternalMsg(subj, rply string, si *ServerInfo, msg ... method sendInternalResponse (line 767) | func (s *Server) sendInternalResponse(subj string, response *ServerAPIRe... method sendInternalMsg (line 778) | func (c *client) sendInternalMsg(subj, rply string, si *ServerInfo, msg ... method eventsRunning (line 796) | func (s *Server) eventsRunning() bool { method EventsEnabled (line 808) | func (s *Server) EventsEnabled() bool { method eventsEnabled (line 816) | func (s *Server) eventsEnabled() bool { method TrackedRemoteServers (line 822) | func (s *Server) TrackedRemoteServers() int { method checkRemoteServers (line 833) | func (s *Server) checkRemoteServers() { method updateServerUsage (line 849) | func (s *Server) updateServerUsage(v *ServerStats) { function routeStat (line 860) | func routeStat(r *client) *RouteStat { method sendStatsz (line 892) | func (s *Server) sendStatsz(subj string) { method limitStatsz (line 1076) | func (s *Server) limitStatsz(subj string) bool { method heartbeatStatsz (line 1106) | func (s *Server) heartbeatStatsz() { method resetLastStatsz (line 1123) | func (s *Server) resetLastStatsz() { method sendStatszUpdate (line 1127) | func (s *Server) sendStatszUpdate() { method startStatszTimer (line 1132) | func (s *Server) startStatszTimer() { method startRemoteServerSweepTimer (line 1141) | func (s *Server) startRemoteServerSweepTimer() { constant sysHashLen (line 1146) | sysHashLen = 8 function getHash (line 1149) | func getHash(name string) string { function getHashSize (line 1154) | func getHashSize(name string, size int) string { method Node (line 1165) | func (s *Server) Node() string { method initEventTracking (line 1180) | func (s *Server) initEventTracking() { type UserInfo (line 1508) | type UserInfo struct method userInfoReq (line 1518) | func (s *Server) userInfoReq(sub *subscription, c *client, _ *Account, s... method registerSystemImportsForExisting (line 1555) | func (s *Server) registerSystemImportsForExisting() { method addSystemAccountExports (line 1579) | func (s *Server) addSystemAccountExports(sacc *Account) { method accountClaimUpdate (line 1631) | func (s *Server) accountClaimUpdate(sub *subscription, c *client, _ *Acc... method processRemoteServerShutdown (line 1665) | func (s *Server) processRemoteServerShutdown(sid string) { method sameDomain (line 1683) | func (s *Server) sameDomain(domain string) bool { method remoteServerShutdown (line 1688) | func (s *Server) remoteServerShutdown(sub *subscription, c *client, _ *A... method remoteServerUpdate (line 1727) | func (s *Server) remoteServerUpdate(sub *subscription, c *client, _ *Acc... method updateRemoteServer (line 1786) | func (s *Server) updateRemoteServer(si *ServerInfo) { method processNewServer (line 1804) | func (s *Server) processNewServer(si *ServerInfo) { method updateNRGAccountStatus (line 1839) | func (s *Server) updateNRGAccountStatus() { method ensureGWsInterestOnlyForLeafNodes (line 1861) | func (s *Server) ensureGWsInterestOnlyForLeafNodes() { method shutdownEventing (line 1875) | func (s *Server) shutdownEventing() { method connsRequest (line 1909) | func (s *Server) connsRequest(sub *subscription, c *client, _ *Account, ... method leafNodeConnected (line 1948) | func (s *Server) leafNodeConnected(sub *subscription, _ *client, _ *Acco... type EventFilterOptions (line 1969) | type EventFilterOptions struct type StatszEventOptions (line 1979) | type StatszEventOptions struct type AccInfoEventOptions (line 1985) | type AccInfoEventOptions struct type ConnzEventOptions (line 1991) | type ConnzEventOptions struct type RoutezEventOptions (line 1997) | type RoutezEventOptions struct type SubszEventOptions (line 2003) | type SubszEventOptions struct type VarzEventOptions (line 2009) | type VarzEventOptions struct type GatewayzEventOptions (line 2015) | type GatewayzEventOptions struct type LeafzEventOptions (line 2021) | type LeafzEventOptions struct type AccountzEventOptions (line 2027) | type AccountzEventOptions struct type AccountStatzEventOptions (line 2033) | type AccountStatzEventOptions struct type JszEventOptions (line 2039) | type JszEventOptions struct type HealthzEventOptions (line 2045) | type HealthzEventOptions struct type ProfilezEventOptions (line 2051) | type ProfilezEventOptions struct type ExpvarzEventOptions (line 2057) | type ExpvarzEventOptions struct type IpqueueszEventOptions (line 2062) | type IpqueueszEventOptions struct type RaftzEventOptions (line 2068) | type RaftzEventOptions struct method filterRequest (line 2075) | func (s *Server) filterRequest(fOpts *EventFilterOptions) bool { type compressionType (line 2105) | type compressionType constant noCompression (line 2108) | noCompression = compressionType(iota) constant gzipCompression (line 2109) | gzipCompression constant snappyCompression (line 2110) | snappyCompression constant unsupportedCompression (line 2111) | unsupportedCompression type ServerAPIResponse (line 2115) | type ServerAPIResponse struct type ServerAPIConnzResponse (line 2129) | type ServerAPIConnzResponse struct type ServerAPIRoutezResponse (line 2136) | type ServerAPIRoutezResponse struct type ServerAPIGatewayzResponse (line 2143) | type ServerAPIGatewayzResponse struct type ServerAPIJszResponse (line 2150) | type ServerAPIJszResponse struct type ServerAPIHealthzResponse (line 2157) | type ServerAPIHealthzResponse struct type ServerAPIVarzResponse (line 2164) | type ServerAPIVarzResponse struct type ServerAPISubszResponse (line 2171) | type ServerAPISubszResponse struct type ServerAPILeafzResponse (line 2178) | type ServerAPILeafzResponse struct type ServerAPIAccountzResponse (line 2185) | type ServerAPIAccountzResponse struct type ServerAPIExpvarzResponse (line 2192) | type ServerAPIExpvarzResponse struct type ServerAPIpqueueszResponse (line 2199) | type ServerAPIpqueueszResponse struct type ServerAPIRaftzResponse (line 2206) | type ServerAPIRaftzResponse struct method statszReq (line 2213) | func (s *Server) statszReq(sub *subscription, c *client, _ *Account, sub... method idzReq (line 2242) | func (s *Server) idzReq(sub *subscription, c *client, _ *Account, subjec... constant acceptEncodingHeader (line 2256) | acceptEncodingHeader = "Accept-Encoding" constant contentEncodingHeader (line 2257) | contentEncodingHeader = "Content-Encoding" function getAcceptEncoding (line 2261) | func getAcceptEncoding(hdr []byte) compressionType { method zReq (line 2275) | func (s *Server) zReq(_ *client, reply string, hdr, msg []byte, fOpts *E... method remoteConnsUpdate (line 2306) | func (s *Server) remoteConnsUpdate(sub *subscription, c *client, _ *Acco... method registerSystemImports (line 2354) | func (s *Server) registerSystemImports(a *Account) { method enableAccountTracking (line 2389) | func (s *Server) enableAccountTracking(a *Account) { method sendLeafNodeConnect (line 2406) | func (s *Server) sendLeafNodeConnect(a *Account) { method sendLeafNodeConnectMsg (line 2421) | func (s *Server) sendLeafNodeConnectMsg(accName string) { method sendAccConnsUpdate (line 2430) | func (s *Server) sendAccConnsUpdate(a *Account, subj ...string) { method statz (line 2469) | func (a *Account) statz() *AccountStat { method accConnsUpdate (line 2529) | func (s *Server) accConnsUpdate(a *Account) { method nextEventID (line 2539) | func (s *Server) nextEventID() string { method accountConnectEvent (line 2545) | func (s *Server) accountConnectEvent(c *client) { method accountDisconnectEvent (line 2592) | func (s *Server) accountDisconnectEvent(c *client, now time.Time, reason... method sendAuthErrorEvent (line 2654) | func (s *Server) sendAuthErrorEvent(c *client, reason string) { method sendAccountAuthErrorEvent (line 2713) | func (s *Server) sendAccountAuthErrorEvent(c *client, acc *Account, reas... type msgHandler (line 2774) | type msgHandler constant recvQMuxed (line 2777) | recvQMuxed = 1 constant recvQStatsz (line 2778) | recvQStatsz = 2 method noInlineCallback (line 2783) | func (s *Server) noInlineCallback(cb sysMsgHandler) msgHandler { method noInlineCallbackStatsz (line 2789) | func (s *Server) noInlineCallbackStatsz(cb sysMsgHandler) msgHandler { method noInlineCallbackRecvQSelect (line 2795) | func (s *Server) noInlineCallbackRecvQSelect(cb sysMsgHandler, recvQSele... method sysSubscribe (line 2819) | func (s *Server) sysSubscribe(subject string, cb msgHandler) (*subscript... method sysSubscribeQ (line 2824) | func (s *Server) sysSubscribeQ(subject, queue string, cb msgHandler) (*s... method sysSubscribeInternal (line 2829) | func (s *Server) sysSubscribeInternal(subject string, cb msgHandler) (*s... method systemSubscribe (line 2833) | func (s *Server) systemSubscribe(subject, queue string, internalOnly boo... method sysUnsubscribe (line 2865) | func (s *Server) sysUnsubscribe(sub *subscription) { function remoteLatencySubjectForResponse (line 2883) | func remoteLatencySubjectForResponse(subject []byte) string { method remoteLatencyUpdate (line 2893) | func (s *Server) remoteLatencyUpdate(sub *subscription, _ *client, _ *Ac... method inboxReply (line 2951) | func (s *Server) inboxReply(sub *subscription, c *client, acc *Account, ... constant InboxPrefix (line 2969) | InboxPrefix = "$SYS._INBOX." constant inboxPrefixLen (line 2970) | inboxPrefixLen = len(InboxPrefix) constant respInboxPrefixLen (line 2971) | respInboxPrefixLen = inboxPrefixLen + sysHashLen + 1 constant replySuffixLen (line 2972) | replySuffixLen = 8 method newRespInbox (line 2976) | func (s *Server) newRespInbox() string { type accNumSubsReq (line 2989) | type accNumSubsReq struct function totalSubs (line 2996) | func totalSubs(rr *SublistResult, qg []byte) (nsubs int32) { method debugSubscribers (line 3024) | func (s *Server) debugSubscribers(sub *subscription, c *client, _ *Accou... method nsubsRequest (line 3152) | func (s *Server) nsubsRequest(sub *subscription, c *client, _ *Account, ... method reloadConfig (line 3191) | func (s *Server) reloadConfig(sub *subscription, c *client, _ *Account, ... type KickClientReq (line 3203) | type KickClientReq struct type LDMClientReq (line 3207) | type LDMClientReq struct method kickClient (line 3211) | func (s *Server) kickClient(_ *subscription, c *client, _ *Account, subj... method ldmClient (line 3229) | func (s *Server) ldmClient(_ *subscription, c *client, _ *Account, subje... function accForClient (line 3247) | func accForClient(c *client) string { function issuerForClient (line 3255) | func issuerForClient(c *client) (issuerKey string) { function clearTimer (line 3267) | func clearTimer(tp **time.Timer) { method wrapChk (line 3276) | func (s *Server) wrapChk(f func()) func() { method sendOCSPPeerRejectEvent (line 3290) | func (s *Server) sendOCSPPeerRejectEvent(kind string, peer *x509.Certifi... method sendOCSPPeerChainlinkInvalidEvent (line 3323) | func (s *Server) sendOCSPPeerChainlinkInvalidEvent(peer *x509.Certificat... FILE: server/events_test.go function createAccount (line 41) | func createAccount(s *Server) (*Account, nkeys.KeyPair) { function createUserCredsEx (line 55) | func createUserCredsEx(t *testing.T, nuc *jwt.UserClaims, akp nkeys.KeyP... function createUserCreds (line 73) | func createUserCreds(t *testing.T, _ *Server, akp nkeys.KeyPair) nats.Op... function runTrustedServer (line 77) | func runTrustedServer(t *testing.T) (*Server, *Options) { function runTrustedCluster (line 88) | func runTrustedCluster(t *testing.T) (*Server, *Options, *Server, *Optio... function runTrustedGateways (line 132) | func runTrustedGateways(t *testing.T) (*Server, *Options, *Server, *Opti... function TestSystemAccount (line 176) | func TestSystemAccount(t *testing.T) { function TestSystemAccountNewConnection (line 200) | func TestSystemAccountNewConnection(t *testing.T) { function runTrustedLeafServer (line 383) | func runTrustedLeafServer(t *testing.T) (*Server, *Options) { function genCredsFile (line 395) | func genCredsFile(t *testing.T, jwt string, seed []byte) string { function runSolicitWithCredentials (line 414) | func runSolicitWithCredentials(t *testing.T, opts *Options, creds string... function checkLeafNodeConnected (line 433) | func checkLeafNodeConnected(t testing.TB, s *Server) { function checkLeafNodeConnectedCount (line 439) | func checkLeafNodeConnectedCount(t testing.TB, s *Server, lnCons int) { function TestSystemAccountingWithLeafNodes (line 450) | func TestSystemAccountingWithLeafNodes(t *testing.T) { function TestSystemAccountDisconnectBadLogin (line 572) | func TestSystemAccountDisconnectBadLogin(t *testing.T) { function TestSysSubscribeRace (line 607) | func TestSysSubscribeRace(t *testing.T) { function TestSystemAccountInternalSubscriptions (line 661) | func TestSystemAccountInternalSubscriptions(t *testing.T) { function TestSystemAccountConnectionUpdatesStopAfterNoLocal (line 745) | func TestSystemAccountConnectionUpdatesStopAfterNoLocal(t *testing.T) { function TestSystemAccountConnectionLimits (line 847) | func TestSystemAccountConnectionLimits(t *testing.T) { function TestBadAccountUpdate (line 891) | func TestBadAccountUpdate(t *testing.T) { function TestSystemAccountSystemConnectionLimitsHonored (line 913) | func TestSystemAccountSystemConnectionLimitsHonored(t *testing.T) { function TestSystemAccountConnectionLimitsServersStaggered (line 979) | func TestSystemAccountConnectionLimitsServersStaggered(t *testing.T) { function TestSystemAccountConnectionLimitsServerShutdownGraceful (line 1029) | func TestSystemAccountConnectionLimitsServerShutdownGraceful(t *testing.... function TestSystemAccountConnectionLimitsServerShutdownForced (line 1083) | func TestSystemAccountConnectionLimitsServerShutdownForced(t *testing.T) { function TestSystemAccountFromConfig (line 1142) | func TestSystemAccountFromConfig(t *testing.T) { function TestAccountClaimsUpdates (line 1174) | func TestAccountClaimsUpdates(t *testing.T) { function TestAccountReqMonitoring (line 1233) | func TestAccountReqMonitoring(t *testing.T) { function TestAccountReqInfo (line 1354) | func TestAccountReqInfo(t *testing.T) { function TestAccountClaimsUpdatesWithServiceImports (line 1470) | func TestAccountClaimsUpdatesWithServiceImports(t *testing.T) { function TestAccountConnsLimitExceededAfterUpdate (line 1527) | func TestAccountConnsLimitExceededAfterUpdate(t *testing.T) { function TestAccountConnsLimitExceededAfterUpdateDisconnectNewOnly (line 1576) | func TestAccountConnsLimitExceededAfterUpdateDisconnectNewOnly(t *testin... function TestSystemAccountWithBadRemoteLatencyUpdate (line 1634) | func TestSystemAccountWithBadRemoteLatencyUpdate(t *testing.T) { function TestSystemAccountWithGateways (line 1649) | func TestSystemAccountWithGateways(t *testing.T) { function TestSystemAccountNoAuthUser (line 1715) | func TestSystemAccountNoAuthUser(t *testing.T) { function TestServerAccountConns (line 1773) | func TestServerAccountConns(t *testing.T) { function TestServerEventsStatsZ (line 1819) | func TestServerEventsStatsZ(t *testing.T) { function TestServerEventsHealthZSingleServer (line 1979) | func TestServerEventsHealthZSingleServer(t *testing.T) { function TestServerEventsHealthZClustered (line 2296) | func TestServerEventsHealthZClustered(t *testing.T) { function TestServerEventsHealthZClustered_NoReplicas (line 2599) | func TestServerEventsHealthZClustered_NoReplicas(t *testing.T) { function TestServerEventsHealthZJetStreamNotEnabled (line 2752) | func TestServerEventsHealthZJetStreamNotEnabled(t *testing.T) { function TestServerEventsPingStatsZ (line 2792) | func TestServerEventsPingStatsZ(t *testing.T) { function TestServerEventsPingStatsZDedicatedRecvQ (line 2853) | func TestServerEventsPingStatsZDedicatedRecvQ(t *testing.T) { function TestServerEventsPingStatsZFilter (line 2909) | func TestServerEventsPingStatsZFilter(t *testing.T) { function TestServerEventsPingStatsZFailFilter (line 2950) | func TestServerEventsPingStatsZFailFilter(t *testing.T) { function TestServerEventsPingMonitorz (line 2976) | func TestServerEventsPingMonitorz(t *testing.T) { function TestGatewayNameClientInfo (line 3134) | func TestGatewayNameClientInfo(t *testing.T) { type slowAccResolver (line 3152) | type slowAccResolver struct method Fetch (line 3158) | func (sr *slowAccResolver) Fetch(name string) (string, error) { function TestConnectionUpdatesTimerProperlySet (line 3168) | func TestConnectionUpdatesTimerProperlySet(t *testing.T) { function TestServerEventsReceivedByQSubs (line 3234) | func TestServerEventsReceivedByQSubs(t *testing.T) { function TestServerEventsFilteredByTag (line 3269) | func TestServerEventsFilteredByTag(t *testing.T) { function TestServerUnstableEventFilterMatch (line 3354) | func TestServerUnstableEventFilterMatch(t *testing.T) { function TestServerEventsAndDQSubscribers (line 3435) | func TestServerEventsAndDQSubscribers(t *testing.T) { function TestServerEventsStatszSingleServer (line 3457) | func TestServerEventsStatszSingleServer(t *testing.T) { function TestServerEventsReload (line 3491) | func TestServerEventsReload(t *testing.T) { function TestServerEventsLDMKick (line 3566) | func TestServerEventsLDMKick(t *testing.T) { function Benchmark_GetHash (line 3642) | func Benchmark_GetHash(b *testing.B) { function TestClusterSetupMsgs (line 3683) | func TestClusterSetupMsgs(t *testing.T) { function TestServerEventsProfileZNotBlockingRecvQ (line 3706) | func TestServerEventsProfileZNotBlockingRecvQ(t *testing.T) { function TestServerEventsStatsZJetStreamApiLevel (line 3767) | func TestServerEventsStatsZJetStreamApiLevel(t *testing.T) { function TestServerEventsPingStatsSlowConsumersStats (line 3790) | func TestServerEventsPingStatsSlowConsumersStats(t *testing.T) { function TestServerEventsPingStatsStaleConnectionStats (line 3850) | func TestServerEventsPingStatsStaleConnectionStats(t *testing.T) { function TestServerEventsStatszMaxProcsMemLimit (line 3937) | func TestServerEventsStatszMaxProcsMemLimit(t *testing.T) { function TestSubszPagination (line 3968) | func TestSubszPagination(t *testing.T) { function TestServerEventsConnectDisconnectForGlobalAcc (line 4036) | func TestServerEventsConnectDisconnectForGlobalAcc(t *testing.T) { FILE: server/filestore.go type FileStoreConfig (line 57) | type FileStoreConfig struct type FileStreamInfo (line 82) | type FileStreamInfo struct type StoreCipher (line 87) | type StoreCipher method String (line 95) | func (cipher StoreCipher) String() string { constant ChaCha (line 90) | ChaCha StoreCipher = iota constant AES (line 91) | AES constant NoCipher (line 92) | NoCipher type StoreCompression (line 108) | type StoreCompression method String (line 115) | func (alg StoreCompression) String() string { method MarshalJSON (line 126) | func (alg StoreCompression) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 139) | func (alg *StoreCompression) UnmarshalJSON(b []byte) error { method Compress (line 13294) | func (alg StoreCompression) Compress(buf []byte) ([]byte, error) { method Decompress (line 13334) | func (alg StoreCompression) Decompress(buf []byte) ([]byte, error) { constant NoCompression (line 111) | NoCompression StoreCompression = iota constant S2Compression (line 112) | S2Compression type FileConsumerInfo (line 156) | type FileConsumerInfo struct constant defaultDirPerms (line 164) | defaultDirPerms = os.FileMode(0700) constant defaultFilePerms (line 165) | defaultFilePerms = os.FileMode(0600) type psi (line 168) | type psi struct type fileStore (line 174) | type fileStore struct method lockAllMsgBlocks (line 652) | func (fs *fileStore) lockAllMsgBlocks() { method unlockAllMsgBlocks (line 660) | func (fs *fileStore) unlockAllMsgBlocks() { method UpdateConfig (line 666) | func (fs *fileStore) UpdateConfig(cfg *StreamConfig) error { method genEncryptionKeys (line 846) | func (fs *fileStore) genEncryptionKeys(context string) (aek cipher.AEA... method recoverAEK (line 908) | func (fs *fileStore) recoverAEK() error { method setupAEK (line 937) | func (fs *fileStore) setupAEK() error { method writeStreamMeta (line 959) | func (fs *fileStore) writeStreamMeta() error { method noTrackSubjects (line 1071) | func (fs *fileStore) noTrackSubjects() bool { method initMsgBlock (line 1076) | func (fs *fileStore) initMsgBlock(index uint32) *msgBlock { method loadEncryptionForMsgBlock (line 1108) | func (fs *fileStore) loadEncryptionForMsgBlock(mb *msgBlock) error { method recoverMsgBlock (line 1178) | func (fs *fileStore) recoverMsgBlock(index uint32) (*msgBlock, error) { method lostData (line 1266) | func (fs *fileStore) lostData() *LostStreamData { method addLostData (line 1277) | func (fs *fileStore) addLostData(ld *LostStreamData) { method removeFromLostData (line 1307) | func (fs *fileStore) removeFromLostData(seq uint64) { method rebuildState (line 1319) | func (fs *fileStore) rebuildState(ld *LostStreamData) { method rebuildStateLocked (line 1326) | func (fs *fileStore) rebuildStateLocked(ld *LostStreamData) { method warn (line 1791) | func (fs *fileStore) warn(format string, args ...any) { method error (line 1801) | func (fs *fileStore) error(format string, args ...any) { method debug (line 1811) | func (fs *fileStore) debug(format string, args ...any) { method recoverFullState (line 1847) | func (fs *fileStore) recoverFullState() (rerr error) { method recoverTTLState (line 2138) | func (fs *fileStore) recoverTTLState() error { method recoverMsgSchedulingState (line 2219) | func (fs *fileStore) recoverMsgSchedulingState() error { method cleanupOldMeta (line 2334) | func (fs *fileStore) cleanupOldMeta() { method recoverMsgs (line 2361) | func (fs *fileStore) recoverMsgs() error { method expireMsgsOnRecover (line 2504) | func (fs *fileStore) expireMsgsOnRecover() error { method GetSeqFromTime (line 2719) | func (fs *fileStore) GetSeqFromTime(t time.Time) uint64 { method FilteredState (line 3346) | func (fs *fileStore) FilteredState(sseq uint64, subj string) (SimpleSt... method checkSkipFirstBlock (line 3401) | func (fs *fileStore) checkSkipFirstBlock(filter string, wc bool, bi in... method checkSkipFirstBlockMulti (line 3429) | func (fs *fileStore) checkSkipFirstBlockMulti(sl *gsl.SimpleSublist, b... method selectSkipFirstBlock (line 3447) | func (fs *fileStore) selectSkipFirstBlock(bi int, start, stop uint32) ... method numFilteredPending (line 3468) | func (fs *fileStore) numFilteredPending(filter string, ss *SimpleState... method numFilteredPendingNoLast (line 3474) | func (fs *fileStore) numFilteredPendingNoLast(filter string, ss *Simpl... method numFilteredPendingWithLast (line 3481) | func (fs *fileStore) numFilteredPendingWithLast(filter string, last bo... method SubjectsState (line 3582) | func (fs *fileStore) SubjectsState(subject string) map[string]SimpleSt... method AllLastSeqs (line 3672) | func (fs *fileStore) AllLastSeqs() ([]uint64, error) { method allLastSeqsLocked (line 3681) | func (fs *fileStore) allLastSeqsLocked() ([]uint64, error) { method filterIsAll (line 3741) | func (fs *fileStore) filterIsAll(filters []string) bool { method MultiLastSeqs (line 3758) | func (fs *fileStore) MultiLastSeqs(filters []string, maxSeq uint64, ma... method NumPending (line 3898) | func (fs *fileStore) NumPending(sseq uint64, filter string, lastPerSub... method NumPendingMulti (line 4249) | func (fs *fileStore) NumPendingMulti(sseq uint64, sl *gsl.SimpleSublis... method SubjectsTotals (line 4595) | func (fs *fileStore) SubjectsTotals(filter string) map[string]uint64 { method subjectsTotalsLocked (line 4602) | func (fs *fileStore) subjectsTotalsLocked(filter string) map[string]ui... method RegisterStorageUpdates (line 4620) | func (fs *fileStore) RegisterStorageUpdates(cb StorageUpdateHandler) { method RegisterStorageRemoveMsg (line 4632) | func (fs *fileStore) RegisterStorageRemoveMsg(cb StorageRemoveMsgHandl... method RegisterProcessJetStreamMsg (line 4639) | func (fs *fileStore) RegisterProcessJetStreamMsg(cb ProcessJetStreamMs... method hashKeyForBlock (line 4647) | func (fs *fileStore) hashKeyForBlock(index uint32) []byte { method newMsgBlockForWrite (line 4693) | func (fs *fileStore) newMsgBlockForWrite() (*msgBlock, error) { method genEncryptionKeysForBlock (line 4791) | func (fs *fileStore) genEncryptionKeysForBlock(mb *msgBlock) error { method storeRawMsg (line 4815) | func (fs *fileStore) storeRawMsg(subj string, hdr, msg []byte, seq uin... method setWriteErr (line 4999) | func (fs *fileStore) setWriteErr(err error) { method StoreRawMsg (line 5022) | func (fs *fileStore) StoreRawMsg(subj string, hdr, msg []byte, seq uin... method StoreMsg (line 5047) | func (fs *fileStore) StoreMsg(subj string, hdr, msg []byte, ttl int64)... method SkipMsg (line 5110) | func (fs *fileStore) SkipMsg(seq uint64) (uint64, error) { method SkipMsgs (line 5157) | func (fs *fileStore) SkipMsgs(seq uint64, num uint64) error { method FlushAllPending (line 5235) | func (fs *fileStore) FlushAllPending() error { method rebuildFirst (line 5246) | func (fs *fileStore) rebuildFirst() error { method firstSeqForSubj (line 5278) | func (fs *fileStore) firstSeqForSubj(subj string) (uint64, error) { method enforceMsgLimit (line 5349) | func (fs *fileStore) enforceMsgLimit() error { method enforceBytesLimit (line 5381) | func (fs *fileStore) enforceBytesLimit() error { method enforceMsgPerSubjectLimit (line 5415) | func (fs *fileStore) enforceMsgPerSubjectLimit(fireCallback bool) error { method deleteFirstMsg (line 5561) | func (fs *fileStore) deleteFirstMsg() (bool, error) { method removeMsgViaLimits (line 5568) | func (fs *fileStore) removeMsgViaLimits(seq uint64) (bool, error) { method RemoveMsg (line 5574) | func (fs *fileStore) RemoveMsg(seq uint64) (bool, error) { method EraseMsg (line 5578) | func (fs *fileStore) EraseMsg(seq uint64) (bool, error) { method removePerSubject (line 5584) | func (fs *fileStore) removePerSubject(subj string) uint64 { method removeMsg (line 5606) | func (fs *fileStore) removeMsg(seq uint64, secure, viaLimits, needFSLo... method removeMsgFromBlock (line 5650) | func (fs *fileStore) removeMsgFromBlock(mb *msgBlock, seq uint64, secu... method removeMsgsInRange (line 5881) | func (fs *fileStore) removeMsgsInRange(first, last uint64, viaLimits b... method isClosed (line 6154) | func (fs *fileStore) isClosed() bool { method selectNextFirst (line 6476) | func (fs *fileStore) selectNextFirst() error { method startAgeChk (line 6666) | func (fs *fileStore) startAgeChk() { method resetAgeChk (line 6676) | func (fs *fileStore) resetAgeChk(delta int64) { method cancelAgeChk (line 6744) | func (fs *fileStore) cancelAgeChk() { method expireMsgs (line 6753) | func (fs *fileStore) expireMsgs() { method shouldProcessSdm (line 6871) | func (fs *fileStore) shouldProcessSdm(seq uint64, subj string) (bool, ... method shouldProcessSdmLocked (line 6878) | func (fs *fileStore) shouldProcessSdmLocked(seq uint64, subj string) (... method handleRemovalOrSdm (line 6911) | func (fs *fileStore) handleRemovalOrSdm(seq uint64, subj string, sdm b... method runMsgScheduling (line 6932) | func (fs *fileStore) runMsgScheduling() { method checkAndFlushLastBlock (line 6970) | func (fs *fileStore) checkAndFlushLastBlock() error { method checkMsgs (line 6998) | func (fs *fileStore) checkMsgs() *LostStreamData { method checkLastBlock (line 7340) | func (fs *fileStore) checkLastBlock(rl uint64) (lmb *msgBlock, err err... method writeMsgRecord (line 7353) | func (fs *fileStore) writeMsgRecord(seq uint64, ts int64, subj string,... method writeTombstone (line 7376) | func (fs *fileStore) writeTombstone(seq uint64, ts int64) error { method writeTombstoneNoFlush (line 7388) | func (fs *fileStore) writeTombstoneNoFlush(seq uint64, ts int64) error { method syncBlocks (line 7586) | func (fs *fileStore) syncBlocks() { method selectMsgBlock (line 7786) | func (fs *fileStore) selectMsgBlock(seq uint64) *msgBlock { method selectMsgBlockWithIndex (line 7792) | func (fs *fileStore) selectMsgBlockWithIndex(seq uint64) (int, *msgBlo... method selectMsgBlockForStart (line 7837) | func (fs *fileStore) selectMsgBlockForStart(minTime time.Time) *msgBlo... method sizeForSeq (line 8601) | func (fs *fileStore) sizeForSeq(seq uint64) int { method msgForSeq (line 8616) | func (fs *fileStore) msgForSeq(seq uint64, sm *StoreMsg) (*StoreMsg, e... method msgForSeqLocked (line 8621) | func (fs *fileStore) msgForSeqLocked(seq uint64, sm *StoreMsg, needFSL... method SubjectForSeq (line 8789) | func (fs *fileStore) SubjectForSeq(seq uint64) (string, error) { method LoadMsg (line 8808) | func (fs *fileStore) LoadMsg(seq uint64, sm *StoreMsg) (*StoreMsg, err... method loadLast (line 8813) | func (fs *fileStore) loadLast(subj string, sm *StoreMsg) (lsm *StoreMs... method loadLastLocked (line 8824) | func (fs *fileStore) loadLastLocked(subj string, sm *StoreMsg) (lsm *S... method LoadLastMsg (line 8922) | func (fs *fileStore) LoadLastMsg(subject string, smv *StoreMsg) (sm *S... method LoadNextMsgMulti (line 8935) | func (fs *fileStore) LoadNextMsgMulti(sl *gsl.SimpleSublist, start uin... method LoadNextMsg (line 9017) | func (fs *fileStore) LoadNextMsg(filter string, wc bool, start uint64,... method LoadPrevMsg (line 9091) | func (fs *fileStore) LoadPrevMsg(start uint64, smp *StoreMsg) (sm *Sto... method LoadPrevMsgMulti (line 9145) | func (fs *fileStore) LoadPrevMsgMulti(sl *gsl.SimpleSublist, start uin... method Type (line 9184) | func (fs *fileStore) Type() StorageType { method numSubjects (line 9190) | func (fs *fileStore) numSubjects() int { method numConsumers (line 9195) | func (fs *fileStore) numConsumers() int { method FastState (line 9203) | func (fs *fileStore) FastState(state *StreamState) { method State (line 9225) | func (fs *fileStore) State() StreamState { method Utilization (line 9269) | func (fs *fileStore) Utilization() (total, reported uint64, err error) { method ResetState (line 9299) | func (fs *fileStore) ResetState() { method cacheLoads (line 9449) | func (fs *fileStore) cacheLoads() uint64 { method cacheSize (line 9462) | func (fs *fileStore) cacheSize() uint64 { method dmapEntries (line 9485) | func (fs *fileStore) dmapEntries() int { method PurgeEx (line 9516) | func (fs *fileStore) PurgeEx(subject string, sequence, keep uint64) (p... method Purge (line 9746) | func (fs *fileStore) Purge() (uint64, error) { method purge (line 9750) | func (fs *fileStore) purge(fseq uint64) (purged uint64, rerr error) { method recoverPartialPurge (line 9925) | func (fs *fileStore) recoverPartialPurge() error { method Compact (line 9958) | func (fs *fileStore) Compact(seq uint64) (uint64, error) { method compact (line 9962) | func (fs *fileStore) compact(seq uint64) (purged uint64, rerr error) { method reset (line 10260) | func (fs *fileStore) reset() error { method Truncate (line 10411) | func (fs *fileStore) Truncate(seq uint64) (rerr error) { method lastSeq (line 10640) | func (fs *fileStore) lastSeq() uint64 { method numMsgBlocks (line 10648) | func (fs *fileStore) numMsgBlocks() int { method addMsgBlock (line 10656) | func (fs *fileStore) addMsgBlock(mb *msgBlock) { method removeMsgBlockFromList (line 10664) | func (fs *fileStore) removeMsgBlockFromList(mb *msgBlock) { method removeMsgBlock (line 10681) | func (fs *fileStore) removeMsgBlock(mb *msgBlock) error { method forceRemoveMsgBlock (line 10717) | func (fs *fileStore) forceRemoveMsgBlock(mb *msgBlock) error { method purgeMsgBlock (line 10727) | func (fs *fileStore) purgeMsgBlock(mb *msgBlock) error { method resetGlobalPerSubjectInfo (line 11006) | func (fs *fileStore) resetGlobalPerSubjectInfo() error { method populateGlobalPerSubjectInfo (line 11107) | func (fs *fileStore) populateGlobalPerSubjectInfo(mb *msgBlock) error { method closeAllMsgBlocks (line 11197) | func (fs *fileStore) closeAllMsgBlocks(sync bool) { method Delete (line 11203) | func (fs *fileStore) Delete(inline bool) error { method setSyncTimer (line 11267) | func (fs *fileStore) setSyncTimer() { method cancelSyncTimer (line 11280) | func (fs *fileStore) cancelSyncTimer() { method flushStreamStateLoop (line 11297) | func (fs *fileStore) flushStreamStateLoop(qch, done chan struct{}) { method writeFullState (line 11336) | func (fs *fileStore) writeFullState() error { method forceWriteFullState (line 11341) | func (fs *fileStore) forceWriteFullState() error { method _writeFullState (line 11352) | func (fs *fileStore) _writeFullState(force bool) error { method writeTTLState (line 11584) | func (fs *fileStore) writeTTLState() error { method writeMsgSchedulingState (line 11598) | func (fs *fileStore) writeMsgSchedulingState() error { method Stop (line 11613) | func (fs *fileStore) Stop() error { method stop (line 11618) | func (fs *fileStore) stop(delete, writeState bool) error { method streamSnapshot (line 11696) | func (fs *fileStore) streamSnapshot(w io.WriteCloser, includeConsumers... method Snapshot (line 11880) | func (fs *fileStore) Snapshot(deadline time.Duration, checkMsgs, inclu... method fileStoreConfig (line 11922) | func (fs *fileStore) fileStoreConfig() FileStoreConfig { method readLockAllMsgBlocks (line 11930) | func (fs *fileStore) readLockAllMsgBlocks() { method readUnlockAllMsgBlocks (line 11938) | func (fs *fileStore) readUnlockAllMsgBlocks() { method EncodedStreamState (line 11945) | func (fs *fileStore) EncodedStreamState(failed uint64) ([]byte, error) { method deleteBlocks (line 12001) | func (fs *fileStore) deleteBlocks() DeleteBlocks { method deleteMap (line 12041) | func (fs *fileStore) deleteMap() (dmap avl.SequenceSet) { method SyncDeleted (line 12061) | func (fs *fileStore) SyncDeleted(dbs DeleteBlocks) error { method ConsumerStore (line 12145) | func (fs *fileStore) ConsumerStore(name string, created time.Time, cfg... method AddConsumer (line 13240) | func (fs *fileStore) AddConsumer(o ConsumerStore) error { method RemoveConsumer (line 13247) | func (fs *fileStore) RemoveConsumer(o ConsumerStore) error { method writeFileWithOptionalSync (line 13366) | func (fs *fileStore) writeFileWithOptionalSync(name string, data []byt... type msgBlock (line 220) | type msgBlock struct method checkAndLoadEncryption (line 1098) | func (mb *msgBlock) checkAndLoadEncryption() error { method ensureLastChecksumLoaded (line 1169) | func (mb *msgBlock) ensureLastChecksumLoaded() { method convertCipher (line 1360) | func (mb *msgBlock) convertCipher() error { method convertToEncrypted (line 1449) | func (mb *msgBlock) convertToEncrypted() error { method getIndex (line 1480) | func (mb *msgBlock) getIndex() uint32 { method rebuildState (line 1488) | func (mb *msgBlock) rebuildState() (*LostStreamData, []uint64, error) { method rebuildStateLocked (line 1496) | func (mb *msgBlock) rebuildStateLocked() (*LostStreamData, []uint64, e... method rebuildStateFromBufLocked (line 1539) | func (mb *msgBlock) rebuildStateFromBufLocked(buf []byte, allowTruncat... method lastChecksum (line 2300) | func (mb *msgBlock) lastChecksum() []byte { method firstMatchingMulti (line 2785) | func (mb *msgBlock) firstMatchingMulti(sl *gsl.SimpleSublist, start ui... method firstMatching (line 2927) | func (mb *msgBlock) firstMatching(filter string, wc bool, start uint64... method prevMatchingMulti (line 3080) | func (mb *msgBlock) prevMatchingMulti(sl *gsl.SimpleSublist, start uin... method filteredPending (line 3203) | func (mb *msgBlock) filteredPending(subj string, wc bool, seq uint64) ... method filteredPendingLocked (line 3211) | func (mb *msgBlock) filteredPendingLocked(filter string, wc bool, sseq... method setupWriteCache (line 4651) | func (mb *msgBlock) setupWriteCache(buf []byte) error { method finishedWithCache (line 4685) | func (mb *msgBlock) finishedWithCache() { method skipMsg (line 5074) | func (mb *msgBlock) skipMsg(seq uint64, now int64) error { method shouldCompactInline (line 5929) | func (mb *msgBlock) shouldCompactInline() bool { method shouldCompactSync (line 5937) | func (mb *msgBlock) shouldCompactSync() bool { method compact (line 5943) | func (mb *msgBlock) compact() error { method compactWithFloor (line 5952) | func (mb *msgBlock) compactWithFloor(floor uint64, fsDmap *avl.Sequenc... method slotInfo (line 6111) | func (mb *msgBlock) slotInfo(slot int) (uint32, uint32, bool, error) { method spinUpFlushLoop (line 6159) | func (mb *msgBlock) spinUpFlushLoop() { method spinUpFlushLoopLocked (line 6167) | func (mb *msgBlock) spinUpFlushLoopLocked() { method kickFlusher (line 6191) | func (mb *msgBlock) kickFlusher() { method setInFlusher (line 6197) | func (mb *msgBlock) setInFlusher() { method clearInFlusher (line 6203) | func (mb *msgBlock) clearInFlusher() { method flushLoop (line 6218) | func (mb *msgBlock) flushLoop(fch, qch chan struct{}) { method eraseMsg (line 6267) | func (mb *msgBlock) eraseMsg(seq uint64, ri, rl int, isLastBlock bool)... method truncate (line 6317) | func (mb *msgBlock) truncate(tseq uint64, ts int64) (nmsgs, nbytes uin... method isEmpty (line 6431) | func (mb *msgBlock) isEmpty() bool { method selectNextFirst (line 6436) | func (mb *msgBlock) selectNextFirst() { method resetCacheExpireTimer (line 6512) | func (mb *msgBlock) resetCacheExpireTimer(td time.Duration) { method startCacheExpireTimer (line 6524) | func (mb *msgBlock) startCacheExpireTimer() { method clearCacheAndOffset (line 6530) | func (mb *msgBlock) clearCacheAndOffset() { method clearCache (line 6537) | func (mb *msgBlock) clearCache() { method expireCache (line 6565) | func (mb *msgBlock) expireCache() { method tryForceExpireCache (line 6571) | func (mb *msgBlock) tryForceExpireCache() { method tryForceExpireCacheLocked (line 6578) | func (mb *msgBlock) tryForceExpireCacheLocked() { method tryExpireWriteCache (line 6588) | func (mb *msgBlock) tryExpireWriteCache() []byte { method expireCacheLocked (line 6609) | func (mb *msgBlock) expireCacheLocked() { method enableForWriting (line 7022) | func (mb *msgBlock) enableForWriting(fip bool) error { method writeTombstone (line 7046) | func (mb *msgBlock) writeTombstone(seq uint64, ts int64) error { method writeTombstoneNoFlush (line 7052) | func (mb *msgBlock) writeTombstoneNoFlush(seq uint64, ts int64) error { method writeMsgRecord (line 7060) | func (mb *msgBlock) writeMsgRecord(rl, seq uint64, subj string, mhdr, ... method writeMsgRecordLocked (line 7069) | func (mb *msgBlock) writeMsgRecordLocked(rl, seq uint64, subj string, ... method pendingWriteSize (line 7241) | func (mb *msgBlock) pendingWriteSize() int { method pendingWriteSizeLocked (line 7251) | func (mb *msgBlock) pendingWriteSizeLocked() int { method closeFDs (line 7263) | func (mb *msgBlock) closeFDs() error { method closeFDsLocked (line 7269) | func (mb *msgBlock) closeFDsLocked() error { method closeFDsLockedNoCheck (line 7277) | func (mb *msgBlock) closeFDsLockedNoCheck() { method bytesPending (line 7287) | func (mb *msgBlock) bytesPending() ([]byte, error) { method blkSize (line 7305) | func (mb *msgBlock) blkSize() uint64 { method updateAccounting (line 7317) | func (mb *msgBlock) updateAccounting(seq uint64, ts int64, rl uint64) { method recompressOnDiskIfNeeded (line 7398) | func (mb *msgBlock) recompressOnDiskIfNeeded() error { method atomicOverwriteFile (line 7450) | func (mb *msgBlock) atomicOverwriteFile(buf []byte, allowCompress bool... method decompressIfNeeded (line 7534) | func (mb *msgBlock) decompressIfNeeded(buf []byte) ([]byte, error) { method encryptOrDecryptIfNeeded (line 7555) | func (mb *msgBlock) encryptOrDecryptIfNeeded(buf []byte) error { method ensureRawBytesLoaded (line 7568) | func (mb *msgBlock) ensureRawBytesLoaded() error { method indexCacheBuf (line 7866) | func (mb *msgBlock) indexCacheBuf(buf []byte) error { method flushPendingMsgs (line 8050) | func (mb *msgBlock) flushPendingMsgs() error { method writeAt (line 8067) | func (mb *msgBlock) writeAt(buf []byte, woff int64) (int, error) { method flushPendingMsgsLocked (line 8082) | func (mb *msgBlock) flushPendingMsgsLocked() (*LostStreamData, error) { method clearLoading (line 8197) | func (mb *msgBlock) clearLoading() { method loadMsgs (line 8202) | func (mb *msgBlock) loadMsgs() error { method cacheAlreadyLoaded (line 8210) | func (mb *msgBlock) cacheAlreadyLoaded() bool { method cacheNotLoaded (line 8222) | func (mb *msgBlock) cacheNotLoaded() bool { method fssNotLoaded (line 8228) | func (mb *msgBlock) fssNotLoaded() bool { method openBlock (line 8234) | func (mb *msgBlock) openBlock() (*os.File, error) { method loadBlock (line 8244) | func (mb *msgBlock) loadBlock(buf []byte) ([]byte, error) { method loadMsgsWithLock (line 8294) | func (mb *msgBlock) loadMsgsWithLock() error { method fetchMsg (line 8390) | func (mb *msgBlock) fetchMsg(seq uint64, sm *StoreMsg) (*StoreMsg, boo... method fetchMsgNoCopy (line 8398) | func (mb *msgBlock) fetchMsgNoCopy(seq uint64, sm *StoreMsg) (*StoreMs... method fetchMsgEx (line 8406) | func (mb *msgBlock) fetchMsgEx(seq uint64, sm *StoreMsg, doCopy bool) ... method cacheLookup (line 8488) | func (mb *msgBlock) cacheLookup(seq uint64, sm *StoreMsg) (*StoreMsg, ... method cacheLookupNoCopy (line 8495) | func (mb *msgBlock) cacheLookupNoCopy(seq uint64, sm *StoreMsg) (*Stor... method cacheLookupEx (line 8501) | func (mb *msgBlock) cacheLookupEx(seq uint64, sm *StoreMsg, doCopy boo... method msgFromBuf (line 8665) | func (mb *msgBlock) msgFromBuf(buf []byte, sm *StoreMsg, hh *highwayha... method msgFromBufNoCopy (line 8673) | func (mb *msgBlock) msgFromBufNoCopy(buf []byte, sm *StoreMsg, hh *hig... method msgFromBufEx (line 8680) | func (mb *msgBlock) msgFromBufEx(buf []byte, sm *StoreMsg, hh *highway... method sinceLastActivity (line 9308) | func (mb *msgBlock) sinceLastActivity() time.Duration { method sinceLastWriteActivity (line 9327) | func (mb *msgBlock) sinceLastWriteActivity() time.Duration { method readIndexInfo (line 9347) | func (mb *msgBlock) readIndexInfo() error { method tombs (line 10314) | func (mb *msgBlock) tombs() []msgId { method tombsLocked (line 10322) | func (mb *msgBlock) tombsLocked() []msgId { method numPriorTombs (line 10355) | func (mb *msgBlock) numPriorTombs() int { method numPriorTombsLocked (line 10364) | func (mb *msgBlock) numPriorTombsLocked() int { method dirtyClose (line 10799) | func (mb *msgBlock) dirtyClose() { method dirtyCloseWithRemove (line 10806) | func (mb *msgBlock) dirtyCloseWithRemove(remove bool) error { method removeSeqPerSubject (line 10848) | func (mb *msgBlock) removeSeqPerSubject(subj string, seq uint64) (uint... method recalculateForSubj (line 10892) | func (mb *msgBlock) recalculateForSubj(subj string, ss *SimpleState) e... method resetPerSubjectInfo (line 11021) | func (mb *msgBlock) resetPerSubjectInfo() error { method generatePerSubjectInfo (line 11028) | func (mb *msgBlock) generatePerSubjectInfo() error { method ensurePerSubjectInfoLoaded (line 11090) | func (mb *msgBlock) ensurePerSubjectInfoLoaded() error { method close (line 11157) | func (mb *msgBlock) close(sync bool) { type cache (line 273) | type cache struct type msgId (line 281) | type msgId struct constant magic (line 288) | magic = uint8(22) constant version (line 290) | version = uint8(1) constant newVersion (line 292) | newVersion = uint8(2) constant hdrLen (line 294) | hdrLen = 2 constant streamsDir (line 296) | streamsDir = "streams" constant batchesDir (line 298) | batchesDir = "batches" constant msgDir (line 300) | msgDir = "msgs" constant purgeDir (line 302) | purgeDir = "__msgs__" constant newMsgDir (line 304) | newMsgDir = "__new_msgs__" constant blkScan (line 306) | blkScan = "%d.blk" constant blkSuffix (line 308) | blkSuffix = ".blk" constant newScan (line 310) | newScan = "%d.new" constant indexScan (line 312) | indexScan = "%d.idx" constant keyScan (line 314) | keyScan = "%d.key" constant keyScanAll (line 316) | keyScanAll = "*.key" constant consumerDir (line 318) | consumerDir = "obs" constant consumerState (line 320) | consumerState = "o.dat" constant blkTmpSuffix (line 322) | blkTmpSuffix = ".tmp" constant defaultCacheBufferExpiration (line 324) | defaultCacheBufferExpiration = 10 * time.Second constant defaultSyncInterval (line 326) | defaultSyncInterval = 2 * time.Minute constant closeFDsIdle (line 328) | closeFDsIdle = 30 * time.Second constant defaultFssExpiration (line 330) | defaultFssExpiration = 2 * time.Minute constant coalesceMinimum (line 332) | coalesceMinimum = 16 * 1024 constant maxFlushWait (line 334) | maxFlushWait = 8 * time.Millisecond constant JetStreamMetaFile (line 337) | JetStreamMetaFile = "meta.inf" constant JetStreamMetaFileSum (line 338) | JetStreamMetaFileSum = "meta.sum" constant JetStreamMetaFileKey (line 339) | JetStreamMetaFileKey = "meta.key" constant streamStreamStateFile (line 342) | streamStreamStateFile = "index.db" constant ttlStreamStateFile (line 345) | ttlStreamStateFile = "thw.db" constant msgSchedulingStreamStateFile (line 348) | msgSchedulingStreamStateFile = "sched.db" constant minMetaKeySize (line 351) | minMetaKeySize = 64 constant minBlkKeySize (line 352) | minBlkKeySize = 64 constant defaultLargeBlockSize (line 355) | defaultLargeBlockSize = 8 * 1024 * 1024 constant defaultMediumBlockSize (line 357) | defaultMediumBlockSize = 4 * 1024 * 1024 constant defaultSmallBlockSize (line 360) | defaultSmallBlockSize = 1 * 1024 * 1024 constant defaultTinyBlockSize (line 363) | defaultTinyBlockSize = 1 * 1024 * 256 constant maximumEncryptedBlockSize (line 365) | maximumEncryptedBlockSize = 2 * 1024 * 1024 constant defaultKVBlockSize (line 367) | defaultKVBlockSize = defaultMediumBlockSize constant maxBlockSize (line 369) | maxBlockSize = defaultLargeBlockSize constant compactMinimum (line 371) | compactMinimum = 2 * 1024 * 1024 constant FileStoreMinBlkSize (line 373) | FileStoreMinBlkSize = 32 * 1000 constant FileStoreMaxBlkSize (line 375) | FileStoreMaxBlkSize = maxBlockSize constant rlBadThresh (line 377) | rlBadThresh = 32 * 1024 * 1024 constant recordHashSize (line 379) | recordHashSize = 8 function newFileStore (line 382) | func newFileStore(fcfg FileStoreConfig, cfg StreamConfig) (*fileStore, e... function newFileStoreWithCreated (line 386) | func newFileStoreWithCreated(fcfg FileStoreConfig, cfg StreamConfig, cre... function dynBlkSize (line 793) | func dynBlkSize(retention RetentionPolicy, maxBytes int64, encrypted boo... function genEncryptionKey (line 830) | func genEncryptionKey(sc StoreCipher, seed []byte) (ek cipher.AEAD, err ... function genBlockEncryptionKey (line 894) | func genBlockEncryptionKey(sc StoreCipher, seed, nonce []byte) (cipher.S... function getMsgBlockBuf (line 1026) | func getMsgBlockBuf(sz int) (buf []byte) { function recycleMsgBlockBuf (line 1045) | func recycleMsgBlockBuf(buf []byte) { constant msgHdrSize (line 1065) | msgHdrSize = 22 constant checksumSize (line 1066) | checksumSize = 8 constant emptyRecordLen (line 1067) | emptyRecordLen = msgHdrSize + checksumSize method exists (line 1300) | func (ld *LostStreamData) exists(seq uint64) (int, bool) { function updateTrackingState (line 1820) | func updateTrackingState(state *StreamState, mb *msgBlock) { function trackingStatesEqual (line 1836) | func trackingStatesEqual(fs, mb *StreamState) bool { function copyMsgBlocks (line 2708) | func copyMsgBlocks(src []*msgBlock) []*msgBlock { function kickFlusher (line 6181) | func kickFlusher(fch chan struct{}) { type errBadMsg (line 8462) | type errBadMsg struct method Error (line 8465) | func (e errBadMsg) Error() string { constant cbit (line 8474) | cbit = 1 << 31 constant dbit (line 8476) | dbit = 1 << 30 constant hbit (line 8478) | hbit = 1 << 31 constant ebit (line 8480) | ebit = 1 << 63 constant tbit (line 8482) | tbit = 1 << 62 function fileStoreMsgSizeRaw (line 9281) | func fileStoreMsgSizeRaw(slen, hlen, mlen int) uint64 { function fileStoreMsgSize (line 9290) | func fileStoreMsgSize(subj string, hdr, msg []byte) uint64 { function fileStoreMsgSizeEstimate (line 9294) | func fileStoreMsgSizeEstimate(slen, maxPayload int) uint64 { function checkNewHeader (line 9338) | func checkNewHeader(hdr []byte) error { function subjectsEqual (line 9496) | func subjectsEqual(a, b string) bool { function subjectsAll (line 9500) | func subjectsAll(a, b string) bool { function compareFn (line 9504) | func compareFn(subject string) func(string, string) bool { function removeAllWithRetry (line 11136) | func removeAllWithRetry(dir string) error { constant fullStateMagic (line 11291) | fullStateMagic = uint8(11) constant fullStateMinVersion (line 11292) | fullStateMinVersion = uint8(1) constant fullStateVersion (line 11293) | fullStateVersion = uint8(3) function timestampNormalized (line 11327) | func timestampNormalized(t time.Time) int64 { constant errFile (line 11693) | errFile = "errors.txt" type consumerFileStore (line 12126) | type consumerFileStore struct method convertCipher (line 12281) | func (o *consumerFileStore) convertCipher() error { method kickFlusher (line 12340) | func (o *consumerFileStore) kickFlusher() { method setInFlusher (line 12351) | func (o *consumerFileStore) setInFlusher() { method clearInFlusher (line 12358) | func (o *consumerFileStore) clearInFlusher() { method inFlusher (line 12365) | func (o *consumerFileStore) inFlusher() bool { method flushLoop (line 12372) | func (o *consumerFileStore) flushLoop(fch, qch chan struct{}) { method SetStarting (line 12428) | func (o *consumerFileStore) SetStarting(sseq uint64) error { method UpdateStarting (line 12441) | func (o *consumerFileStore) UpdateStarting(sseq uint64) { method Reset (line 12457) | func (o *consumerFileStore) Reset(sseq uint64) error { method HasState (line 12465) | func (o *consumerFileStore) HasState() bool { method UpdateDelivered (line 12478) | func (o *consumerFileStore) UpdateDelivered(dseq, sseq, dc uint64, ts ... method UpdateAcks (line 12547) | func (o *consumerFileStore) UpdateAcks(dseq, sseq uint64) error { method EncodedState (line 12627) | func (o *consumerFileStore) EncodedState() ([]byte, error) { method encodeState (line 12633) | func (o *consumerFileStore) encodeState() ([]byte, error) { method UpdateConfig (line 12642) | func (o *consumerFileStore) UpdateConfig(cfg *ConsumerConfig) error { method Update (line 12653) | func (o *consumerFileStore) Update(state *ConsumerState) error { method ForceUpdate (line 12702) | func (o *consumerFileStore) ForceUpdate(state *ConsumerState) error { method encryptState (line 12746) | func (o *consumerFileStore) encryptState(buf []byte) ([]byte, error) { method writeState (line 12783) | func (o *consumerFileStore) writeState(buf []byte) error { method updateConfig (line 12819) | func (o *consumerFileStore) updateConfig(cfg ConsumerConfig) error { method writeConsumerMeta (line 12828) | func (cfs *consumerFileStore) writeConsumerMeta() error { method copyPending (line 12896) | func (o *consumerFileStore) copyPending() map[uint64]*Pending { method copyRedelivered (line 12904) | func (o *consumerFileStore) copyRedelivered() map[uint64]uint64 { method Type (line 12913) | func (o *consumerFileStore) Type() StorageType { return FileStorage } method State (line 12917) | func (o *consumerFileStore) State() (*ConsumerState, error) { method BorrowState (line 12923) | func (o *consumerFileStore) BorrowState() (*ConsumerState, error) { method stateWithCopy (line 12927) | func (o *consumerFileStore) stateWithCopy(doCopy bool) (*ConsumerState... method stateWithCopyLocked (line 12934) | func (o *consumerFileStore) stateWithCopyLocked(doCopy bool) (*Consume... method loadState (line 13017) | func (o *consumerFileStore) loadState() error { method Stop (line 13142) | func (o *consumerFileStore) Stop() error { method waitOnFlusher (line 13184) | func (o *consumerFileStore) waitOnFlusher() { method Delete (line 13199) | func (o *consumerFileStore) Delete() error { method StreamDelete (line 13203) | func (o *consumerFileStore) StreamDelete() error { method delete (line 13207) | func (o *consumerFileStore) delete(streamDeleted bool) error { constant seqsHdrSize (line 12622) | seqsHdrSize = 6*binary.MaxVarintLen64 + hdrLen function init (line 12766) | func init() { function checkConsumerHeader (line 12884) | func checkConsumerHeader(hdr []byte) (uint8, error) { function decodeConsumerState (line 13030) | func decodeConsumerState(buf []byte) (*ConsumerState, error) { type CompressionInfo (line 13263) | type CompressionInfo struct method MarshalMetadata (line 13268) | func (c *CompressionInfo) MarshalMetadata() []byte { method UnmarshalMetadata (line 13276) | func (c *CompressionInfo) UnmarshalMetadata(b []byte) (int, error) { function writeFileWithSync (line 13370) | func writeFileWithSync(name string, data []byte, perm fs.FileMode) error { constant canFsyncDirectories (line 13376) | canFsyncDirectories = runtime.GOOS != "windows" function writeAtomically (line 13378) | func writeAtomically(name string, data []byte, perm fs.FileMode, sync bo... FILE: server/filestore_test.go function testFileStoreAllPermutations (line 55) | func testFileStoreAllPermutations(t *testing.T, fn func(t *testing.T, fc... function prf (line 73) | func prf(fcfg *FileStoreConfig) func(context []byte) ([]byte, error) { function TestFileStoreBasics (line 86) | func TestFileStoreBasics(t *testing.T) { function TestFileStoreMsgHeaders (line 152) | func TestFileStoreMsgHeaders(t *testing.T) { function TestFileStoreBasicWriteMsgsAndRestore (line 181) | func TestFileStoreBasicWriteMsgsAndRestore(t *testing.T) { function TestFileStoreSelectNextFirst (line 303) | func TestFileStoreSelectNextFirst(t *testing.T) { function TestFileStoreSkipMsg (line 340) | func TestFileStoreSkipMsg(t *testing.T) { function TestFileStoreWriteExpireWrite (line 424) | func TestFileStoreWriteExpireWrite(t *testing.T) { function TestFileStoreMsgLimit (line 484) | func TestFileStoreMsgLimit(t *testing.T) { function TestFileStoreMsgLimitBug (line 518) | func TestFileStoreMsgLimitBug(t *testing.T) { function TestFileStoreBytesLimit (line 537) | func TestFileStoreBytesLimit(t *testing.T) { function TestFileStoreBytesLimitWithDiscardNew (line 583) | func TestFileStoreBytesLimitWithDiscardNew(t *testing.T) { function TestFileStoreAgeLimit (line 616) | func TestFileStoreAgeLimit(t *testing.T) { function TestFileStoreTimeStamps (line 682) | func TestFileStoreTimeStamps(t *testing.T) { function TestFileStorePurge (line 709) | func TestFileStorePurge(t *testing.T) { function TestFileStoreCompact (line 822) | func TestFileStoreCompact(t *testing.T) { function TestFileStoreCompactLastPlusOne (line 875) | func TestFileStoreCompactLastPlusOne(t *testing.T) { function TestFileStoreCompactMsgCountBug (line 916) | func TestFileStoreCompactMsgCountBug(t *testing.T) { function TestFileStoreCompactPerf (line 953) | func TestFileStoreCompactPerf(t *testing.T) { function TestFileStoreStreamTruncate (line 991) | func TestFileStoreStreamTruncate(t *testing.T) { function TestFileStoreRemovePartialRecovery (line 1076) | func TestFileStoreRemovePartialRecovery(t *testing.T) { function TestFileStoreRemoveOutOfOrderRecovery (line 1119) | func TestFileStoreRemoveOutOfOrderRecovery(t *testing.T) { function TestFileStoreAgeLimitRecovery (line 1183) | func TestFileStoreAgeLimitRecovery(t *testing.T) { function TestFileStoreBitRot (line 1229) | func TestFileStoreBitRot(t *testing.T) { function TestFileStoreEraseMsg (line 1304) | func TestFileStoreEraseMsg(t *testing.T) { function TestFileStoreEraseAndNoIndexRecovery (line 1363) | func TestFileStoreEraseAndNoIndexRecovery(t *testing.T) { function TestFileStoreMeta (line 1413) | func TestFileStoreMeta(t *testing.T) { function TestFileStoreWriteAndReadSameBlock (line 1510) | func TestFileStoreWriteAndReadSameBlock(t *testing.T) { function TestFileStoreAndRetrieveMultiBlock (line 1527) | func TestFileStoreAndRetrieveMultiBlock(t *testing.T) { function TestFileStoreCollapseDmap (line 1561) | func TestFileStoreCollapseDmap(t *testing.T) { function TestFileStoreReadCache (line 1630) | func TestFileStoreReadCache(t *testing.T) { function TestFileStorePartialCacheExpiration (line 1683) | func TestFileStorePartialCacheExpiration(t *testing.T) { function TestFileStorePartialIndexes (line 1706) | func TestFileStorePartialIndexes(t *testing.T) { function TestFileStoreInvalidIndexesRebuilt (line 1755) | func TestFileStoreInvalidIndexesRebuilt(t *testing.T) { function TestFileStoreSnapshot (line 1799) | func TestFileStoreSnapshot(t *testing.T) { function TestFileStoreSnapshotAndSyncBlocks (line 1974) | func TestFileStoreSnapshotAndSyncBlocks(t *testing.T) { function TestFileStoreConsumer (line 2005) | func TestFileStoreConsumer(t *testing.T) { function TestFileStoreConsumerEncodeDecodeRedelivered (line 2116) | func TestFileStoreConsumerEncodeDecodeRedelivered(t *testing.T) { function TestFileStoreConsumerEncodeDecodePendingBelowStreamAckFloor (line 2136) | func TestFileStoreConsumerEncodeDecodePendingBelowStreamAckFloor(t *test... function TestFileStoreWriteFailures (line 2174) | func TestFileStoreWriteFailures(t *testing.T) { function TestFileStorePerf (line 2271) | func TestFileStorePerf(t *testing.T) { function TestFileStoreReadBackMsgPerf (line 2398) | func TestFileStoreReadBackMsgPerf(t *testing.T) { function TestFileStoreStoreLimitRemovePerf (line 2447) | func TestFileStoreStoreLimitRemovePerf(t *testing.T) { function TestFileStorePubPerfWithSmallBlkSize (line 2492) | func TestFileStorePubPerfWithSmallBlkSize(t *testing.T) { function TestFileStoreConsumerRedeliveredLost (line 2531) | func TestFileStoreConsumerRedeliveredLost(t *testing.T) { function TestFileStoreConsumerFlusher (line 2597) | func TestFileStoreConsumerFlusher(t *testing.T) { function TestFileStoreConsumerDeliveredUpdates (line 2628) | func TestFileStoreConsumerDeliveredUpdates(t *testing.T) { function TestFileStoreConsumerDeliveredAndAckUpdates (line 2682) | func TestFileStoreConsumerDeliveredAndAckUpdates(t *testing.T) { function TestFileStoreStreamStateDeleted (line 2795) | func TestFileStoreStreamStateDeleted(t *testing.T) { function TestFileStoreStreamDeleteDirNotEmpty (line 2842) | func TestFileStoreStreamDeleteDirNotEmpty(t *testing.T) { function TestFileStoreConsumerPerf (line 2872) | func TestFileStoreConsumerPerf(t *testing.T) { function TestFileStoreStreamDeleteCacheBug (line 2939) | func TestFileStoreStreamDeleteCacheBug(t *testing.T) { function TestFileStoreStreamFailToRollBug (line 2966) | func TestFileStoreStreamFailToRollBug(t *testing.T) { function TestFileStoreBadConsumerState (line 3012) | func TestFileStoreBadConsumerState(t *testing.T) { function TestFileStoreExpireMsgsOnStart (line 3019) | func TestFileStoreExpireMsgsOnStart(t *testing.T) { function TestFileStoreSparseCompaction (line 3227) | func TestFileStoreSparseCompaction(t *testing.T) { function TestFileStoreSparseCompactionWithInteriorDeletes (line 3343) | func TestFileStoreSparseCompactionWithInteriorDeletes(t *testing.T) { function TestFileStorePurgeExKeepOneBug (line 3391) | func TestFileStorePurgeExKeepOneBug(t *testing.T) { function TestFileStoreFilteredPendingBug (line 3427) | func TestFileStoreFilteredPendingBug(t *testing.T) { function TestFileStoreFetchPerf (line 3457) | func TestFileStoreFetchPerf(t *testing.T) { function TestFileStoreCompactReclaimHeadSpace (line 3492) | func TestFileStoreCompactReclaimHeadSpace(t *testing.T) { function TestFileStoreRememberLastMsgTime (line 3600) | func TestFileStoreRememberLastMsgTime(t *testing.T) { method getFirstBlock (line 3700) | func (fs *fileStore) getFirstBlock() *msgBlock { function TestFileStoreRebuildStateDmapAccountingBug (line 3709) | func TestFileStoreRebuildStateDmapAccountingBug(t *testing.T) { function TestFileStorePurgeExWithSubject (line 3761) | func TestFileStorePurgeExWithSubject(t *testing.T) { function TestFileStorePurgeExNoTombsOnBlockRemoval (line 3841) | func TestFileStorePurgeExNoTombsOnBlockRemoval(t *testing.T) { function TestFileStoreShortIndexWriteBug (line 3905) | func TestFileStoreShortIndexWriteBug(t *testing.T) { function TestFileStoreDoubleCompactWithWriteInBetweenEncryptedBug (line 3942) | func TestFileStoreDoubleCompactWithWriteInBetweenEncryptedBug(t *testing... function TestFileStoreEncryptedKeepIndexNeedBekResetBug (line 3974) | func TestFileStoreEncryptedKeepIndexNeedBekResetBug(t *testing.T) { method reportMeta (line 4016) | func (fs *fileStore) reportMeta() (hasPSIM, hasAnyFSS bool) { function TestFileStoreExpireSubjectMeta (line 4032) | func TestFileStoreExpireSubjectMeta(t *testing.T) { function TestFileStoreMaxMsgsPerSubject (line 4083) | func TestFileStoreMaxMsgsPerSubject(t *testing.T) { function TestFileStoreMaxMsgsAndMaxMsgsPerSubject (line 4116) | func TestFileStoreMaxMsgsAndMaxMsgsPerSubject(t *testing.T) { function TestFileStoreSubjectStateCacheExpiration (line 4161) | func TestFileStoreSubjectStateCacheExpiration(t *testing.T) { function TestFileStoreEncrypted (line 4222) | func TestFileStoreEncrypted(t *testing.T) { function TestFileStoreNoFSSWhenNoSubjects (line 4269) | func TestFileStoreNoFSSWhenNoSubjects(t *testing.T) { function TestFileStoreNoFSSBugAfterRemoveFirst (line 4307) | func TestFileStoreNoFSSBugAfterRemoveFirst(t *testing.T) { function TestFileStoreNoFSSAfterRecover (line 4351) | func TestFileStoreNoFSSAfterRecover(t *testing.T) { function TestFileStoreFSSCloseAndKeepOnExpireOnRecoverBug (line 4387) | func TestFileStoreFSSCloseAndKeepOnExpireOnRecoverBug(t *testing.T) { function TestFileStoreExpireOnRecoverSubjectAccounting (line 4411) | func TestFileStoreExpireOnRecoverSubjectAccounting(t *testing.T) { function TestFileStoreFSSExpireNumPendingBug (line 4444) | func TestFileStoreFSSExpireNumPendingBug(t *testing.T) { function TestFileStoreFilteredFirstMatchingBug (line 4468) | func TestFileStoreFilteredFirstMatchingBug(t *testing.T) { function TestFileStoreOutOfSpaceRebuildState (line 4510) | func TestFileStoreOutOfSpaceRebuildState(t *testing.T) { function TestFileStoreRebuildStateProperlyWithMaxMsgsPerSubject (line 4552) | func TestFileStoreRebuildStateProperlyWithMaxMsgsPerSubject(t *testing.T) { function TestFileStoreUpdateMaxMsgsPerSubject (line 4583) | func TestFileStoreUpdateMaxMsgsPerSubject(t *testing.T) { function TestFileStoreBadFirstAndFailedExpireAfterRestart (line 4624) | func TestFileStoreBadFirstAndFailedExpireAfterRestart(t *testing.T) { function TestFileStoreCompactAllWithDanglingLMB (line 4688) | func TestFileStoreCompactAllWithDanglingLMB(t *testing.T) { function TestFileStoreStateWithBlkFirstDeleted (line 4711) | func TestFileStoreStateWithBlkFirstDeleted(t *testing.T) { function TestFileStoreMsgBlkFailOnKernelFaultLostDataReporting (line 4748) | func TestFileStoreMsgBlkFailOnKernelFaultLostDataReporting(t *testing.T) { function TestFileStoreAllFilteredStateWithDeleted (line 4847) | func TestFileStoreAllFilteredStateWithDeleted(t *testing.T) { function TestFileStoreStreamTruncateResetMultiBlock (line 4898) | func TestFileStoreStreamTruncateResetMultiBlock(t *testing.T) { function TestFileStoreStreamCompactMultiBlockSubjectInfo (line 4942) | func TestFileStoreStreamCompactMultiBlockSubjectInfo(t *testing.T) { function TestFileStoreSubjectsTotals (line 4969) | func TestFileStoreSubjectsTotals(t *testing.T) { function TestFileStoreConsumerStoreEncodeAfterRestart (line 5047) | func TestFileStoreConsumerStoreEncodeAfterRestart(t *testing.T) { function TestFileStoreNumPendingLargeNumBlks (line 5087) | func TestFileStoreNumPendingLargeNumBlks(t *testing.T) { function TestFileStoreSkipMsgAndNumBlocks (line 5134) | func TestFileStoreSkipMsgAndNumBlocks(t *testing.T) { function TestFileStoreRestoreEncryptedWithNoKeyFuncFails (line 5155) | func TestFileStoreRestoreEncryptedWithNoKeyFuncFails(t *testing.T) { function TestFileStoreInitialFirstSeq (line 5176) | func TestFileStoreInitialFirstSeq(t *testing.T) { function TestFileStoreRecaluclateFirstForSubjBug (line 5208) | func TestFileStoreRecaluclateFirstForSubjBug(t *testing.T) { function TestFileStoreKeepWithDeletedMsgsBug (line 5241) | func TestFileStoreKeepWithDeletedMsgsBug(t *testing.T) { function TestFileStoreRestartWithExpireAndLockingBug (line 5262) | func TestFileStoreRestartWithExpireAndLockingBug(t *testing.T) { function TestFileStoreErrPartialLoad (line 5292) | func TestFileStoreErrPartialLoad(t *testing.T) { function TestFileStoreErrPartialLoadOnSyncClose (line 5354) | func TestFileStoreErrPartialLoadOnSyncClose(t *testing.T) { function TestFileStoreSyncIntervals (line 5387) | func TestFileStoreSyncIntervals(t *testing.T) { function TestFileStoreRecalcFirstSequenceBug (line 5426) | func TestFileStoreRecalcFirstSequenceBug(t *testing.T) { function TestFileStoreFullStateBasics (line 5482) | func TestFileStoreFullStateBasics(t *testing.T) { function TestFileStoreFullStatePurge (line 5617) | func TestFileStoreFullStatePurge(t *testing.T) { function TestFileStoreFullStatePurgeFullRecovery (line 5621) | func TestFileStoreFullStatePurgeFullRecovery(t *testing.T) { function testFileStoreFullStatePurge (line 5625) | func testFileStoreFullStatePurge(t *testing.T, checkFullRecovery bool) { function TestFileStoreFullStateTestUserRemoveWAL (line 5767) | func TestFileStoreFullStateTestUserRemoveWAL(t *testing.T) { function TestFileStoreFullStateTestSysRemovals (line 5862) | func TestFileStoreFullStateTestSysRemovals(t *testing.T) { function TestFileStoreSelectBlockWithFirstSeqRemovals (line 5939) | func TestFileStoreSelectBlockWithFirstSeqRemovals(t *testing.T) { function TestFileStoreMsgBlockHolesAndIndexing (line 5986) | func TestFileStoreMsgBlockHolesAndIndexing(t *testing.T) { function TestFileStoreMsgBlockCompactionAndHoles (line 6048) | func TestFileStoreMsgBlockCompactionAndHoles(t *testing.T) { function TestFileStoreRemoveLastNoDoubleTombstones (line 6081) | func TestFileStoreRemoveLastNoDoubleTombstones(t *testing.T) { function TestFileStoreFullStateMultiBlockPastWAL (line 6103) | func TestFileStoreFullStateMultiBlockPastWAL(t *testing.T) { function TestFileStoreFullStateMidBlockPastWAL (line 6163) | func TestFileStoreFullStateMidBlockPastWAL(t *testing.T) { function TestFileStoreCompactingBlocksOnSync (line 6223) | func TestFileStoreCompactingBlocksOnSync(t *testing.T) { function TestFileStoreCompactAndPSIMWhenDeletingBlocks (line 6281) | func TestFileStoreCompactAndPSIMWhenDeletingBlocks(t *testing.T) { function TestFileStoreTrackSubjLenForPSIM (line 6311) | func TestFileStoreTrackSubjLenForPSIM(t *testing.T) { function TestFileStoreLargeFullStatePSIM (line 6390) | func TestFileStoreLargeFullStatePSIM(t *testing.T) { function TestFileStoreLargeFullStateMetaCleanup (line 6418) | func TestFileStoreLargeFullStateMetaCleanup(t *testing.T) { function TestFileStoreIndexDBExistsAfterShutdown (line 6455) | func TestFileStoreIndexDBExistsAfterShutdown(t *testing.T) { function TestFileStoreSubjectCorruption (line 6488) | func TestFileStoreSubjectCorruption(t *testing.T) { function TestFileStoreNumPendingLastBySubject (line 6523) | func TestFileStoreNumPendingLastBySubject(t *testing.T) { function TestFileStoreCorruptPSIMOnDisk (line 6582) | func TestFileStoreCorruptPSIMOnDisk(t *testing.T) { function TestFileStorePurgeExBufPool (line 6620) | func TestFileStorePurgeExBufPool(t *testing.T) { function TestFileStoreFSSMeta (line 6652) | func TestFileStoreFSSMeta(t *testing.T) { function TestFileStoreExpireCacheOnLinearWalk (line 6704) | func TestFileStoreExpireCacheOnLinearWalk(t *testing.T) { function TestFileStoreSkipMsgs (line 6773) | func TestFileStoreSkipMsgs(t *testing.T) { function TestFileStoreOptimizeFirstLoadNextMsgWithSequenceZero (line 6827) | func TestFileStoreOptimizeFirstLoadNextMsgWithSequenceZero(t *testing.T) { function TestFileStoreWriteFullStateHighSubjectCardinality (line 6864) | func TestFileStoreWriteFullStateHighSubjectCardinality(t *testing.T) { function TestFileStoreEraseMsgWithDbitSlots (line 6887) | func TestFileStoreEraseMsgWithDbitSlots(t *testing.T) { function TestFileStoreEraseMsgWithAllTrailingDbitSlots (line 6915) | func TestFileStoreEraseMsgWithAllTrailingDbitSlots(t *testing.T) { function TestFileStoreMultiLastSeqs (line 6944) | func TestFileStoreMultiLastSeqs(t *testing.T) { function TestFileStoreMultiLastSeqsMaxAllowed (line 7028) | func TestFileStoreMultiLastSeqsMaxAllowed(t *testing.T) { function TestFileStoreMsgBlockFirstAndLastSeqCorrupt (line 7047) | func TestFileStoreMsgBlockFirstAndLastSeqCorrupt(t *testing.T) { function TestFileStoreWriteFullStateAfterPurgeEx (line 7078) | func TestFileStoreWriteFullStateAfterPurgeEx(t *testing.T) { function TestFileStoreFSSExpire (line 7109) | func TestFileStoreFSSExpire(t *testing.T) { function TestFileStoreFSSExpireNumPending (line 7146) | func TestFileStoreFSSExpireNumPending(t *testing.T) { function TestFileStoreRecoverWithRemovesAndNoIndexDB (line 7220) | func TestFileStoreRecoverWithRemovesAndNoIndexDB(t *testing.T) { function TestFileStoreReloadAndLoseLastSequence (line 7267) | func TestFileStoreReloadAndLoseLastSequence(t *testing.T) { function TestFileStoreReloadAndLoseLastSequenceWithSkipMsgs (line 7294) | func TestFileStoreReloadAndLoseLastSequenceWithSkipMsgs(t *testing.T) { function TestFileStoreLoadLastWildcard (line 7320) | func TestFileStoreLoadLastWildcard(t *testing.T) { function TestFileStoreLoadLastWildcardWithPresenceMultipleBlocks (line 7362) | func TestFileStoreLoadLastWildcardWithPresenceMultipleBlocks(t *testing.... function TestFileStoreFilteredPendingPSIMFirstBlockUpdate (line 7382) | func TestFileStoreFilteredPendingPSIMFirstBlockUpdate(t *testing.T) { function TestFileStoreWildcardFilteredPendingPSIMFirstBlockUpdate (line 7441) | func TestFileStoreWildcardFilteredPendingPSIMFirstBlockUpdate(t *testing... function TestFileStoreFilteredPendingPSIMFirstBlockUpdateNextBlock (line 7532) | func TestFileStoreFilteredPendingPSIMFirstBlockUpdateNextBlock(t *testin... function TestFileStoreLargeSparseMsgsDoNotLoadAfterLast (line 7625) | func TestFileStoreLargeSparseMsgsDoNotLoadAfterLast(t *testing.T) { function TestFileStoreCheckSkipFirstBlockBug (line 7677) | func TestFileStoreCheckSkipFirstBlockBug(t *testing.T) { function TestFileStoreTombstoneRbytes (line 7712) | func TestFileStoreTombstoneRbytes(t *testing.T) { function TestFileStoreMsgBlockShouldCompact (line 7741) | func TestFileStoreMsgBlockShouldCompact(t *testing.T) { function TestFileStoreCheckSkipFirstBlockNotLoadOldBlocks (line 7777) | func TestFileStoreCheckSkipFirstBlockNotLoadOldBlocks(t *testing.T) { function TestFileStoreSyncCompressOnlyIfDirty (line 7842) | func TestFileStoreSyncCompressOnlyIfDirty(t *testing.T) { function TestFileStoreDmapBlockRecoverAfterCompact (line 7922) | func TestFileStoreDmapBlockRecoverAfterCompact(t *testing.T) { function TestFileStoreRestoreIndexWithMatchButLeftOverBlocks (line 7963) | func TestFileStoreRestoreIndexWithMatchButLeftOverBlocks(t *testing.T) { function TestFileStoreRestoreDeleteTombstonesExceedingMaxBlkSize (line 8029) | func TestFileStoreRestoreDeleteTombstonesExceedingMaxBlkSize(t *testing.... function Benchmark_FileStoreSelectMsgBlock (line 8118) | func Benchmark_FileStoreSelectMsgBlock(b *testing.B) { function Benchmark_FileStoreLoadNextMsgSameFilterAsStream (line 8149) | func Benchmark_FileStoreLoadNextMsgSameFilterAsStream(b *testing.B) { function Benchmark_FileStoreLoadNextMsgLiteralSubject (line 8175) | func Benchmark_FileStoreLoadNextMsgLiteralSubject(b *testing.B) { function Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq (line 8204) | func Benchmark_FileStoreLoadNextMsgNoMsgsFirstSeq(b *testing.B) { function Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq (line 8231) | func Benchmark_FileStoreLoadNextMsgNoMsgsNotFirstSeq(b *testing.B) { function Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq (line 8259) | func Benchmark_FileStoreLoadNextMsgVerySparseMsgsFirstSeq(b *testing.B) { function Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq (line 8285) | func Benchmark_FileStoreLoadNextMsgVerySparseMsgsNotFirstSeq(b *testing.... function Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween (line 8312) | func Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetween(b *testing.B) { function Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard (line 8341) | func Benchmark_FileStoreLoadNextMsgVerySparseMsgsInBetweenWithWildcard(b... function Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock (line 8372) | func Benchmark_FileStoreLoadNextManySubjectsWithWildcardNearLastBlock(b ... function Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail (line 8403) | func Benchmark_FileStoreLoadNextMsgVerySparseMsgsLargeTail(b *testing.B) { function Benchmark_FileStoreCreateConsumerStores (line 8432) | func Benchmark_FileStoreCreateConsumerStores(b *testing.B) { function Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf (line 8458) | func Benchmark_FileStoreSubjectStateConsistencyOptimizationPerf(b *testi... function benchmarkFileStoreSyncDeletedFullBlocks (line 8488) | func benchmarkFileStoreSyncDeletedFullBlocks(b *testing.B, msgSize int) { function Benchmark_FileStoreSyncDeletedFullBlocks (line 8518) | func Benchmark_FileStoreSyncDeletedFullBlocks(b *testing.B) { function benchmarkFileStoreSyncDeletedPartialBlocks (line 8528) | func benchmarkFileStoreSyncDeletedPartialBlocks(b *testing.B, msgSize in... function Benchmark_FileStoreSyncDeletedPartialBlocks (line 8565) | func Benchmark_FileStoreSyncDeletedPartialBlocks(b *testing.B) { function TestFileStoreWriteFullStateDetectCorruptState (line 8575) | func TestFileStoreWriteFullStateDetectCorruptState(t *testing.T) { function TestFileStoreRecoverFullStateDetectCorruptState (line 8610) | func TestFileStoreRecoverFullStateDetectCorruptState(t *testing.T) { function TestFileStoreResetConsumerToStreamState (line 8642) | func TestFileStoreResetConsumerToStreamState(t *testing.T) { function TestFileStoreNumPendingMulti (line 8714) | func TestFileStoreNumPendingMulti(t *testing.T) { function TestFileStoreMessageTTL (line 8764) | func TestFileStoreMessageTTL(t *testing.T) { function TestFileStoreMessageTTLRestart (line 8792) | func TestFileStoreMessageTTLRestart(t *testing.T) { function TestFileStoreMessageTTLRecovered (line 8838) | func TestFileStoreMessageTTLRecovered(t *testing.T) { function TestFileStoreMessageTTLRecoveredSingleMessageWithoutStreamState (line 8911) | func TestFileStoreMessageTTLRecoveredSingleMessageWithoutStreamState(t *... function TestFileStoreMessageTTLWriteTombstone (line 8966) | func TestFileStoreMessageTTLWriteTombstone(t *testing.T) { function TestFileStoreMessageTTLRecoveredOffByOne (line 9028) | func TestFileStoreMessageTTLRecoveredOffByOne(t *testing.T) { function TestFileStoreDontSpamCompactWhenMostlyTombstones (line 9083) | func TestFileStoreDontSpamCompactWhenMostlyTombstones(t *testing.T) { function TestFileStoreSubjectDeleteMarkers (line 9162) | func TestFileStoreSubjectDeleteMarkers(t *testing.T) { function TestFileStoreStoreRawMessageThrowsPermissionErrorIfFSModeReadOnly (line 9199) | func TestFileStoreStoreRawMessageThrowsPermissionErrorIfFSModeReadOnly(t... function TestFileStoreWriteFullStateThrowsPermissionErrorIfFSModeReadOnly (line 9226) | func TestFileStoreWriteFullStateThrowsPermissionErrorIfFSModeReadOnly(t ... function changeDirectoryPermission (line 9252) | func changeDirectoryPermission(directory string, mode fs.FileMode) error { function TestFileStoreLeftoverSkipMsgInDmap (line 9275) | func TestFileStoreLeftoverSkipMsgInDmap(t *testing.T) { function TestFileStoreRecoverOnlyBlkFiles (line 9330) | func TestFileStoreRecoverOnlyBlkFiles(t *testing.T) { function TestFileStoreRecoverAfterRemoveOperation (line 9393) | func TestFileStoreRecoverAfterRemoveOperation(t *testing.T) { function TestFileStoreRecoverAfterCompact (line 9554) | func TestFileStoreRecoverAfterCompact(t *testing.T) { function TestFileStoreRecoverWithEmptyMessageBlock (line 9665) | func TestFileStoreRecoverWithEmptyMessageBlock(t *testing.T) { function TestFileStoreRemoveMsgBlockFirst (line 9734) | func TestFileStoreRemoveMsgBlockFirst(t *testing.T) { function TestFileStoreRemoveMsgBlockLast (line 9775) | func TestFileStoreRemoveMsgBlockLast(t *testing.T) { function TestFileStoreAllLastSeqs (line 9836) | func TestFileStoreAllLastSeqs(t *testing.T) { function TestFileStoreRecoverDoesNotResetStreamState (line 9865) | func TestFileStoreRecoverDoesNotResetStreamState(t *testing.T) { function TestFileStoreAccessTimeSpinUp (line 9916) | func TestFileStoreAccessTimeSpinUp(t *testing.T) { function TestFileStoreUpdateConfigTTLState (line 9937) | func TestFileStoreUpdateConfigTTLState(t *testing.T) { function TestFileStoreSubjectForSeq (line 9957) | func TestFileStoreSubjectForSeq(t *testing.T) { function BenchmarkFileStoreSubjectAccesses (line 9982) | func BenchmarkFileStoreSubjectAccesses(b *testing.B) { function TestFileStoreFirstMatchingMultiExpiry (line 10017) | func TestFileStoreFirstMatchingMultiExpiry(t *testing.T) { function TestFileStoreNoPanicOnRecoverTTLWithCorruptBlocks (line 10055) | func TestFileStoreNoPanicOnRecoverTTLWithCorruptBlocks(t *testing.T) { function TestFileStoreAsyncTruncate (line 10094) | func TestFileStoreAsyncTruncate(t *testing.T) { function TestFileStoreAsyncFlushOnSkipMsgs (line 10159) | func TestFileStoreAsyncFlushOnSkipMsgs(t *testing.T) { function TestFileStoreCompressionAfterTruncate (line 10237) | func TestFileStoreCompressionAfterTruncate(t *testing.T) { function TestFileStoreTruncateRemovedBlock (line 10397) | func TestFileStoreTruncateRemovedBlock(t *testing.T) { function TestFileStoreAtomicEraseMsg (line 10454) | func TestFileStoreAtomicEraseMsg(t *testing.T) { function TestFileStoreRemoveBlockWithStaleStreamState (line 10587) | func TestFileStoreRemoveBlockWithStaleStreamState(t *testing.T) { function TestFileStoreMessageSchedule (line 10630) | func TestFileStoreMessageSchedule(t *testing.T) { function TestFileStoreMessageScheduleRecovered (line 10661) | func TestFileStoreMessageScheduleRecovered(t *testing.T) { function TestFileStoreMessageScheduleEncodeDecode (line 10716) | func TestFileStoreMessageScheduleEncodeDecode(t *testing.T) { function TestFileStoreCorruptedNonOrderedSequences (line 10751) | func TestFileStoreCorruptedNonOrderedSequences(t *testing.T) { function BenchmarkFileStoreGetSeqFromTime (line 10807) | func BenchmarkFileStoreGetSeqFromTime(b *testing.B) { function TestFileStoreCacheLookupOnEmptyBlock (line 10859) | func TestFileStoreCacheLookupOnEmptyBlock(t *testing.T) { function TestFileStoreEraseMsgDoesNotLoseTombstones (line 10886) | func TestFileStoreEraseMsgDoesNotLoseTombstones(t *testing.T) { function TestFileStoreEraseMsgDoesNotLoseTombstonesInEmptyBlock (line 10948) | func TestFileStoreEraseMsgDoesNotLoseTombstonesInEmptyBlock(t *testing.T) { function TestFileStoreTombstonesNoFirstSeqRollback (line 11016) | func TestFileStoreTombstonesNoFirstSeqRollback(t *testing.T) { function TestFileStoreTombstonesSelectNextFirstCleanup (line 11072) | func TestFileStoreTombstonesSelectNextFirstCleanup(t *testing.T) { function TestFileStoreTombstonesSelectNextFirstCleanupOnRecovery (line 11131) | func TestFileStoreTombstonesSelectNextFirstCleanupOnRecovery(t *testing.... function TestFileStoreDetectDeleteGapWithLastSkipMsg (line 11187) | func TestFileStoreDetectDeleteGapWithLastSkipMsg(t *testing.T) { function TestFileStoreDetectDeleteGapWithOnlySkipMsg (line 11230) | func TestFileStoreDetectDeleteGapWithOnlySkipMsg(t *testing.T) { function TestFileStoreEraseMsgErr (line 11272) | func TestFileStoreEraseMsgErr(t *testing.T) { function TestFileStorePurgeMsgBlock (line 11304) | func TestFileStorePurgeMsgBlock(t *testing.T) { function TestFileStorePurgeMsgBlockUpdatesSubjects (line 11345) | func TestFileStorePurgeMsgBlockUpdatesSubjects(t *testing.T) { function TestFileStorePurgeMsgBlockRemovesSchedules (line 11375) | func TestFileStorePurgeMsgBlockRemovesSchedules(t *testing.T) { function TestFileStorePurgeMsgBlockAccounting (line 11429) | func TestFileStorePurgeMsgBlockAccounting(t *testing.T) { function TestFileStoreMissingDeletesAfterCompact (line 11480) | func TestFileStoreMissingDeletesAfterCompact(t *testing.T) { function TestFileStoreIdxAccountingForSkipMsgs (line 11561) | func TestFileStoreIdxAccountingForSkipMsgs(t *testing.T) { function TestFileStoreEmptyBlockContainsPriorTombstones (line 11607) | func TestFileStoreEmptyBlockContainsPriorTombstones(t *testing.T) { function TestFileStoreCompactTombstonesBelowFirstSeq (line 11690) | func TestFileStoreCompactTombstonesBelowFirstSeq(t *testing.T) { function TestFileStoreSyncBlocksFlushesAndSyncsMessages (line 11765) | func TestFileStoreSyncBlocksFlushesAndSyncsMessages(t *testing.T) { function TestJetStreamFileStoreSubjectsRemovedAfterSecureErase (line 11827) | func TestJetStreamFileStoreSubjectsRemovedAfterSecureErase(t *testing.T) { function TestFileStorePreserveLastSeqAfterCompact (line 11870) | func TestFileStorePreserveLastSeqAfterCompact(t *testing.T) { function TestFileStoreSkipMsgAndCompactRequiresAppend (line 11901) | func TestFileStoreSkipMsgAndCompactRequiresAppend(t *testing.T) { function TestFileStoreCompactRewritesFileWithSwap (line 11936) | func TestFileStoreCompactRewritesFileWithSwap(t *testing.T) { function TestFileStoreIndexCacheBufIdxMismatch (line 11969) | func TestFileStoreIndexCacheBufIdxMismatch(t *testing.T) { function TestFileStoreIndexCacheBufTombstoneMismatch (line 12088) | func TestFileStoreIndexCacheBufTombstoneMismatch(t *testing.T) { function TestFileStoreIndexCacheBufTombstoneMismatchAfterCompact (line 12120) | func TestFileStoreIndexCacheBufTombstoneMismatchAfterCompact(t *testing.... function TestFileStoreIndexCacheBufEraseMsgMismatch (line 12157) | func TestFileStoreIndexCacheBufEraseMsgMismatch(t *testing.T) { function TestFileStoreCompactRestoresLastSeq (line 12209) | func TestFileStoreCompactRestoresLastSeq(t *testing.T) { function TestFileStoreCompactFullyResetsFirstAndLastSeq (line 12255) | func TestFileStoreCompactFullyResetsFirstAndLastSeq(t *testing.T) { function TestFileStoreDoesntRebuildSubjectStateWithNoTrack (line 12305) | func TestFileStoreDoesntRebuildSubjectStateWithNoTrack(t *testing.T) { function TestFileStoreLoadNextMsgSkipAhead (line 12324) | func TestFileStoreLoadNextMsgSkipAhead(t *testing.T) { function TestFileStoreLoadNextMsgMultiSkipAhead (line 12393) | func TestFileStoreLoadNextMsgMultiSkipAhead(t *testing.T) { function TestFileStoreDeleteRangeTwoGaps (line 12465) | func TestFileStoreDeleteRangeTwoGaps(t *testing.T) { function TestFileStoreDeleteBlocksWithSingleMessageBlocks (line 12516) | func TestFileStoreDeleteBlocksWithSingleMessageBlocks(t *testing.T) { function makeSequenceSet (line 12625) | func makeSequenceSet(seqs []uint64) *avl.SequenceSet { function TestFileStoreDeleteBlocks (line 12633) | func TestFileStoreDeleteBlocks(t *testing.T) { function TestFileStoreDeleteBlocksWithManyEmptyBlocks (line 12777) | func TestFileStoreDeleteBlocksWithManyEmptyBlocks(t *testing.T) { function TestFileStoreTrailingSkipMsgsFromStreamStateFile (line 12853) | func TestFileStoreTrailingSkipMsgsFromStreamStateFile(t *testing.T) { function TestFileStoreSelectMsgBlockBinarySearch (line 12915) | func TestFileStoreSelectMsgBlockBinarySearch(t *testing.T) { function TestFileStoreRemoveMsgsInRange (line 12980) | func TestFileStoreRemoveMsgsInRange(t *testing.T) { function TestFileStoreRemoveMsgsInRangePartialBlocks (line 13085) | func TestFileStoreRemoveMsgsInRangePartialBlocks(t *testing.T) { function TestFileStoreRemoveMsgsInRangeWithTombstones (line 13183) | func TestFileStoreRemoveMsgsInRangeWithTombstones(t *testing.T) { function TestFileStoreCorrectChecksumAfterTruncate (line 13286) | func TestFileStoreCorrectChecksumAfterTruncate(t *testing.T) { function TestFileStoreRecoverTTLAndScheduleStateAndCounters (line 13320) | func TestFileStoreRecoverTTLAndScheduleStateAndCounters(t *testing.T) { function TestFileStoreCorruptionSetsHbitWithoutHeaders (line 13360) | func TestFileStoreCorruptionSetsHbitWithoutHeaders(t *testing.T) { function TestFileStoreSyncBlocksNoErrorOnConcurrentRemovedBlock (line 13409) | func TestFileStoreSyncBlocksNoErrorOnConcurrentRemovedBlock(t *testing.T) { function TestFileStoreNoDirectoryNotEmptyError (line 13483) | func TestFileStoreNoDirectoryNotEmptyError(t *testing.T) { FILE: server/gateway.go constant defaultSolicitGatewaysDelay (line 36) | defaultSolicitGatewaysDelay = time.Second constant defaultGatewayConnectDelay (line 37) | defaultGatewayConnectDelay = time.Second constant defaultGatewayConnectMaxDelay (line 38) | defaultGatewayConnectMaxDelay = 30 * time.Second constant defaultGatewayReconnectDelay (line 39) | defaultGatewayReconnectDelay = time.Second constant defaultGatewayRecentSubExpiration (line 40) | defaultGatewayRecentSubExpiration = 2 * time.Second constant defaultGatewayMaxRUnsubBeforeSwitch (line 41) | defaultGatewayMaxRUnsubBeforeSwitch = 1000 constant oldGWReplyPrefix (line 43) | oldGWReplyPrefix = "$GR." constant oldGWReplyPrefixLen (line 44) | oldGWReplyPrefixLen = len(oldGWReplyPrefix) constant oldGWReplyStart (line 45) | oldGWReplyStart = oldGWReplyPrefixLen + 5 constant gwReplyPrefix (line 49) | gwReplyPrefix = "_GR_." constant gwReplyPrefixLen (line 50) | gwReplyPrefixLen = len(gwReplyPrefix) constant gwHashLen (line 51) | gwHashLen = 6 constant gwClusterOffset (line 52) | gwClusterOffset = gwReplyPrefixLen constant gwServerOffset (line 53) | gwServerOffset = gwClusterOffset + gwHashLen + 1 constant gwSubjectOffset (line 54) | gwSubjectOffset = gwServerOffset + gwHashLen + 1 constant gwMaxPingInterval (line 58) | gwMaxPingInterval = 15 * time.Second constant gatewayTLSInsecureWarning (line 71) | gatewayTLSInsecureWarning = "TLS certificate chain and hostname of solic... function SetGatewaysSolicitDelay (line 76) | func SetGatewaysSolicitDelay(delay time.Duration) { function ResetGatewaysSolicitDelay (line 83) | func ResetGatewaysSolicitDelay() { constant gatewayCmdGossip (line 88) | gatewayCmdGossip byte = 1 constant gatewayCmdAllSubsStart (line 89) | gatewayCmdAllSubsStart byte = 2 constant gatewayCmdAllSubsComplete (line 90) | gatewayCmdAllSubsComplete byte = 3 type GatewayInterestMode (line 94) | type GatewayInterestMode method String (line 113) | func (im GatewayInterestMode) String() string { constant Optimistic (line 101) | Optimistic GatewayInterestMode = iota constant Transitioning (line 106) | Transitioning constant InterestOnly (line 110) | InterestOnly function GatewayDoNotForceInterestOnlyMode (line 130) | func GatewayDoNotForceInterestOnlyMode(doNotForce bool) { type srvGateway (line 134) | type srvGateway struct method updateRemotesTLSConfig (line 426) | func (g *srvGateway) updateRemotesTLSConfig(opts *Options) { method rejectUnknown (line 476) | func (g *srvGateway) rejectUnknown() bool { method generateInfoJSON (line 649) | func (g *srvGateway) generateInfoJSON() { method hasInbound (line 790) | func (g *srvGateway) hasInbound(name string) bool { method orderOutboundConnectionsLocked (line 1764) | func (g *srvGateway) orderOutboundConnectionsLocked() { method orderOutboundConnections (line 1771) | func (g *srvGateway) orderOutboundConnections() { method shouldMapReplyForGatewaySend (line 2507) | func (g *srvGateway) shouldMapReplyForGatewaySend(acc *Account, reply ... method getClusterHash (line 2892) | func (g *srvGateway) getClusterHash() []byte { type sitally (line 189) | type sitally struct type gatewayCfg (line 194) | type gatewayCfg struct method bumpConnAttempts (line 1530) | func (g *gatewayCfg) bumpConnAttempts() { method getConnAttempts (line 1537) | func (g *gatewayCfg) getConnAttempts() int { method resetConnAttempts (line 1545) | func (g *gatewayCfg) resetConnAttempts() { method isImplicit (line 1552) | func (g *gatewayCfg) isImplicit() bool { method getURLs (line 1561) | func (g *gatewayCfg) getURLs() []*url.URL { method getURLsAsStrings (line 1576) | func (g *gatewayCfg) getURLsAsStrings() []string { method updateURLs (line 1588) | func (g *gatewayCfg) updateURLs(infoURLs []string) { method saveTLSHostname (line 1612) | func (g *gatewayCfg) saveTLSHostname(u *url.URL) { method addURLs (line 1621) | func (g *gatewayCfg) addURLs(infoURLs []string) { type gateway (line 207) | type gateway struct type outsie (line 229) | type outsie struct type insie (line 256) | type insie struct type gwReplyMap (line 261) | type gwReplyMap struct type gwReplyMapping (line 266) | type gwReplyMapping struct method get (line 280) | func (g *gwReplyMapping) get(subject []byte) ([]byte, bool) { method clone (line 290) | func (r *RemoteGatewayOpts) clone() *RemoteGatewayOpts { function validateGatewayOptions (line 306) | func validateGatewayOptions(o *Options) error { function getGWHash (line 335) | func getGWHash(name string) []byte { function getOldHash (line 339) | func getOldHash(name string) []byte { method newGateway (line 350) | func (s *Server) newGateway(opts *Options) error { method startGateways (line 487) | func (s *Server) startGateways() { method startGatewayAcceptLoop (line 511) | func (s *Server) startGatewayAcceptLoop() { method setGatewayInfoHostPort (line 595) | func (s *Server) setGatewayInfoHostPort(info *Info, o *Options) error { method solicitGateways (line 668) | func (s *Server) solicitGateways() { method reconnectGateway (line 689) | func (s *Server) reconnectGateway(cfg *gatewayCfg) { method solicitGateway (line 706) | func (s *Server) solicitGateway(cfg *gatewayCfg, firstConnect bool) { method createGateway (line 805) | func (s *Server) createGateway(cfg *gatewayCfg, url *url.URL, conn net.C... method sendGatewayConnect (line 958) | func (c *client) sendGatewayConnect(opts *Options) { method processGatewayConnect (line 993) | func (c *client) processGatewayConnect(arg []byte) error { method processGatewayInfo (line 1045) | func (c *client) processGatewayInfo(info *Info) { method gossipGatewaysToInboundGateway (line 1253) | func (s *Server) gossipGatewaysToInboundGateway(gwName string, c *client) { method forwardNewGatewayToLocalCluster (line 1279) | func (s *Server) forwardNewGatewayToLocalCluster(oinfo *Info) { method sendQueueSubsToGateway (line 1311) | func (s *Server) sendQueueSubsToGateway(c *client) { method sendAccountSubsToGateway (line 1319) | func (s *Server) sendAccountSubsToGateway(c *client, accName string) { function gwBuildSubProto (line 1323) | func gwBuildSubProto(buf *bytes.Buffer, accName string, acc map[string]*... method sendSubsToGateway (line 1342) | func (s *Server) sendSubsToGateway(c *client, accountName string) { method processGatewayInfoFromRoute (line 1394) | func (s *Server) processGatewayInfoFromRoute(info *Info, routeSrvID stri... method sendGatewayConfigsToRoute (line 1406) | func (s *Server) sendGatewayConfigsToRoute(route *client) { method processImplicitGateway (line 1453) | func (s *Server) processImplicitGateway(info *Info) { method NumOutboundGateways (line 1501) | func (s *Server) NumOutboundGateways() int { method numOutboundGateways (line 1506) | func (s *Server) numOutboundGateways() int { method numInboundGateways (line 1514) | func (s *Server) numInboundGateways() int { method getRemoteGateway (line 1522) | func (s *Server) getRemoteGateway(name string) *gatewayCfg { method addGatewayURL (line 1648) | func (s *Server) addGatewayURL(urlStr string) bool { method removeGatewayURL (line 1661) | func (s *Server) removeGatewayURL(urlStr string) bool { method sendAsyncGatewayInfo (line 1676) | func (s *Server) sendAsyncGatewayInfo() { method getGatewayURL (line 1688) | func (s *Server) getGatewayURL() string { method getGatewayName (line 1697) | func (s *Server) getGatewayName() string { method getAllGatewayConnections (line 1703) | func (s *Server) getAllGatewayConnections(conns map[uint64]*client) { method registerInboundGatewayConnection (line 1720) | func (s *Server) registerInboundGatewayConnection(cid uint64, gwc *clien... method registerOutboundGatewayConnection (line 1728) | func (s *Server) registerOutboundGatewayConnection(name string, gwc *cli... method getOutboundGatewayConnection (line 1743) | func (s *Server) getOutboundGatewayConnection(name string) *client { method getOutboundGatewayConnections (line 1753) | func (s *Server) getOutboundGatewayConnections(a *[]*client) { method getInboundGatewayConnections (line 1778) | func (s *Server) getInboundGatewayConnections(a *[]*client) { method removeRemoteGatewayConnection (line 1788) | func (s *Server) removeRemoteGatewayConnection(c *client) { method GatewayAddr (line 1862) | func (s *Server) GatewayAddr() *net.TCPAddr { method processGatewayAccountUnsub (line 1875) | func (c *client) processGatewayAccountUnsub(accName string) { method processGatewayAccountSub (line 1904) | func (c *client) processGatewayAccountSub(accName string) error { method processGatewayRUnsub (line 1934) | func (c *client) processGatewayRUnsub(arg []byte) error { method processGatewayRSub (line 2029) | func (c *client) processGatewayRSub(arg []byte) error { method gatewayInterest (line 2165) | func (c *client) gatewayInterest(acc string, subj []byte) (bool, *Sublis... method switchAccountToInterestMode (line 2211) | func (s *Server) switchAccountToInterestMode(accName string) { method maybeSendSubOrUnsubToGateways (line 2237) | func (s *Server) maybeSendSubOrUnsubToGateways(accName string, sub *subs... method sendQueueSubOrUnsubToGateways (line 2335) | func (s *Server) sendQueueSubOrUnsubToGateways(accName string, qsub *sub... method gatewayUpdateSubInterest (line 2391) | func (s *Server) gatewayUpdateSubInterest(accName string, sub *subscript... function isGWRoutedReply (line 2484) | func isGWRoutedReply(subj []byte) bool { function isGWRoutedSubjectAndIsOldPrefix (line 2490) | func isGWRoutedSubjectAndIsOldPrefix(subj []byte) (bool, bool) { function hasGWRoutedReplyPrefix (line 2502) | func hasGWRoutedReplyPrefix(subj []byte) bool { method sendMsgToGateways (line 2540) | func (c *client) sendMsgToGateways(acc *Account, msg, subject, reply []b... method gatewayHandleAccountNoInterest (line 2787) | func (s *Server) gatewayHandleAccountNoInterest(c *client, accName []byt... method sendAccountUnsubToGateway (line 2802) | func (c *client) sendAccountUnsubToGateway(accName []byte) { method gatewayHandleSubjectNoInterest (line 2830) | func (s *Server) gatewayHandleSubjectNoInterest(c *client, acc *Account,... method storeRouteByHash (line 2901) | func (s *Server) storeRouteByHash(srvIDHash string, c *client) { method removeRouteByHash (line 2909) | func (s *Server) removeRouteByHash(srvIDHash string) { method getRouteByHash (line 2918) | func (s *Server) getRouteByHash(hash, accName []byte) (*client, bool) { function getSubjectFromGWRoutedReply (line 2948) | func getSubjectFromGWRoutedReply(reply []byte, isOldPrefix bool) []byte { method handleGatewayReply (line 2963) | func (c *client) handleGatewayReply(msg []byte) (processed bool) { method processInboundGatewayMsg (line 3107) | func (c *client) processInboundGatewayMsg(msg []byte) { method gatewayAllSubsReceiveStart (line 3183) | func (c *client) gatewayAllSubsReceiveStart(info *Info) { method gatewayAllSubsReceiveComplete (line 3216) | func (c *client) gatewayAllSubsReceiveComplete(info *Info) { function getAccountFromGatewayCommand (line 3240) | func getAccountFromGatewayCommand(c *client, info *Info, cmd string) str... method gatewaySwitchAccountToSendAllSubs (line 3260) | func (c *client) gatewaySwitchAccountToSendAllSubs(e *insie, accName str... method trackGWReply (line 3324) | func (s *Server) trackGWReply(c *client, acc *Account, reply, routedRepl... method startGWReplyMapExpiration (line 3371) | func (s *Server) startGWReplyMapExpiration() { FILE: server/gateway_test.go function init (line 42) | func init() { function waitForOutboundGateways (line 49) | func waitForOutboundGateways(t *testing.T, s *Server, expected int, time... function waitForInboundGateways (line 63) | func waitForInboundGateways(t *testing.T, s *Server, expected int, timeo... function waitForGatewayFailedConnect (line 76) | func waitForGatewayFailedConnect(t *testing.T, s *Server, gwName string,... function checkForRegisteredQSubInterest (line 93) | func checkForRegisteredQSubInterest(t *testing.T, s *Server, gwName, acc... function checkForSubjectNoInterest (line 113) | func checkForSubjectNoInterest(t *testing.T, c *client, account, subject... function checkForAccountNoInterest (line 137) | func checkForAccountNoInterest(t *testing.T, c *client, account string, ... function checkGWInterestOnlyMode (line 153) | func checkGWInterestOnlyMode(t *testing.T, s *Server, outboundGWName, ac... function checkGWInterestOnlyModeOrNotPresent (line 158) | func checkGWInterestOnlyModeOrNotPresent(t *testing.T, s *Server, outbou... function checkGWInterestOnlyModeInterestOn (line 192) | func checkGWInterestOnlyModeInterestOn(t *testing.T, s *Server, outbound... function waitCh (line 211) | func waitCh(t *testing.T, ch chan bool, errTxt string) { function natsConnect (line 223) | func natsConnect(t testing.TB, url string, options ...nats.Option) *nats... function natsSub (line 243) | func natsSub(t *testing.T, nc *nats.Conn, subj string, cb nats.MsgHandle... function natsSubSync (line 252) | func natsSubSync(t *testing.T, nc *nats.Conn, subj string) *nats.Subscri... function natsNexMsg (line 261) | func natsNexMsg(t *testing.T, sub *nats.Subscription, timeout time.Durat... function natsQueueSub (line 270) | func natsQueueSub(t *testing.T, nc *nats.Conn, subj, queue string, cb na... function natsQueueSubSync (line 279) | func natsQueueSubSync(t *testing.T, nc *nats.Conn, subj, queue string) *... function natsFlush (line 288) | func natsFlush(t *testing.T, nc *nats.Conn) { function natsPub (line 295) | func natsPub(t testing.TB, nc *nats.Conn, subj string, payload []byte) { function natsPubReq (line 302) | func natsPubReq(t *testing.T, nc *nats.Conn, subj, reply string, payload... function natsUnsub (line 309) | func natsUnsub(t *testing.T, sub *nats.Subscription) { function testDefaultOptionsForGateway (line 316) | func testDefaultOptionsForGateway(name string) *Options { function runGatewayServer (line 327) | func runGatewayServer(o *Options) *Server { function testGatewayOptionsFromToWithServers (line 333) | func testGatewayOptionsFromToWithServers(t *testing.T, org, dst string, ... function testAddGatewayURLs (line 349) | func testAddGatewayURLs(t *testing.T, o *Options, dst string, urls []str... function testGatewayOptionsFromToWithURLs (line 362) | func testGatewayOptionsFromToWithURLs(t *testing.T, org, dst string, url... function testGatewayOptionsWithTLS (line 368) | func testGatewayOptionsWithTLS(t *testing.T, name string) *Options { function testGatewayOptionsFromToWithTLS (line 393) | func testGatewayOptionsFromToWithTLS(t *testing.T, org, dst string, urls... function TestGatewayBasic (line 399) | func TestGatewayBasic(t *testing.T) { function TestGatewayIgnoreSelfReference (line 462) | func TestGatewayIgnoreSelfReference(t *testing.T) { function TestGatewayHeaderInfo (line 516) | func TestGatewayHeaderInfo(t *testing.T) { function TestGatewayHeaderSupport (line 565) | func TestGatewayHeaderSupport(t *testing.T) { function TestGatewayHeaderDeliverStrippedMsg (line 634) | func TestGatewayHeaderDeliverStrippedMsg(t *testing.T) { function TestGatewaySolicitDelay (line 703) | func TestGatewaySolicitDelay(t *testing.T) { function TestGatewaySolicitDelayWithImplicitOutbounds (line 740) | func TestGatewaySolicitDelayWithImplicitOutbounds(t *testing.T) { type slowResolver (line 766) | type slowResolver struct method LookupHost (line 771) | func (r *slowResolver) LookupHost(ctx context.Context, h string) ([]st... function TestGatewaySolicitShutdown (line 784) | func TestGatewaySolicitShutdown(t *testing.T) { function testFatalErrorOnStart (line 804) | func testFatalErrorOnStart(t *testing.T, o *Options, errTxt string) { function TestGatewayListenError (line 824) | func TestGatewayListenError(t *testing.T) { function TestGatewayWithListenToAny (line 834) | func TestGatewayWithListenToAny(t *testing.T) { function TestGatewayAdvertise (line 935) | func TestGatewayAdvertise(t *testing.T) { function TestGatewayAdvertiseErr (line 964) | func TestGatewayAdvertiseErr(t *testing.T) { function TestGatewayAuth (line 970) | func TestGatewayAuth(t *testing.T) { function TestGatewayTLS (line 1014) | func TestGatewayTLS(t *testing.T) { function TestGatewayTLSErrors (line 1107) | func TestGatewayTLSErrors(t *testing.T) { function TestGatewayServerNameInTLSConfig (line 1120) | func TestGatewayServerNameInTLSConfig(t *testing.T) { function TestGatewayWrongDestination (line 1155) | func TestGatewayWrongDestination(t *testing.T) { function TestGatewayConnectToWrongPort (line 1186) | func TestGatewayConnectToWrongPort(t *testing.T) { function TestGatewayCreateImplicit (line 1221) | func TestGatewayCreateImplicit(t *testing.T) { function TestGatewayCreateImplicitOnNewRoute (line 1256) | func TestGatewayCreateImplicitOnNewRoute(t *testing.T) { function TestGatewayImplicitReconnect (line 1286) | func TestGatewayImplicitReconnect(t *testing.T) { function TestGatewayImplicitReconnectRace (line 1326) | func TestGatewayImplicitReconnectRace(t *testing.T) { type gwReconnAttemptLogger (line 1375) | type gwReconnAttemptLogger struct method Errorf (line 1380) | func (l *gwReconnAttemptLogger) Errorf(format string, v ...any) { function TestGatewayImplicitReconnectHonorConnectRetries (line 1390) | func TestGatewayImplicitReconnectHonorConnectRetries(t *testing.T) { function TestGatewayReconnectExponentialBackoff (line 1450) | func TestGatewayReconnectExponentialBackoff(t *testing.T) { function TestGatewayURLsFromClusterSentInINFO (line 1506) | func TestGatewayURLsFromClusterSentInINFO(t *testing.T) { function TestGatewayUseUpdatedURLs (line 1550) | func TestGatewayUseUpdatedURLs(t *testing.T) { function TestGatewayAutoDiscovery (line 1578) | func TestGatewayAutoDiscovery(t *testing.T) { function TestGatewayRejectUnknown (line 1672) | func TestGatewayRejectUnknown(t *testing.T) { function TestGatewayNoReconnectOnClose (line 1735) | func TestGatewayNoReconnectOnClose(t *testing.T) { function TestGatewayDontSendSubInterest (line 1755) | func TestGatewayDontSendSubInterest(t *testing.T) { function setAccountUserPassInOptions (line 1788) | func setAccountUserPassInOptions(o *Options, accName, username, password... function TestGatewayAccountInterest (line 1794) | func TestGatewayAccountInterest(t *testing.T) { function TestGatewayAccountUnsub (line 1912) | func TestGatewayAccountUnsub(t *testing.T) { function TestGatewaySubjectInterest (line 1972) | func TestGatewaySubjectInterest(t *testing.T) { function TestGatewayDoesntSendBackToItself (line 2150) | func TestGatewayDoesntSendBackToItself(t *testing.T) { function TestGatewayOrderedOutbounds (line 2190) | func TestGatewayOrderedOutbounds(t *testing.T) { function TestGatewayQueueSub (line 2265) | func TestGatewayQueueSub(t *testing.T) { function TestGatewayTotalQSubs (line 2484) | func TestGatewayTotalQSubs(t *testing.T) { function TestGatewaySendQSubsOnGatewayConnect (line 2581) | func TestGatewaySendQSubsOnGatewayConnect(t *testing.T) { function TestGatewaySendRemoteQSubs (line 2631) | func TestGatewaySendRemoteQSubs(t *testing.T) { function TestGatewayComplexSetup (line 2778) | func TestGatewayComplexSetup(t *testing.T) { function TestGatewayMsgSentOnlyOnce (line 2993) | func TestGatewayMsgSentOnlyOnce(t *testing.T) { type checkErrorLogger (line 3075) | type checkErrorLogger struct method Errorf (line 3081) | func (l *checkErrorLogger) Errorf(format string, args ...any) { function TestGatewayRoutedServerWithoutGatewayConfigured (line 3090) | func TestGatewayRoutedServerWithoutGatewayConfigured(t *testing.T) { function TestGatewaySendsToNonLocalSubs (line 3140) | func TestGatewaySendsToNonLocalSubs(t *testing.T) { function TestGatewayUnknownGatewayCommand (line 3204) | func TestGatewayUnknownGatewayCommand(t *testing.T) { function TestGatewayRandomIP (line 3246) | func TestGatewayRandomIP(t *testing.T) { function TestGatewaySendQSubsBufSize (line 3268) | func TestGatewaySendQSubsBufSize(t *testing.T) { function TestGatewayRaceBetweenPubAndSub (line 3357) | func TestGatewayRaceBetweenPubAndSub(t *testing.T) { function getInboundGatewayConnection (line 3408) | func getInboundGatewayConnection(s *Server, name string) *client { function TestGatewaySendAllSubs (line 3423) | func TestGatewaySendAllSubs(t *testing.T) { function TestGatewaySendAllSubsBadProtocol (line 3601) | func TestGatewaySendAllSubsBadProtocol(t *testing.T) { function TestGatewayRaceOnClose (line 3674) | func TestGatewayRaceOnClose(t *testing.T) { function TestGatewayServiceImport (line 3716) | func TestGatewayServiceImport(t *testing.T) { function TestGatewayServiceImportWithQueue (line 4004) | func TestGatewayServiceImportWithQueue(t *testing.T) { function ensureGWConnectTo (line 4296) | func ensureGWConnectTo(t *testing.T, s *Server, remoteGWName string, rem... function TestGatewayServiceImportComplexSetup (line 4334) | func TestGatewayServiceImportComplexSetup(t *testing.T) { function TestGatewayServiceExportWithWildcards (line 4661) | func TestGatewayServiceExportWithWildcards(t *testing.T) { function TestGatewayMemUsage (line 5026) | func TestGatewayMemUsage(t *testing.T) { function TestGatewayMapReplyOnlyForRecentSub (line 5070) | func TestGatewayMapReplyOnlyForRecentSub(t *testing.T) { type delayedWriteConn (line 5126) | type delayedWriteConn struct method Write (line 5134) | func (c *delayedWriteConn) Write(b []byte) (int, error) { function TestGatewaySendReplyAcrossGateways (line 5165) | func TestGatewaySendReplyAcrossGateways(t *testing.T) { function TestGatewayPingPongReplyAcrossGateways (line 5346) | func TestGatewayPingPongReplyAcrossGateways(t *testing.T) { function TestGatewaySendReplyAcrossGatewaysServiceImport (line 5419) | func TestGatewaySendReplyAcrossGatewaysServiceImport(t *testing.T) { function TestGatewayClientsDontReceiveMsgsOnGWPrefix (line 5586) | func TestGatewayClientsDontReceiveMsgsOnGWPrefix(t *testing.T) { function TestGatewayNoAccInterestThenQSubThenRegularSub (line 5643) | func TestGatewayNoAccInterestThenQSubThenRegularSub(t *testing.T) { function TestGatewayHandleUnexpectedASubUnsub (line 5705) | func TestGatewayHandleUnexpectedASubUnsub(t *testing.T) { type captureGWInterestSwitchLogger (line 5828) | type captureGWInterestSwitchLogger struct method Debugf (line 5833) | func (l *captureGWInterestSwitchLogger) Debugf(format string, args ...... function TestGatewayLogAccountInterestModeSwitch (line 5843) | func TestGatewayLogAccountInterestModeSwitch(t *testing.T) { function TestGatewayAccountInterestModeSwitchOnlyOncePerAccount (line 5932) | func TestGatewayAccountInterestModeSwitchOnlyOncePerAccount(t *testing.T) { function TestGatewaySingleOutbound (line 5977) | func TestGatewaySingleOutbound(t *testing.T) { function TestGatewayReplyMapTracking (line 6017) | func TestGatewayReplyMapTracking(t *testing.T) { function TestGatewayNoAccountUnsubWhenServiceReplyInUse (line 6113) | func TestGatewayNoAccountUnsubWhenServiceReplyInUse(t *testing.T) { function TestGatewayCloseTLSConnection (line 6194) | func TestGatewayCloseTLSConnection(t *testing.T) { function TestGatewayNoCrashOnInvalidSubject (line 6279) | func TestGatewayNoCrashOnInvalidSubject(t *testing.T) { function TestGatewayUpdateURLsFromRemoteCluster (line 6318) | func TestGatewayUpdateURLsFromRemoteCluster(t *testing.T) { type capturePingConn (line 6391) | type capturePingConn struct method Write (line 6396) | func (c *capturePingConn) Write(b []byte) (int, error) { function TestGatewayPings (line 6406) | func TestGatewayPings(t *testing.T) { function TestGatewayTLSConfigReload (line 6438) | func TestGatewayTLSConfigReload(t *testing.T) { function TestGatewayTLSConfigReloadForRemote (line 6471) | func TestGatewayTLSConfigReloadForRemote(t *testing.T) { function TestGatewayTLSConfigReloadForImplicitRemote (line 6519) | func TestGatewayTLSConfigReloadForImplicitRemote(t *testing.T) { function TestGatewayAuthDiscovered (line 6578) | func TestGatewayAuthDiscovered(t *testing.T) { function TestGatewayTLSCertificateImplicitAllowPass (line 6613) | func TestGatewayTLSCertificateImplicitAllowPass(t *testing.T) { function TestGatewayTLSCertificateImplicitAllowFail (line 6617) | func TestGatewayTLSCertificateImplicitAllowFail(t *testing.T) { function testGatewayTLSCertificateImplicitAllow (line 6621) | func testGatewayTLSCertificateImplicitAllow(t *testing.T, pass bool) { function TestGatewayURLsNotRemovedOnDuplicateRoute (line 6708) | func TestGatewayURLsNotRemovedOnDuplicateRoute(t *testing.T) { function TestGatewayDuplicateServerName (line 6774) | func TestGatewayDuplicateServerName(t *testing.T) { function TestGatewayNoPanicOnStartupWithMonitoring (line 6903) | func TestGatewayNoPanicOnStartupWithMonitoring(t *testing.T) { function TestGatewaySwitchToInterestOnlyModeImmediately (line 6934) | func TestGatewaySwitchToInterestOnlyModeImmediately(t *testing.T) { function TestGatewaySlowConsumer (line 7003) | func TestGatewaySlowConsumer(t *testing.T) { function TestGatewayConnectEvents (line 7039) | func TestGatewayConnectEvents(t *testing.T) { function disconnectInboundGateways (line 7082) | func disconnectInboundGateways(s *Server) { type testMissingOCSPStapleLogger (line 7096) | type testMissingOCSPStapleLogger struct method Errorf (line 7101) | func (l *testMissingOCSPStapleLogger) Errorf(format string, v ...any) { function TestGatewayOCSPMissingPeerStapleIssue (line 7111) | func TestGatewayOCSPMissingPeerStapleIssue(t *testing.T) { function TestGatewayOutboundDetectsStaleConnectionIfNoInfo (line 7473) | func TestGatewayOutboundDetectsStaleConnectionIfNoInfo(t *testing.T) { function TestGatewayConfigureWriteDeadline (line 7533) | func TestGatewayConfigureWriteDeadline(t *testing.T) { function TestGatewayConfigureWriteTimeoutPolicy (line 7568) | func TestGatewayConfigureWriteTimeoutPolicy(t *testing.T) { function TestGatewayProcessRSubNoBlockingAccountFetch (line 7613) | func TestGatewayProcessRSubNoBlockingAccountFetch(t *testing.T) { FILE: server/gsl/gsl.go constant pwc (line 29) | pwc = '*' constant pwcs (line 30) | pwcs = "*" constant fwc (line 31) | fwc = '>' constant fwcs (line 32) | fwcs = ">" constant tsep (line 33) | tsep = "." constant btsep (line 34) | btsep = '.' constant _EMPTY_ (line 35) | _EMPTY_ = "" function NewSimpleSublist (line 52) | func NewSimpleSublist() *SimpleSublist { type GenericSublist (line 57) | type GenericSublist struct type node (line 64) | type node struct type level (line 71) | type level struct function newNode (line 77) | func newNode[T comparable]() *node[T] { function newLevel (line 82) | func newLevel[T comparable]() *level[T] { function NewSublist (line 87) | func NewSublist[T comparable]() *GenericSublist[T] { method Insert (line 92) | func (s *GenericSublist[T]) Insert(subject string, value T) error { method Match (line 150) | func (s *GenericSublist[T]) Match(subject string, cb func(T)) { method MatchBytes (line 156) | func (s *GenericSublist[T]) MatchBytes(subject []byte, cb func(T)) { method HasInterest (line 162) | func (s *GenericSublist[T]) HasInterest(subject string) bool { method NumInterest (line 168) | func (s *GenericSublist[T]) NumInterest(subject string) (np int) { method match (line 173) | func (s *GenericSublist[T]) match(subject string, cb func(T), doLock boo... method hasInterest (line 198) | func (s *GenericSublist[T]) hasInterest(subject string, doLock bool, np ... function matchLevelForAny (line 223) | func matchLevelForAny[T comparable](l *level[T], toks []string, np *int)... function callbacksForResults (line 266) | func callbacksForResults[T comparable](n *node[T], cb func(T)) { function matchLevel (line 273) | func matchLevel[T comparable](l *level[T], toks []string, cb func(T)) { type lnt (line 301) | type lnt struct method remove (line 308) | func (s *GenericSublist[T]) remove(subject string, value T, shouldLock b... method Remove (line 368) | func (s *GenericSublist[T]) Remove(subject string, value T) error { method HasInterestStartingIn (line 373) | func (s *GenericSublist[T]) HasInterestStartingIn(subj string) bool { function hasInterestStartingIn (line 381) | func hasInterestStartingIn[T comparable](l *level[T], tokens []string) b... method pruneNode (line 403) | func (l *level[T]) pruneNode(n *node[T], t string) { method isEmpty (line 418) | func (n *node[T]) isEmpty() bool { method numNodes (line 423) | func (l *level[T]) numNodes() int { method removeFromNode (line 438) | func (s *GenericSublist[T]) removeFromNode(n *node[T], value T) (found b... method Count (line 449) | func (s *GenericSublist[T]) Count() uint32 { method numLevels (line 457) | func (s *GenericSublist[T]) numLevels() int { function visitLevel (line 463) | func visitLevel[T comparable](l *level[T], depth int) int { function tokenizeSubjectIntoSlice (line 496) | func tokenizeSubjectIntoSlice(tts []string, subject string) []string { FILE: server/gsl/gsl_test.go function TestGenericSublistInit (line 23) | func TestGenericSublistInit(t *testing.T) { function TestGenericSublistInsertCount (line 29) | func TestGenericSublistInsertCount(t *testing.T) { function TestGenericSublistSimple (line 37) | func TestGenericSublistSimple(t *testing.T) { function TestGenericSublistSimpleMultiTokens (line 43) | func TestGenericSublistSimpleMultiTokens(t *testing.T) { function TestGenericSublistPartialWildcard (line 49) | func TestGenericSublistPartialWildcard(t *testing.T) { function TestGenericSublistPartialWildcardAtEnd (line 56) | func TestGenericSublistPartialWildcardAtEnd(t *testing.T) { function TestGenericSublistFullWildcard (line 63) | func TestGenericSublistFullWildcard(t *testing.T) { function TestGenericSublistRemove (line 71) | func TestGenericSublistRemove(t *testing.T) { function TestGenericSublistRemoveWildcard (line 83) | func TestGenericSublistRemoveWildcard(t *testing.T) { function TestGenericSublistRemoveCleanup (line 105) | func TestGenericSublistRemoveCleanup(t *testing.T) { function TestGenericSublistRemoveCleanupWildcards (line 114) | func TestGenericSublistRemoveCleanupWildcards(t *testing.T) { function TestGenericSublistInvalidSubjectsInsert (line 123) | func TestGenericSublistInvalidSubjectsInsert(t *testing.T) { function TestGenericSublistBadSubjectOnRemove (line 134) | func TestGenericSublistBadSubjectOnRemove(t *testing.T) { function TestGenericSublistTwoTokenPubMatchSingleTokenSub (line 141) | func TestGenericSublistTwoTokenPubMatchSingleTokenSub(t *testing.T) { function TestGenericSublistInsertWithWildcardsAsLiterals (line 148) | func TestGenericSublistInsertWithWildcardsAsLiterals(t *testing.T) { function TestGenericSublistRemoveWithWildcardsAsLiterals (line 157) | func TestGenericSublistRemoveWithWildcardsAsLiterals(t *testing.T) { function TestGenericSublistMatchWithEmptyTokens (line 170) | func TestGenericSublistMatchWithEmptyTokens(t *testing.T) { function TestGenericSublistHasInterest (line 180) | func TestGenericSublistHasInterest(t *testing.T) { function TestGenericSublistHasInterestOverlapping (line 237) | func TestGenericSublistHasInterestOverlapping(t *testing.T) { function TestGenericSublistHasInterestStartingInRace (line 247) | func TestGenericSublistHasInterestStartingInRace(t *testing.T) { function TestGenericSublistNumInterest (line 298) | func TestGenericSublistNumInterest(t *testing.T) { function require_Matches (line 359) | func require_Matches[T comparable](t *testing.T, s *GenericSublist[T], s... function require_True (line 368) | func require_True(t testing.TB, b bool) { function require_False (line 376) | func require_False(t testing.TB, b bool) { function require_NoError (line 384) | func require_NoError(t testing.TB, err error) { function require_Error (line 394) | func require_Error(t testing.TB, err error, expected ...error) { function require_Equal (line 422) | func require_Equal[T comparable](t testing.TB, a, b T) { FILE: server/ipqueue.go constant ipQueueDefaultMaxRecycleSize (line 22) | ipQueueDefaultMaxRecycleSize = 4 * 1024 type ipQueue (line 25) | type ipQueue struct type ipQueueOpts (line 38) | type ipQueueOpts struct type ipQueueOpt (line 45) | type ipQueueOpt function ipqMaxRecycleSize (line 49) | func ipqMaxRecycleSize[T any](max int) ipQueueOpt[T] { function ipqSizeCalculation (line 58) | func ipqSizeCalculation[T any](calc func(e T) uint64) ipQueueOpt[T] { function ipqLimitBySize (line 68) | func ipqLimitBySize[T any](max uint64) ipQueueOpt[T] { function ipqLimitByLen (line 77) | func ipqLimitByLen[T any](max int) ipQueueOpt[T] { function newIPQueue (line 86) | func newIPQueue[T any](s *Server, name string, opts ...ipQueueOpt[T]) *i... method push (line 113) | func (q *ipQueue[T]) push(e T) (int, error) { method pop (line 152) | func (q *ipQueue[T]) pop() []T { method popOne (line 178) | func (q *ipQueue[T]) popOne() (T, bool) { method recycle (line 215) | func (q *ipQueue[T]) recycle(elts *[]T) { method len (line 234) | func (q *ipQueue[T]) len() int { method size (line 242) | func (q *ipQueue[T]) size() uint64 { method drain (line 253) | func (q *ipQueue[T]) drain() int { method inProgress (line 275) | func (q *ipQueue[T]) inProgress() int64 { method unregister (line 281) | func (q *ipQueue[T]) unregister() { FILE: server/ipqueue_test.go function TestIPQueueBasic (line 23) | func TestIPQueueBasic(t *testing.T) { function TestIPQueuePush (line 91) | func TestIPQueuePush(t *testing.T) { function TestIPQueuePop (line 117) | func TestIPQueuePop(t *testing.T) { function TestIPQueuePopOne (line 160) | func TestIPQueuePopOne(t *testing.T) { function TestIPQueueMultiProducers (line 253) | func TestIPQueueMultiProducers(t *testing.T) { function TestIPQueueRecycle (line 291) | func TestIPQueueRecycle(t *testing.T) { function TestIPQueueDrain (line 350) | func TestIPQueueDrain(t *testing.T) { function TestIPQueueSizeCalculation (line 385) | func TestIPQueueSizeCalculation(t *testing.T) { function TestIPQueueSizeCalculationWithLimits (line 412) | func TestIPQueueSizeCalculationWithLimits(t *testing.T) { function Benchmark_IPQueueSizeCalculation (line 448) | func Benchmark_IPQueueSizeCalculation(b *testing.B) { function Benchmark_IPQueue1Prod1ConsPopOne (line 507) | func Benchmark_IPQueue1Prod1ConsPopOne(b *testing.B) { function Benchmark_IPQueue5Prod1ConsPopOne (line 511) | func Benchmark_IPQueue5Prod1ConsPopOne(b *testing.B) { function Benchmark_IPQueue1Prod5ConsPopOne (line 515) | func Benchmark_IPQueue1Prod5ConsPopOne(b *testing.B) { function Benchmark_IPQueue5Prod5ConsPopOne (line 519) | func Benchmark_IPQueue5Prod5ConsPopOne(b *testing.B) { function Benchmark_IPQueue1Prod1ConsPopAll (line 523) | func Benchmark_IPQueue1Prod1ConsPopAll(b *testing.B) { function Benchmark_IPQueue5Prod1ConsPopAll (line 527) | func Benchmark_IPQueue5Prod1ConsPopAll(b *testing.B) { function Benchmark_IPQueue1Prod5ConsPopAll (line 531) | func Benchmark_IPQueue1Prod5ConsPopAll(b *testing.B) { function Benchmark_IPQueue5Prod5ConsPopAll (line 535) | func Benchmark_IPQueue5Prod5ConsPopAll(b *testing.B) { function Benchmark_IPQueueWithLim1Prod1ConsPopOne (line 539) | func Benchmark_IPQueueWithLim1Prod1ConsPopOne(b *testing.B) { function Benchmark_IPQueueWithLim5Prod1ConsPopOne (line 543) | func Benchmark_IPQueueWithLim5Prod1ConsPopOne(b *testing.B) { function Benchmark_IPQueueWithLim1Prod5ConsPopOne (line 547) | func Benchmark_IPQueueWithLim1Prod5ConsPopOne(b *testing.B) { function Benchmark_IPQueueWithLim5Prod5ConsPopOne (line 551) | func Benchmark_IPQueueWithLim5Prod5ConsPopOne(b *testing.B) { function Benchmark_IPQueueWithLim1Prod1ConsPopAll (line 555) | func Benchmark_IPQueueWithLim1Prod1ConsPopAll(b *testing.B) { function Benchmark_IPQueueWithLim5Prod1ConsPopAll (line 559) | func Benchmark_IPQueueWithLim5Prod1ConsPopAll(b *testing.B) { function Benchmark_IPQueueWithLim1Prod5ConsPopAll (line 563) | func Benchmark_IPQueueWithLim1Prod5ConsPopAll(b *testing.B) { function Benchmark_IPQueueWithLim5Prod5ConsPopAll (line 567) | func Benchmark_IPQueueWithLim5Prod5ConsPopAll(b *testing.B) { function benchIPQueue (line 571) | func benchIPQueue(b *testing.B, numProd, numCons int, popOne, withLimits... function Benchmark_IPQueuePushAndPopOne (line 644) | func Benchmark_IPQueuePushAndPopOne(b *testing.B) { function Benchmark_IPQueuePushAndPopAll (line 660) | func Benchmark_IPQueuePushAndPopAll(b *testing.B) { FILE: server/jetstream.go type JetStreamConfig (line 43) | type JetStreamConfig struct type JetStreamStats (line 56) | type JetStreamStats struct type JetStreamAccountLimits (line 66) | type JetStreamAccountLimits struct type JetStreamTier (line 77) | type JetStreamTier struct type JetStreamAccountStats (line 88) | type JetStreamAccountStats struct type JetStreamAPIStats (line 96) | type JetStreamAPIStats struct type jetStream (line 104) | type jetStream struct method setStarted (line 878) | func (js *jetStream) setStarted() { method isEnabled (line 884) | func (js *jetStream) isEnabled() bool { method setJetStreamStandAlone (line 892) | func (js *jetStream) setJetStreamStandAlone(isStandAlone bool) { method isShuttingDown (line 974) | func (js *jetStream) isShuttingDown() bool { method disableJetStream (line 1989) | func (js *jetStream) disableJetStream(jsa *jsAccount) error { method wouldExceedLimits (line 2303) | func (js *jetStream) wouldExceedLimits(storeType StorageType, sz int) ... method limitsExceeded (line 2316) | func (js *jetStream) limitsExceeded(storeType StorageType) bool { method checkAccountLimits (line 2422) | func (js *jetStream) checkAccountLimits(selected *JetStreamAccountLimi... method checkAllLimits (line 2428) | func (js *jetStream) checkAllLimits(selected *JetStreamAccountLimits, ... method checkLimits (line 2434) | func (js *jetStream) checkLimits(selected *JetStreamAccountLimits, con... method checkBytesLimits (line 2446) | func (js *jetStream) checkBytesLimits(selectedLimits *JetStreamAccount... method lookupAccount (line 2509) | func (js *jetStream) lookupAccount(a *Account) *jsAccount { method usageStats (line 2520) | func (js *jetStream) usageStats() *JetStreamStats { method sufficientResources (line 2549) | func (js *jetStream) sufficientResources(limits map[string]JetStreamAc... method reserveStreamResources (line 2606) | func (js *jetStream) reserveStreamResources(cfg *StreamConfig) { method releaseStreamResources (line 2627) | func (js *jetStream) releaseStreamResources(cfg *StreamConfig) { type remoteUsage (line 138) | type remoteUsage struct type jsaStorage (line 144) | type jsaStorage struct type jsAccount (line 154) | type jsAccount struct method reservedStorage (line 1805) | func (jsa *jsAccount) reservedStorage(tier string) (mem, store uint64) { method remoteUpdateUsage (line 2025) | func (jsa *jsAccount) remoteUpdateUsage(sub *subscription, c *client, ... method checkAndSyncUsage (line 2112) | func (jsa *jsAccount) checkAndSyncUsage(tierName string, storeType Sto... method updateUsage (line 2191) | func (jsa *jsAccount) updateUsage(tierName string, storeType StorageTy... method sendClusterUsageUpdateTimer (line 2233) | func (jsa *jsAccount) sendClusterUsageUpdateTimer() { method sendClusterUsageUpdate (line 2254) | func (jsa *jsAccount) sendClusterUsageUpdate() { method jetStreamAndClustered (line 2335) | func (jsa *jsAccount) jetStreamAndClustered() (*jetStream, bool) { method selectLimits (line 2343) | func (jsa *jsAccount) selectLimits(replicas int) (JetStreamAccountLimi... method countStreams (line 2355) | func (jsa *jsAccount) countStreams(tier string, cfg *StreamConfig) (st... method storageTotals (line 2366) | func (jsa *jsAccount) storageTotals() (uint64, uint64) { method limitsExceeded (line 2376) | func (jsa *jsAccount) limitsExceeded(storeType StorageType, tierName s... method wouldExceedLimits (line 2380) | func (jsa *jsAccount) wouldExceedLimits(storeType StorageType, tierNam... method acc (line 2476) | func (jsa *jsAccount) acc() *Account { method delete (line 2481) | func (jsa *jsAccount) delete() { type jsaUsage (line 184) | type jsaUsage struct method EnableJetStream (line 191) | func (s *Server) EnableJetStream(config *JetStreamConfig) error { type keyGen (line 240) | type keyGen method jsKeyGen (line 243) | func (s *Server) jsKeyGen(jsKey, info string) keyGen { method decryptMeta (line 260) | func (s *Server) decryptMeta(sc StoreCipher, ekey, buf []byte, acc, cont... method checkStoreDir (line 323) | func (s *Server) checkStoreDir(cfg *JetStreamConfig) error { method initJetStreamEncryption (line 385) | func (s *Server) initJetStreamEncryption() (err error) { method enableJetStream (line 417) | func (s *Server) enableJetStream(cfg JetStreamConfig) error { constant jsNoExtend (line 532) | jsNoExtend = "no_extend" constant jsWillExtend (line 533) | jsWillExtend = "will_extend" method canExtendOtherDomain (line 537) | func (s *Server) canExtendOtherDomain() bool { method updateJetStreamInfoStatus (line 553) | func (s *Server) updateJetStreamInfoStatus(enabled bool) { method restartJetStream (line 560) | func (s *Server) restartJetStream() error { method checkJetStreamExports (line 583) | func (s *Server) checkJetStreamExports() { method setupJetStreamExports (line 594) | func (s *Server) setupJetStreamExports() { method jetStreamOOSPending (line 601) | func (s *Server) jetStreamOOSPending() (wasPending bool) { method setJetStreamDisabled (line 611) | func (s *Server) setJetStreamDisabled() { method handleOutOfSpace (line 617) | func (s *Server) handleOutOfSpace(mset *stream) { method DisableJetStream (line 647) | func (s *Server) DisableJetStream() error { method enableJetStreamAccounts (line 694) | func (s *Server) enableJetStreamAccounts() error { method enableAllJetStreamServiceImportsAndMappings (line 718) | func (a *Account) enableAllJetStreamServiceImportsAndMappings() error { method enableJetStreamInfoServiceImportOnly (line 765) | func (a *Account) enableJetStreamInfoServiceImportOnly() error { method configJetStream (line 775) | func (s *Server) configJetStream(acc *Account, tq chan<- func()) error { method configAllJetStreamAccounts (line 813) | func (s *Server) configAllJetStreamAccounts(tq chan<- func()) error { method JetStreamEnabled (line 908) | func (s *Server) JetStreamEnabled() bool { method JetStreamEnabledForDomain (line 913) | func (s *Server) JetStreamEnabledForDomain() bool { method signalPullConsumers (line 934) | func (s *Server) signalPullConsumers() { method shutdownJetStream (line 981) | func (s *Server) shutdownJetStream() { method JetStreamConfig (line 1059) | func (s *Server) JetStreamConfig() *JetStreamConfig { method StoreDir (line 1069) | func (s *Server) StoreDir() string { method JetStreamNumAccounts (line 1078) | func (s *Server) JetStreamNumAccounts() int { method JetStreamReservedResources (line 1089) | func (s *Server) JetStreamReservedResources() (int64, int64, error) { method getJetStream (line 1099) | func (s *Server) getJetStream() *jetStream { method assignJetStreamLimits (line 1103) | func (a *Account) assignJetStreamLimits(limits map[string]JetStreamAccou... method EnableJetStream (line 1111) | func (a *Account) EnableJetStream(limits map[string]JetStreamAccountLimi... method maxBytesLimits (line 1644) | func (a *Account) maxBytesLimits(cfg *StreamConfig) (bool, int64) { method numStreams (line 1671) | func (a *Account) numStreams() int { method streams (line 1685) | func (a *Account) streams() []*stream { method filteredStreams (line 1689) | func (a *Account) filteredStreams(filter string) []*stream { method lookupStream (line 1721) | func (a *Account) lookupStream(name string) (*stream, error) { method UpdateJetStreamLimits (line 1740) | func (a *Account) UpdateJetStreamLimits(limits map[string]JetStreamAccou... function diffCheckedLimits (line 1781) | func diffCheckedLimits(a, b map[string]JetStreamAccountLimits) map[strin... function reservedStorage (line 1822) | func reservedStorage(sas map[string]*streamAssignment, tier string) (mem... method JetStreamUsage (line 1838) | func (a *Account) JetStreamUsage() JetStreamAccountStats { method DisableJetStream (line 1965) | func (a *Account) DisableJetStream() error { method removeJetStream (line 1970) | func (a *Account) removeJetStream() error { method jetStreamConfigured (line 2005) | func (a *Account) jetStreamConfigured() bool { method JetStreamEnabled (line 2015) | func (a *Account) JetStreamEnabled() bool { constant minUsageUpdateLen (line 2244) | minUsageUpdateLen = 32 constant stackUsageUpdate (line 2245) | stackUsageUpdate = 72 constant usageRecordLen (line 2246) | usageRecordLen = 24 constant usageMultiTiersLen (line 2247) | usageMultiTiersLen = 44 constant apiStatsAndNumTiers (line 2248) | apiStatsAndNumTiers = 20 constant minUsageUpdateWindow (line 2249) | minUsageUpdateWindow = 250 * time.Millisecond function tierName (line 2320) | func tierName(replicas int) string { function isSameTier (line 2328) | func isSameTier(cfgA, cfgB *StreamConfig) bool { constant JetStreamStoreDir (line 2649) | JetStreamStoreDir = "jetstream" constant JetStreamMaxStoreDefault (line 2651) | JetStreamMaxStoreDefault = 1024 * 1024 * 1024 * 1024 constant JetStreamMaxMemDefault (line 2653) | JetStreamMaxMemDefault = 1024 * 1024 * 256 constant snapStagingDir (line 2655) | snapStagingDir = ".snap-staging" method dynJetStreamConfig (line 2659) | func (s *Server) dynJetStreamConfig(storeDir string, maxStore, maxMem in... method checkForJetStream (line 2704) | func (a *Account) checkForJetStream() (*Server, *jsAccount, error) { type Number (line 2717) | type Number interface function friendlyBytes (line 2723) | func friendlyBytes[T Number](bytes T) string { function isValidName (line 2735) | func isValidName(name string) bool { method resourcesExceededError (line 2743) | func (s *Server) resourcesExceededError(storeType StorageType) { function validateJetStreamOptions (line 2767) | func validateJetStreamOptions(o *Options) error { function fixCfgMirrorWithDedupWindow (line 2848) | func fixCfgMirrorWithDedupWindow(cfg *StreamConfig) { method handleWritePermissionError (line 2857) | func (s *Server) handleWritePermissionError() { FILE: server/jetstream_api.go constant jsAllAPI (line 38) | jsAllAPI = "$JS.API.>" constant jsDomainAPI (line 41) | jsDomainAPI = "$JS.%s.API.>" constant JSApiPrefix (line 43) | JSApiPrefix = "$JS.API" constant JSApiAccountInfo (line 47) | JSApiAccountInfo = "$JS.API.INFO" constant JSApiStreamCreate (line 51) | JSApiStreamCreate = "$JS.API.STREAM.CREATE.*" constant JSApiStreamCreateT (line 52) | JSApiStreamCreateT = "$JS.API.STREAM.CREATE.%s" constant JSApiStreamUpdate (line 56) | JSApiStreamUpdate = "$JS.API.STREAM.UPDATE.*" constant JSApiStreamUpdateT (line 57) | JSApiStreamUpdateT = "$JS.API.STREAM.UPDATE.%s" constant JSApiStreams (line 61) | JSApiStreams = "$JS.API.STREAM.NAMES" constant JSApiStreamList (line 63) | JSApiStreamList = "$JS.API.STREAM.LIST" constant JSApiStreamInfo (line 67) | JSApiStreamInfo = "$JS.API.STREAM.INFO.*" constant JSApiStreamInfoT (line 68) | JSApiStreamInfoT = "$JS.API.STREAM.INFO.%s" constant JSApiStreamDelete (line 72) | JSApiStreamDelete = "$JS.API.STREAM.DELETE.*" constant JSApiStreamDeleteT (line 73) | JSApiStreamDeleteT = "$JS.API.STREAM.DELETE.%s" constant JSApiStreamPurge (line 77) | JSApiStreamPurge = "$JS.API.STREAM.PURGE.*" constant JSApiStreamPurgeT (line 78) | JSApiStreamPurgeT = "$JS.API.STREAM.PURGE.%s" constant JSApiStreamSnapshot (line 84) | JSApiStreamSnapshot = "$JS.API.STREAM.SNAPSHOT.*" constant JSApiStreamSnapshotT (line 85) | JSApiStreamSnapshotT = "$JS.API.STREAM.SNAPSHOT.%s" constant JSApiStreamRestore (line 89) | JSApiStreamRestore = "$JS.API.STREAM.RESTORE.*" constant JSApiStreamRestoreT (line 90) | JSApiStreamRestoreT = "$JS.API.STREAM.RESTORE.%s" constant JSApiMsgDelete (line 94) | JSApiMsgDelete = "$JS.API.STREAM.MSG.DELETE.*" constant JSApiMsgDeleteT (line 95) | JSApiMsgDeleteT = "$JS.API.STREAM.MSG.DELETE.%s" constant JSApiMsgGet (line 99) | JSApiMsgGet = "$JS.API.STREAM.MSG.GET.*" constant JSApiMsgGetT (line 100) | JSApiMsgGetT = "$JS.API.STREAM.MSG.GET.%s" constant JSDirectMsgGet (line 105) | JSDirectMsgGet = "$JS.API.DIRECT.GET.*" constant JSDirectMsgGetT (line 106) | JSDirectMsgGetT = "$JS.API.DIRECT.GET.%s" constant JSDirectGetLastBySubject (line 110) | JSDirectGetLastBySubject = "$JS.API.DIRECT.GET.*.>" constant JSDirectGetLastBySubjectT (line 111) | JSDirectGetLastBySubjectT = "$JS.API.DIRECT.GET.%s.%s" constant jsDirectGetPre (line 114) | jsDirectGetPre = "$JS.API.DIRECT.GET" constant JSApiConsumerCreate (line 120) | JSApiConsumerCreate = "$JS.API.CONSUMER.CREATE.*" constant JSApiConsumerCreateT (line 121) | JSApiConsumerCreateT = "$JS.API.CONSUMER.CREATE.%s" constant JSApiConsumerCreateEx (line 122) | JSApiConsumerCreateEx = "$JS.API.CONSUMER.CREATE.*.>" constant JSApiConsumerCreateExT (line 123) | JSApiConsumerCreateExT = "$JS.API.CONSUMER.CREATE.%s.%s.%s" constant JSApiDurableCreate (line 127) | JSApiDurableCreate = "$JS.API.CONSUMER.DURABLE.CREATE.*.*" constant JSApiDurableCreateT (line 128) | JSApiDurableCreateT = "$JS.API.CONSUMER.DURABLE.CREATE.%s.%s" constant JSApiConsumers (line 132) | JSApiConsumers = "$JS.API.CONSUMER.NAMES.*" constant JSApiConsumersT (line 133) | JSApiConsumersT = "$JS.API.CONSUMER.NAMES.%s" constant JSApiConsumerList (line 136) | JSApiConsumerList = "$JS.API.CONSUMER.LIST.*" constant JSApiConsumerListT (line 137) | JSApiConsumerListT = "$JS.API.CONSUMER.LIST.%s" constant JSApiConsumerInfo (line 141) | JSApiConsumerInfo = "$JS.API.CONSUMER.INFO.*.*" constant JSApiConsumerInfoT (line 142) | JSApiConsumerInfoT = "$JS.API.CONSUMER.INFO.%s.%s" constant JSApiConsumerDelete (line 146) | JSApiConsumerDelete = "$JS.API.CONSUMER.DELETE.*.*" constant JSApiConsumerDeleteT (line 147) | JSApiConsumerDeleteT = "$JS.API.CONSUMER.DELETE.%s.%s" constant JSApiConsumerPause (line 151) | JSApiConsumerPause = "$JS.API.CONSUMER.PAUSE.*.*" constant JSApiConsumerPauseT (line 152) | JSApiConsumerPauseT = "$JS.API.CONSUMER.PAUSE.%s.%s" constant JSApiRequestNextT (line 155) | JSApiRequestNextT = "$JS.API.CONSUMER.MSG.NEXT.%s.%s" constant JSApiConsumerResetT (line 158) | JSApiConsumerResetT = "$JS.API.CONSUMER.RESET.%s.%s" constant JSApiConsumerUnpin (line 161) | JSApiConsumerUnpin = "$JS.API.CONSUMER.UNPIN.*.*" constant JSApiConsumerUnpinT (line 162) | JSApiConsumerUnpinT = "$JS.API.CONSUMER.UNPIN.%s.%s" constant jsRequestNextPre (line 165) | jsRequestNextPre = "$JS.API.CONSUMER.MSG.NEXT." constant jsSnapshotAckT (line 168) | jsSnapshotAckT = "$JS.SNAPSHOT.ACK.%s.%s" constant jsRestoreDeliverT (line 169) | jsRestoreDeliverT = "$JS.SNAPSHOT.RESTORE.%s.%s" constant JSApiStreamRemovePeer (line 173) | JSApiStreamRemovePeer = "$JS.API.STREAM.PEER.REMOVE.*" constant JSApiStreamRemovePeerT (line 174) | JSApiStreamRemovePeerT = "$JS.API.STREAM.PEER.REMOVE.%s" constant JSApiStreamLeaderStepDown (line 178) | JSApiStreamLeaderStepDown = "$JS.API.STREAM.LEADER.STEPDOWN.*" constant JSApiStreamLeaderStepDownT (line 179) | JSApiStreamLeaderStepDownT = "$JS.API.STREAM.LEADER.STEPDOWN.%s" constant JSApiConsumerLeaderStepDown (line 183) | JSApiConsumerLeaderStepDown = "$JS.API.CONSUMER.LEADER.STEPDOWN.*.*" constant JSApiConsumerLeaderStepDownT (line 184) | JSApiConsumerLeaderStepDownT = "$JS.API.CONSUMER.LEADER.STEPDOWN.%s.%s" constant JSApiLeaderStepDown (line 189) | JSApiLeaderStepDown = "$JS.API.META.LEADER.STEPDOWN" constant JSApiRemoveServer (line 194) | JSApiRemoveServer = "$JS.API.SERVER.REMOVE" constant JSApiAccountPurge (line 199) | JSApiAccountPurge = "$JS.API.ACCOUNT.PURGE.*" constant JSApiAccountPurgeT (line 200) | JSApiAccountPurgeT = "$JS.API.ACCOUNT.PURGE.%s" constant JSApiServerStreamMove (line 205) | JSApiServerStreamMove = "$JS.API.ACCOUNT.STREAM.MOVE.*.*" constant JSApiServerStreamMoveT (line 206) | JSApiServerStreamMoveT = "$JS.API.ACCOUNT.STREAM.MOVE.%s.%s" constant JSApiServerStreamCancelMove (line 211) | JSApiServerStreamCancelMove = "$JS.API.ACCOUNT.STREAM.CANCEL_MOVE.*.*" constant JSApiServerStreamCancelMoveT (line 212) | JSApiServerStreamCancelMoveT = "$JS.API.ACCOUNT.STREAM.CANCEL_MOVE.%s.%s" constant jsAPIAccountPre (line 215) | jsAPIAccountPre = "$JS.API.ACCOUNT." constant jsAckT (line 219) | jsAckT = "$JS.ACK.%s.%s" constant jsAckPre (line 220) | jsAckPre = "$JS.ACK." constant jsAckPreLen (line 221) | jsAckPreLen = len(jsAckPre) constant jsFlowControlPre (line 224) | jsFlowControlPre = "$JS.FC." constant jsFlowControl (line 226) | jsFlowControl = "$JS.FC.%s.%s.*" constant JSAdvisoryPrefix (line 229) | JSAdvisoryPrefix = "$JS.EVENT.ADVISORY" constant JSMetricPrefix (line 232) | JSMetricPrefix = "$JS.EVENT.METRIC" constant JSMetricConsumerAckPre (line 235) | JSMetricConsumerAckPre = "$JS.EVENT.METRIC.CONSUMER.ACK" constant JSAdvisoryConsumerMaxDeliveryExceedPre (line 238) | JSAdvisoryConsumerMaxDeliveryExceedPre = "$JS.EVENT.ADVISORY.CONSUMER.MA... constant JSAdvisoryConsumerMsgNakPre (line 241) | JSAdvisoryConsumerMsgNakPre = "$JS.EVENT.ADVISORY.CONSUMER.MSG_NAKED" constant JSAdvisoryConsumerMsgTerminatedPre (line 244) | JSAdvisoryConsumerMsgTerminatedPre = "$JS.EVENT.ADVISORY.CONSUMER.MSG_TE... constant JSAdvisoryStreamCreatedPre (line 247) | JSAdvisoryStreamCreatedPre = "$JS.EVENT.ADVISORY.STREAM.CREATED" constant JSAdvisoryStreamDeletedPre (line 250) | JSAdvisoryStreamDeletedPre = "$JS.EVENT.ADVISORY.STREAM.DELETED" constant JSAdvisoryStreamUpdatedPre (line 253) | JSAdvisoryStreamUpdatedPre = "$JS.EVENT.ADVISORY.STREAM.UPDATED" constant JSAdvisoryConsumerCreatedPre (line 256) | JSAdvisoryConsumerCreatedPre = "$JS.EVENT.ADVISORY.CONSUMER.CREATED" constant JSAdvisoryConsumerDeletedPre (line 259) | JSAdvisoryConsumerDeletedPre = "$JS.EVENT.ADVISORY.CONSUMER.DELETED" constant JSAdvisoryConsumerPausePre (line 262) | JSAdvisoryConsumerPausePre = "$JS.EVENT.ADVISORY.CONSUMER.PAUSE" constant JSAdvisoryConsumerPinnedPre (line 265) | JSAdvisoryConsumerPinnedPre = "$JS.EVENT.ADVISORY.CONSUMER.PINNED" constant JSAdvisoryConsumerUnpinnedPre (line 268) | JSAdvisoryConsumerUnpinnedPre = "$JS.EVENT.ADVISORY.CONSUMER.UNPINNED" constant JSAdvisoryStreamSnapshotCreatePre (line 271) | JSAdvisoryStreamSnapshotCreatePre = "$JS.EVENT.ADVISORY.STREAM.SNAPSHOT_... constant JSAdvisoryStreamSnapshotCompletePre (line 274) | JSAdvisoryStreamSnapshotCompletePre = "$JS.EVENT.ADVISORY.STREAM.SNAPSHO... constant JSAdvisoryStreamRestoreCreatePre (line 277) | JSAdvisoryStreamRestoreCreatePre = "$JS.EVENT.ADVISORY.STREAM.RESTORE_CR... constant JSAdvisoryStreamRestoreCompletePre (line 280) | JSAdvisoryStreamRestoreCompletePre = "$JS.EVENT.ADVISORY.STREAM.RESTORE_... constant JSAdvisoryDomainLeaderElected (line 283) | JSAdvisoryDomainLeaderElected = "$JS.EVENT.ADVISORY.DOMAIN.LEADER_ELECTED" constant JSAdvisoryStreamLeaderElectedPre (line 286) | JSAdvisoryStreamLeaderElectedPre = "$JS.EVENT.ADVISORY.STREAM.LEADER_ELE... constant JSAdvisoryStreamQuorumLostPre (line 289) | JSAdvisoryStreamQuorumLostPre = "$JS.EVENT.ADVISORY.STREAM.QUORUM_LOST" constant JSAdvisoryStreamBatchAbandonedPre (line 292) | JSAdvisoryStreamBatchAbandonedPre = "$JS.EVENT.ADVISORY.STREAM.BATCH_ABA... constant JSAdvisoryConsumerLeaderElectedPre (line 295) | JSAdvisoryConsumerLeaderElectedPre = "$JS.EVENT.ADVISORY.CONSUMER.LEADER... constant JSAdvisoryConsumerQuorumLostPre (line 298) | JSAdvisoryConsumerQuorumLostPre = "$JS.EVENT.ADVISORY.CONSUMER.QUORUM_LOST" constant JSAdvisoryServerOutOfStorage (line 301) | JSAdvisoryServerOutOfStorage = "$JS.EVENT.ADVISORY.SERVER.OUT_OF_STORAGE" constant JSAdvisoryServerRemoved (line 304) | JSAdvisoryServerRemoved = "$JS.EVENT.ADVISORY.SERVER.REMOVED" constant JSAdvisoryAPILimitReached (line 307) | JSAdvisoryAPILimitReached = "$JS.EVENT.ADVISORY.API.LIMIT_REACHED" constant JSAuditAdvisory (line 311) | JSAuditAdvisory = "$JS.EVENT.ADVISORY.API" constant JSRequiredApiLevel (line 317) | JSRequiredApiLevel = "Nats-Required-Api-Level" function generateJSMappingTable (line 323) | func generateJSMappingTable(domain string) map[string]string { constant JSMaxDescriptionLen (line 352) | JSMaxDescriptionLen = 4 * 1024 constant JSMaxMetadataLen (line 356) | JSMaxMetadataLen = 128 * 1024 constant JSMaxNameLen (line 360) | JSMaxNameLen = 255 constant JSDefaultRequestQueueLimit (line 364) | JSDefaultRequestQueueLimit = 10_000 type ApiResponse (line 369) | type ApiResponse struct method ToError (line 384) | func (r *ApiResponse) ToError() error { constant JSApiSystemResponseType (line 374) | JSApiSystemResponseType = "io.nats.jetstream.api.v1.system_response" constant JSApiOverloadedType (line 392) | JSApiOverloadedType = "io.nats.jetstream.api.v1.system_overloaded" type ApiPaged (line 395) | type ApiPaged struct type ApiPagedRequest (line 402) | type ApiPagedRequest struct type JSApiAccountInfoResponse (line 407) | type JSApiAccountInfoResponse struct constant JSApiAccountInfoResponseType (line 412) | JSApiAccountInfoResponseType = "io.nats.jetstream.api.v1.account_info_re... type JSApiStreamCreateResponse (line 415) | type JSApiStreamCreateResponse struct constant JSApiStreamCreateResponseType (line 421) | JSApiStreamCreateResponseType = "io.nats.jetstream.api.v1.stream_create_... type JSApiStreamDeleteResponse (line 424) | type JSApiStreamDeleteResponse struct constant JSApiStreamDeleteResponseType (line 429) | JSApiStreamDeleteResponseType = "io.nats.jetstream.api.v1.stream_delete_... constant JSMaxSubjectDetails (line 432) | JSMaxSubjectDetails = 100_000 type JSApiStreamInfoRequest (line 434) | type JSApiStreamInfoRequest struct type JSApiStreamInfoResponse (line 440) | type JSApiStreamInfoResponse struct constant JSApiStreamInfoResponseType (line 446) | JSApiStreamInfoResponseType = "io.nats.jetstream.api.v1.stream_info_resp... constant JSApiNamesLimit (line 450) | JSApiNamesLimit = 1024 constant JSApiListLimit (line 451) | JSApiListLimit = 256 type JSApiStreamNamesRequest (line 453) | type JSApiStreamNamesRequest struct type JSApiStreamNamesResponse (line 461) | type JSApiStreamNamesResponse struct constant JSApiStreamNamesResponseType (line 467) | JSApiStreamNamesResponseType = "io.nats.jetstream.api.v1.stream_names_re... type JSApiStreamListRequest (line 469) | type JSApiStreamListRequest struct type JSApiStreamListResponse (line 477) | type JSApiStreamListResponse struct constant JSApiStreamListResponseType (line 485) | JSApiStreamListResponseType = "io.nats.jetstream.api.v1.stream_list_resp... type JSApiStreamPurgeRequest (line 492) | type JSApiStreamPurgeRequest struct type JSApiStreamPurgeResponse (line 501) | type JSApiStreamPurgeResponse struct constant JSApiStreamPurgeResponseType (line 507) | JSApiStreamPurgeResponseType = "io.nats.jetstream.api.v1.stream_purge_re... type JSApiConsumerUnpinRequest (line 509) | type JSApiConsumerUnpinRequest struct type JSApiConsumerUnpinResponse (line 513) | type JSApiConsumerUnpinResponse struct constant JSApiConsumerUnpinResponseType (line 517) | JSApiConsumerUnpinResponseType = "io.nats.jetstream.api.v1.consumer_unpi... type JSApiStreamUpdateResponse (line 520) | type JSApiStreamUpdateResponse struct constant JSApiStreamUpdateResponseType (line 525) | JSApiStreamUpdateResponseType = "io.nats.jetstream.api.v1.stream_update_... type JSApiMsgDeleteRequest (line 528) | type JSApiMsgDeleteRequest struct type JSApiMsgDeleteResponse (line 533) | type JSApiMsgDeleteResponse struct constant JSApiMsgDeleteResponseType (line 538) | JSApiMsgDeleteResponseType = "io.nats.jetstream.api.v1.stream_msg_delete... type JSApiStreamSnapshotRequest (line 540) | type JSApiStreamSnapshotRequest struct type JSApiStreamSnapshotResponse (line 561) | type JSApiStreamSnapshotResponse struct constant JSApiStreamSnapshotResponseType (line 569) | JSApiStreamSnapshotResponseType = "io.nats.jetstream.api.v1.stream_snaps... type JSApiStreamRestoreRequest (line 572) | type JSApiStreamRestoreRequest struct type JSApiStreamRestoreResponse (line 580) | type JSApiStreamRestoreResponse struct constant JSApiStreamRestoreResponseType (line 586) | JSApiStreamRestoreResponseType = "io.nats.jetstream.api.v1.stream_restor... type JSApiStreamRemovePeerRequest (line 589) | type JSApiStreamRemovePeerRequest struct type JSApiStreamRemovePeerResponse (line 595) | type JSApiStreamRemovePeerResponse struct constant JSApiStreamRemovePeerResponseType (line 600) | JSApiStreamRemovePeerResponseType = "io.nats.jetstream.api.v1.stream_rem... type JSApiStreamLeaderStepDownResponse (line 603) | type JSApiStreamLeaderStepDownResponse struct constant JSApiStreamLeaderStepDownResponseType (line 608) | JSApiStreamLeaderStepDownResponseType = "io.nats.jetstream.api.v1.stream... type JSApiConsumerLeaderStepDownResponse (line 611) | type JSApiConsumerLeaderStepDownResponse struct constant JSApiConsumerLeaderStepDownResponseType (line 616) | JSApiConsumerLeaderStepDownResponseType = "io.nats.jetstream.api.v1.cons... type JSApiLeaderStepdownRequest (line 619) | type JSApiLeaderStepdownRequest struct type JSApiLeaderStepDownResponse (line 624) | type JSApiLeaderStepDownResponse struct constant JSApiLeaderStepDownResponseType (line 629) | JSApiLeaderStepDownResponseType = "io.nats.jetstream.api.v1.meta_leader_... type JSApiMetaServerRemoveRequest (line 632) | type JSApiMetaServerRemoveRequest struct type JSApiMetaServerRemoveResponse (line 641) | type JSApiMetaServerRemoveResponse struct constant JSApiMetaServerRemoveResponseType (line 646) | JSApiMetaServerRemoveResponseType = "io.nats.jetstream.api.v1.meta_serve... type JSApiMetaServerStreamMoveRequest (line 650) | type JSApiMetaServerStreamMoveRequest struct constant JSApiAccountPurgeResponseType (line 661) | JSApiAccountPurgeResponseType = "io.nats.jetstream.api.v1.account_purge_... type JSApiAccountPurgeResponse (line 664) | type JSApiAccountPurgeResponse struct type JSApiMsgGetRequest (line 670) | type JSApiMsgGetRequest struct type JSApiMsgGetResponse (line 694) | type JSApiMsgGetResponse struct constant JSApiMsgGetResponseType (line 699) | JSApiMsgGetResponseType = "io.nats.jetstream.api.v1.stream_msg_get_respo... constant JSWaitQueueDefaultMax (line 702) | JSWaitQueueDefaultMax = 512 type JSApiConsumerCreateResponse (line 704) | type JSApiConsumerCreateResponse struct constant JSApiConsumerCreateResponseType (line 709) | JSApiConsumerCreateResponseType = "io.nats.jetstream.api.v1.consumer_cre... type JSApiConsumerDeleteResponse (line 711) | type JSApiConsumerDeleteResponse struct constant JSApiConsumerDeleteResponseType (line 716) | JSApiConsumerDeleteResponseType = "io.nats.jetstream.api.v1.consumer_del... type JSApiConsumerPauseRequest (line 718) | type JSApiConsumerPauseRequest struct constant JSApiConsumerPauseResponseType (line 722) | JSApiConsumerPauseResponseType = "io.nats.jetstream.api.v1.consumer_paus... type JSApiConsumerPauseResponse (line 724) | type JSApiConsumerPauseResponse struct type JSApiConsumerInfoResponse (line 731) | type JSApiConsumerInfoResponse struct constant JSApiConsumerInfoResponseType (line 736) | JSApiConsumerInfoResponseType = "io.nats.jetstream.api.v1.consumer_info_... type JSApiConsumersRequest (line 738) | type JSApiConsumersRequest struct type JSApiConsumerNamesResponse (line 742) | type JSApiConsumerNamesResponse struct constant JSApiConsumerNamesResponseType (line 748) | JSApiConsumerNamesResponseType = "io.nats.jetstream.api.v1.consumer_name... type JSApiConsumerListResponse (line 750) | type JSApiConsumerListResponse struct constant JSApiConsumerListResponseType (line 758) | JSApiConsumerListResponseType = "io.nats.jetstream.api.v1.consumer_list_... type JSApiConsumerGetNextRequest (line 761) | type JSApiConsumerGetNextRequest struct type JSApiConsumerResetRequest (line 771) | type JSApiConsumerResetRequest struct type JSApiConsumerResetResponse (line 775) | type JSApiConsumerResetResponse struct constant JSApiConsumerResetResponseType (line 781) | JSApiConsumerResetResponseType = "io.nats.jetstream.api.v1.consumer_rese... type jsAPIRoutedReq (line 785) | type jsAPIRoutedReq struct method apiDispatch (line 795) | func (js *jetStream) apiDispatch(sub *subscription, c *client, acc *Acco... method processJSAPIRoutedRequests (line 890) | func (s *Server) processJSAPIRoutedRequests() { method setJetStreamExportSubs (line 937) | func (s *Server) setJetStreamExportSubs() error { method sendAPIResponse (line 1025) | func (s *Server) sendAPIResponse(ci *ClientInfo, acc *Account, subject, ... method sendAPIErrResponse (line 1033) | func (s *Server) sendAPIErrResponse(ci *ClientInfo, acc *Account, subjec... constant errRespDelay (line 1041) | errRespDelay = 500 * time.Millisecond type delayedAPIResponse (line 1043) | type delayedAPIResponse struct function addDelayedResponse (line 1058) | func addDelayedResponse(head, tail **delayedAPIResponse, r *delayedAPIRe... method delayedAPIResponder (line 1086) | func (s *Server) delayedAPIResponder() { method sendDelayedAPIErrResponse (line 1169) | func (s *Server) sendDelayedAPIErrResponse(ci *ClientInfo, acc *Account,... method sendDelayedErrResponse (line 1175) | func (s *Server) sendDelayedErrResponse(acc *Account, subject string, hd... method getRequestInfo (line 1181) | func (s *Server) getRequestInfo(c *client, raw []byte) (pci *ClientInfo,... method unmarshalRequest (line 1208) | func (s *Server) unmarshalRequest(c *client, acc *Account, subject strin... method trackAPI (line 1234) | func (a *Account) trackAPI() { method trackAPIErr (line 1248) | func (a *Account) trackAPIErr() { constant badAPIRequestT (line 1265) | badAPIRequestT = "Malformed JetStream API Request: %q" method checkJetStream (line 1270) | func (a *Account) checkJetStream() (enabled, shouldError bool) { method jsAccountInfoRequest (line 1277) | func (s *Server) jsAccountInfoRequest(sub *subscription, c *client, _ *A... function streamNameFromSubject (line 1331) | func streamNameFromSubject(subject string) string { function consumerNameFromSubject (line 1335) | func consumerNameFromSubject(subject string) string { method jsonResponse (line 1339) | func (s *Server) jsonResponse(v any) string { method tieredReservation (line 1349) | func (jsa *jsAccount) tieredReservation(tier string, cfg *StreamConfig) ... method jsStreamCreateRequest (line 1370) | func (s *Server) jsStreamCreateRequest(sub *subscription, c *client, _ *... method jsStreamUpdateRequest (line 1487) | func (s *Server) jsStreamUpdateRequest(sub *subscription, c *client, _ *... method jsStreamNamesRequest (line 1592) | func (s *Server) jsStreamNamesRequest(sub *subscription, c *client, _ *A... method jsStreamListRequest (line 1725) | func (s *Server) jsStreamListRequest(sub *subscription, c *client, _ *Ac... method jsStreamInfoRequest (line 1844) | func (s *Server) jsStreamInfoRequest(sub *subscription, c *client, a *Ac... method jsStreamLeaderStepDownRequest (line 2069) | func (s *Server) jsStreamLeaderStepDownRequest(sub *subscription, c *cli... method jsConsumerLeaderStepDownRequest (line 2185) | func (s *Server) jsConsumerLeaderStepDownRequest(sub *subscription, c *c... method jsStreamRemovePeerRequest (line 2310) | func (s *Server) jsStreamRemovePeerRequest(sub *subscription, c *client,... method jsLeaderServerRemoveRequest (line 2422) | func (s *Server) jsLeaderServerRemoveRequest(sub *subscription, c *clien... method peerSetToNames (line 2521) | func (s *Server) peerSetToNames(ps []string) []string { method nameToPeer (line 2534) | func (s *Server) nameToPeer(js *jetStream, serverName, clusterName, doma... method jsLeaderServerStreamMoveRequest (line 2553) | func (s *Server) jsLeaderServerStreamMoveRequest(sub *subscription, c *c... method jsLeaderServerStreamCancelMoveRequest (line 2717) | func (s *Server) jsLeaderServerStreamCancelMoveRequest(sub *subscription... method jsLeaderAccountPurgeRequest (line 2832) | func (s *Server) jsLeaderAccountPurgeRequest(sub *subscription, c *clien... method jsLeaderStepDownRequest (line 2932) | func (s *Server) jsLeaderStepDownRequest(sub *subscription, c *client, _... function isJSONObjectOrArray (line 3000) | func isJSONObjectOrArray(req []byte) bool { function isEmptyRequest (line 3014) | func isEmptyRequest(req []byte) bool { method getStepDownPreferredPlacement (line 3037) | func (s *Server) getStepDownPreferredPlacement(group RaftNode, placement... method jsStreamDeleteRequest (line 3112) | func (s *Server) jsStreamDeleteRequest(sub *subscription, c *client, _ *... method jsMsgDeleteRequest (line 3186) | func (s *Server) jsMsgDeleteRequest(sub *subscription, c *client, _ *Acc... method jsMsgGetRequest (line 3311) | func (s *Server) jsMsgGetRequest(sub *subscription, c *client, _ *Accoun... method jsConsumerUnpinRequest (line 3468) | func (s *Server) jsConsumerUnpinRequest(sub *subscription, c *client, _ ... method jsStreamPurgeRequest (line 3611) | func (s *Server) jsStreamPurgeRequest(sub *subscription, c *client, _ *A... method jsNonClusteredStreamLimitsCheck (line 3737) | func (acc *Account) jsNonClusteredStreamLimitsCheck(cfg *StreamConfig) *... method jsStreamRestoreRequest (line 3761) | func (s *Server) jsStreamRestoreRequest(sub *subscription, c *client, _ ... method processStreamRestore (line 3837) | func (s *Server) processStreamRestore(ci *ClientInfo, acc *Account, cfg ... method jsStreamSnapshotRequest (line 4046) | func (s *Server) jsStreamSnapshotRequest(sub *subscription, c *client, _... constant defaultSnapshotChunkSize (line 4172) | defaultSnapshotChunkSize = 128 * 1024 constant defaultSnapshotWindowSize (line 4173) | defaultSnapshotWindowSize = 8 * 1024 * 1024 constant defaultSnapshotAckTimeout (line 4174) | defaultSnapshotAckTimeout = 5 * time.Second method streamSnapshot (line 4179) | func (s *Server) streamSnapshot(acc *Account, mset *stream, sr *Snapshot... type ccReqType (line 4272) | type ccReqType constant ccNew (line 4275) | ccNew = iota constant ccLegacyEphemeral (line 4276) | ccLegacyEphemeral constant ccLegacyDurable (line 4277) | ccLegacyDurable method jsConsumerCreateRequest (line 4283) | func (s *Server) jsConsumerCreateRequest(sub *subscription, c *client, a... method jsConsumerNamesRequest (line 4509) | func (s *Server) jsConsumerNamesRequest(sub *subscription, c *client, _ ... method jsConsumerListRequest (line 4636) | func (s *Server) jsConsumerListRequest(sub *subscription, c *client, _ *... method jsConsumerInfoRequest (line 4746) | func (s *Server) jsConsumerInfoRequest(sub *subscription, c *client, _ *... method jsConsumerDeleteRequest (line 4952) | func (s *Server) jsConsumerDeleteRequest(sub *subscription, c *client, _... method jsConsumerPauseRequest (line 5030) | func (s *Server) jsConsumerPauseRequest(sub *subscription, c *client, _ ... method sendJetStreamAPIAuditAdvisory (line 5190) | func (s *Server) sendJetStreamAPIAuditAdvisory(ci *ClientInfo, acc *Acco... FILE: server/jetstream_batching.go type batching (line 37) | type batching struct method newAtomicBatch (line 65) | func (batches *batching) newAtomicBatch(mset *stream, batchId string) ... method newFastBatch (line 174) | func (batches *batching) newFastBatch(mset *stream, batchId string, ga... method fastBatchInit (line 183) | func (batches *batching) fastBatchInit(b *fastBatch) { method fastBatchReset (line 196) | func (batches *batching) fastBatchReset(mset *stream, batchId string, ... method fastBatchRegisterSequences (line 215) | func (batches *batching) fastBatchRegisterSequences(mset *stream, repl... method fastBatchCommit (line 344) | func (batches *batching) fastBatchCommit(b *fastBatch, batchId string,... type atomicBatch (line 43) | type atomicBatch struct method setupCleanupTimer (line 76) | func (b *atomicBatch) setupCleanupTimer(mset *stream, batchId string, ... method resetCleanupTimer (line 87) | func (b *atomicBatch) resetCleanupTimer(mset *stream) bool { method cleanup (line 93) | func (b *atomicBatch) cleanup(batchId string, batches *batching) { method cleanupLocked (line 100) | func (b *atomicBatch) cleanupLocked(batchId string, batches *batching) { method stopLocked (line 113) | func (b *atomicBatch) stopLocked() { method readyForCommit (line 162) | func (b *atomicBatch) readyForCommit() *BatchAbandonReason { type fastBatch (line 49) | type fastBatch struct method checkFlowControl (line 289) | func (b *fastBatch) checkFlowControl(mset *stream, reply string, batch... method sendFlowControl (line 332) | func (b *fastBatch) sendFlowControl(batchSeq uint64, mset *stream, rep... method setupCleanupTimer (line 370) | func (b *fastBatch) setupCleanupTimer(mset *stream, batchId string, ba... method resetCleanupTimer (line 384) | func (b *fastBatch) resetCleanupTimer(mset *stream) bool { method cleanup (line 396) | func (b *fastBatch) cleanup(batchId string, batches *batching) { method cleanupLocked (line 403) | func (b *fastBatch) cleanupLocked(batchId string, batches *batching) { function getBatchStoreDir (line 124) | func getBatchStoreDir(mset *stream, batchId string) (string, string) { function newBatchStore (line 137) | func newBatchStore(mset *stream, batchId string) (StreamStore, error) { function getCleanupTimeout (line 417) | func getCleanupTimeout(mset *stream) time.Duration { type batchStagedDiff (line 426) | type batchStagedDiff struct method commit (line 438) | func (diff *batchStagedDiff) commit(mset *stream) { type batchExpectedPerSubject (line 433) | type batchExpectedPerSubject struct type batchApply (line 489) | type batchApply struct method clearBatchStateLocked (line 500) | func (batch *batchApply) clearBatchStateLocked() { method rejectBatchStateLocked (line 511) | func (batch *batchApply) rejectBatchStateLocked(mset *stream) { method rejectBatchState (line 522) | func (batch *batchApply) rejectBatchState(mset *stream) { function checkMsgHeadersPreClusteredProposal (line 531) | func checkMsgHeadersPreClusteredProposal( function recalculateClusteredSeq (line 958) | func recalculateClusteredSeq(mset *stream) (lseq uint64) { function commitSingleMsg (line 984) | func commitSingleMsg( FILE: server/jetstream_batching_test.go function TestJetStreamAtomicBatchPublish (line 35) | func TestJetStreamAtomicBatchPublish(t *testing.T) { function TestJetStreamAtomicBatchPublishEmptyAck (line 164) | func TestJetStreamAtomicBatchPublishEmptyAck(t *testing.T) { function TestJetStreamAtomicBatchPublishCommitEob (line 226) | func TestJetStreamAtomicBatchPublishCommitEob(t *testing.T) { function TestJetStreamAtomicBatchPublishLimits (line 294) | func TestJetStreamAtomicBatchPublishLimits(t *testing.T) { function TestJetStreamAtomicBatchPublishDedupeNotAllowed (line 448) | func TestJetStreamAtomicBatchPublishDedupeNotAllowed(t *testing.T) { function TestJetStreamAtomicBatchPublishSourceAndMirror (line 520) | func TestJetStreamAtomicBatchPublishSourceAndMirror(t *testing.T) { function TestJetStreamAtomicBatchPublishCleanup (line 623) | func TestJetStreamAtomicBatchPublishCleanup(t *testing.T) { function TestJetStreamAtomicBatchPublishConfigOpts (line 759) | func TestJetStreamAtomicBatchPublishConfigOpts(t *testing.T) { function TestJetStreamAtomicBatchPublishDenyHeaders (line 797) | func TestJetStreamAtomicBatchPublishDenyHeaders(t *testing.T) { function TestJetStreamAtomicBatchPublishStageAndCommit (line 840) | func TestJetStreamAtomicBatchPublishStageAndCommit(t *testing.T) { function TestJetStreamAtomicBatchPublishHighLevelRollback (line 1460) | func TestJetStreamAtomicBatchPublishHighLevelRollback(t *testing.T) { function TestJetStreamAtomicBatchPublishExpectedPerSubject (line 1505) | func TestJetStreamAtomicBatchPublishExpectedPerSubject(t *testing.T) { function TestJetStreamAtomicBatchPublishSingleServerRecovery (line 1583) | func TestJetStreamAtomicBatchPublishSingleServerRecovery(t *testing.T) { function TestJetStreamAtomicBatchPublishSingleServerRecoveryCommitEob (line 1665) | func TestJetStreamAtomicBatchPublishSingleServerRecoveryCommitEob(t *tes... function TestJetStreamAtomicBatchPublishEncode (line 1755) | func TestJetStreamAtomicBatchPublishEncode(t *testing.T) { function TestJetStreamAtomicBatchPublishProposeOne (line 1804) | func TestJetStreamAtomicBatchPublishProposeOne(t *testing.T) { function TestJetStreamAtomicBatchPublishProposeMultiple (line 1875) | func TestJetStreamAtomicBatchPublishProposeMultiple(t *testing.T) { function TestJetStreamAtomicBatchPublishProposeOnePartialBatch (line 1960) | func TestJetStreamAtomicBatchPublishProposeOnePartialBatch(t *testing.T) { function TestJetStreamAtomicBatchPublishProposeMultiplePartialBatches (line 2022) | func TestJetStreamAtomicBatchPublishProposeMultiplePartialBatches(t *tes... function TestJetStreamAtomicBatchPublishContinuousBatchesStillMoveAppliedUp (line 2118) | func TestJetStreamAtomicBatchPublishContinuousBatchesStillMoveAppliedUp(... function TestJetStreamAtomicBatchPublishPartiallyAppliedBatchOnRecovery (line 2237) | func TestJetStreamAtomicBatchPublishPartiallyAppliedBatchOnRecovery(t *t... function TestJetStreamRollupIsolatedRead (line 2355) | func TestJetStreamRollupIsolatedRead(t *testing.T) { function TestJetStreamAtomicBatchPublishAdvisories (line 2486) | func TestJetStreamAtomicBatchPublishAdvisories(t *testing.T) { function TestJetStreamAtomicBatchPublishExpectedSeq (line 2599) | func TestJetStreamAtomicBatchPublishExpectedSeq(t *testing.T) { function TestJetStreamAtomicBatchPublishPartialBatchInSharedAppendEntry (line 2665) | func TestJetStreamAtomicBatchPublishPartialBatchInSharedAppendEntry(t *t... function TestJetStreamAtomicBatchPublishRejectPartialBatchOnLeaderChange (line 2722) | func TestJetStreamAtomicBatchPublishRejectPartialBatchOnLeaderChange(t *... function TestJetStreamAtomicBatchPublishPersistModeAsync (line 2790) | func TestJetStreamAtomicBatchPublishPersistModeAsync(t *testing.T) { function TestJetStreamAtomicBatchPublishExpectedLastSubjectSequence (line 2809) | func TestJetStreamAtomicBatchPublishExpectedLastSubjectSequence(t *testi... function TestJetStreamAtomicBatchPublishCommitUnsupported (line 2857) | func TestJetStreamAtomicBatchPublishCommitUnsupported(t *testing.T) { function generateFastBatchReply (line 2931) | func generateFastBatchReply(inbox string, batchId string, batchSeq uint6... function TestJetStreamFastBatchPublish (line 2935) | func TestJetStreamFastBatchPublish(t *testing.T) { function TestJetStreamFastBatchPublishGapDetection (line 3079) | func TestJetStreamFastBatchPublishGapDetection(t *testing.T) { function TestJetStreamFastBatchPublishFlowControl (line 3177) | func TestJetStreamFastBatchPublishFlowControl(t *testing.T) { function TestJetStreamFastBatchPublishSourceAndMirror (line 3276) | func TestJetStreamFastBatchPublishSourceAndMirror(t *testing.T) { function TestJetStreamFastBatchPublishDuplicates (line 3388) | func TestJetStreamFastBatchPublishDuplicates(t *testing.T) { function TestJetStreamFastBatchPublishDuplicatesCluster (line 3516) | func TestJetStreamFastBatchPublishDuplicatesCluster(t *testing.T) { function TestJetStreamFastBatchPublishDuplicatesEobCommit (line 3599) | func TestJetStreamFastBatchPublishDuplicatesEobCommit(t *testing.T) { function TestJetStreamFastBatchPublishHeaderCheckError (line 3660) | func TestJetStreamFastBatchPublishHeaderCheckError(t *testing.T) { function TestJetStreamFastBatchPublishPing (line 3753) | func TestJetStreamFastBatchPublishPing(t *testing.T) { function TestJetStreamFastBatchSequentialDuplicateAndErrorPubAck (line 3864) | func TestJetStreamFastBatchSequentialDuplicateAndErrorPubAck(t *testing.... function TestJetStreamFastBatchPublishAccImportExport (line 3927) | func TestJetStreamFastBatchPublishAccImportExport(t *testing.T) { function TestJetStreamFastBatchPublishFlowControlOnLeaderChange (line 3989) | func TestJetStreamFastBatchPublishFlowControlOnLeaderChange(t *testing.T) { function TestJetStreamFastBatchPublishFlowControlOnLeaderChangeAfterFailedCommitProposal (line 4123) | func TestJetStreamFastBatchPublishFlowControlOnLeaderChangeAfterFailedCo... function TestJetStreamFastBatchPublishLimits (line 4225) | func TestJetStreamFastBatchPublishLimits(t *testing.T) { FILE: server/jetstream_benchmark_test.go function BenchmarkJetStreamConsume (line 38) | func BenchmarkJetStreamConsume(b *testing.B) { function BenchmarkJetStreamConsumeFilteredContiguous (line 417) | func BenchmarkJetStreamConsumeFilteredContiguous(b *testing.B) { function BenchmarkJetStreamConsumeWithFilters (line 500) | func BenchmarkJetStreamConsumeWithFilters(b *testing.B) { function BenchmarkJetStreamPublish (line 761) | func BenchmarkJetStreamPublish(b *testing.B) { function BenchmarkJetStreamMetaSnapshot (line 1001) | func BenchmarkJetStreamMetaSnapshot(b *testing.B) { function BenchmarkJetStreamCounters (line 1085) | func BenchmarkJetStreamCounters(b *testing.B) { function BenchmarkJetStreamInterestStreamWithLimit (line 1341) | func BenchmarkJetStreamInterestStreamWithLimit(b *testing.B) { function BenchmarkJetStreamKV (line 1589) | func BenchmarkJetStreamKV(b *testing.B) { function BenchmarkJetStreamObjStore (line 1813) | func BenchmarkJetStreamObjStore(b *testing.B) { function BenchmarkJetStreamPublishConcurrent (line 1999) | func BenchmarkJetStreamPublishConcurrent(b *testing.B) { function BenchmarkJetStreamParallelStartup (line 2192) | func BenchmarkJetStreamParallelStartup(b *testing.B) { function BenchmarkJetStreamScanForSources (line 2247) | func BenchmarkJetStreamScanForSources(b *testing.B) { function startJSClusterAndConnect (line 2308) | func startJSClusterAndConnect(b *testing.B, clusterSize int) (c *cluster... FILE: server/jetstream_cluster.go type jetStreamCluster (line 43) | type jetStreamCluster struct method isLeader (line 569) | func (cc *jetStreamCluster) isLeader() bool { method isStreamCurrent (line 580) | func (cc *jetStreamCluster) isStreamCurrent(account, stream string) bo... method isStreamAssigned (line 1113) | func (cc *jetStreamCluster) isStreamAssigned(a *Account, stream string... method isStreamLeader (line 1133) | func (cc *jetStreamCluster) isStreamLeader(account, stream string) bool { method isConsumerLeader (line 1166) | func (cc *jetStreamCluster) isConsumerLeader(account, stream, consumer... method trackInflightStreamProposal (line 1202) | func (cc *jetStreamCluster) trackInflightStreamProposal(accName string... method removeInflightStreamProposal (line 1223) | func (cc *jetStreamCluster) removeInflightStreamProposal(accName, stre... method trackInflightConsumerProposal (line 1243) | func (cc *jetStreamCluster) trackInflightConsumerProposal(accName, str... method removeInflightConsumerProposal (line 1269) | func (cc *jetStreamCluster) removeInflightConsumerProposal(accName, st... method isConsumerAssigned (line 6065) | func (cc *jetStreamCluster) isConsumerAssigned(a *Account, stream, con... method remapStreamAssignment (line 7119) | func (cc *jetStreamCluster) remapStreamAssignment(sa *streamAssignment... method selectPeerGroup (line 7254) | func (cc *jetStreamCluster) selectPeerGroup(r int, cluster string, cfg... method createGroupForConsumer (line 8843) | func (cc *jetStreamCluster) createGroupForConsumer(cfg *ConsumerConfig... type inflightStreamInfo (line 86) | type inflightStreamInfo struct type inflightConsumerInfo (line 93) | type inflightConsumerInfo struct type peerRemoveInfo (line 100) | type peerRemoveInfo struct type Placement (line 108) | type Placement struct type entryOp (line 115) | type entryOp constant assignStreamOp (line 120) | assignStreamOp entryOp = iota constant assignConsumerOp (line 121) | assignConsumerOp constant removeStreamOp (line 122) | removeStreamOp constant removeConsumerOp (line 123) | removeConsumerOp constant streamMsgOp (line 125) | streamMsgOp constant purgeStreamOp (line 126) | purgeStreamOp constant deleteMsgOp (line 127) | deleteMsgOp constant updateDeliveredOp (line 129) | updateDeliveredOp constant updateAcksOp (line 130) | updateAcksOp constant assignCompressedConsumerOp (line 132) | assignCompressedConsumerOp constant updateSkipOp (line 134) | updateSkipOp constant updateStreamOp (line 136) | updateStreamOp constant addPendingRequest (line 138) | addPendingRequest constant removePendingRequest (line 139) | removePendingRequest constant compressedStreamMsgOp (line 141) | compressedStreamMsgOp constant deleteRangeOp (line 143) | deleteRangeOp constant batchMsgOp (line 145) | batchMsgOp constant batchCommitMsgOp (line 146) | batchCommitMsgOp constant resetSeqOp (line 148) | resetSeqOp type raftGroup (line 153) | type raftGroup struct method isMember (line 2625) | func (rg *raftGroup) isMember(id string) bool { method setPreferred (line 2637) | func (rg *raftGroup) setPreferred(s *Server) { type streamAssignment (line 165) | type streamAssignment struct method copyGroup (line 2279) | func (sa *streamAssignment) copyGroup() *streamAssignment { method missingPeers (line 2296) | func (sa *streamAssignment) missingPeers() bool { method recoveryKey (line 2465) | func (sa *streamAssignment) recoveryKey() string { type unsupportedStreamAssignment (line 185) | type unsupportedStreamAssignment struct method setupInfoSub (line 216) | func (usa *unsupportedStreamAssignment) setupInfoSub(s *Server, sa *st... method handleClusterStreamInfoRequest (line 231) | func (usa *unsupportedStreamAssignment) handleClusterStreamInfoRequest... method closeInfoSub (line 237) | func (usa *unsupportedStreamAssignment) closeInfoSub(s *Server) { function newUnsupportedStreamAssignment (line 192) | func newUnsupportedStreamAssignment(s *Server, sa *streamAssignment, err... type consumerAssignment (line 249) | type consumerAssignment struct method copyGroup (line 2288) | func (ca *consumerAssignment) copyGroup() *consumerAssignment { method streamRecoveryKey (line 2472) | func (ca *consumerAssignment) streamRecoveryKey() string { method recoveryKey (line 2479) | func (ca *consumerAssignment) recoveryKey() string { type unsupportedConsumerAssignment (line 267) | type unsupportedConsumerAssignment struct method setupInfoSub (line 299) | func (uca *unsupportedConsumerAssignment) setupInfoSub(s *Server, ca *... method handleClusterConsumerInfoRequest (line 314) | func (uca *unsupportedConsumerAssignment) handleClusterConsumerInfoReq... method closeInfoSub (line 320) | func (uca *unsupportedConsumerAssignment) closeInfoSub(s *Server) { function newUnsupportedConsumerAssignment (line 274) | func newUnsupportedConsumerAssignment(ca *consumerAssignment, err error)... type writeableConsumerAssignment (line 331) | type writeableConsumerAssignment struct type streamPurge (line 341) | type streamPurge struct type streamMsgDelete (line 351) | type streamMsgDelete struct constant defaultStoreDirName (line 361) | defaultStoreDirName = "_js_" constant defaultMetaGroupName (line 362) | defaultMetaGroupName = "_meta_" constant defaultMetaFSBlkSize (line 363) | defaultMetaFSBlkSize = 1024 * 1024 constant jsExcludePlacement (line 364) | jsExcludePlacement = "!jetstream" method trackedJetStreamServers (line 368) | func (s *Server) trackedJetStreamServers() (js, total int) { method getJetStreamCluster (line 385) | func (s *Server) getJetStreamCluster() (*jetStream, *jetStreamCluster) { method JetStreamIsClustered (line 399) | func (s *Server) JetStreamIsClustered() bool { method JetStreamIsLeader (line 403) | func (s *Server) JetStreamIsLeader() bool { method JetStreamIsCurrent (line 407) | func (s *Server) JetStreamIsCurrent() bool { method JetStreamSnapshotMeta (line 428) | func (s *Server) JetStreamSnapshotMeta() error { method JetStreamStepdownStream (line 451) | func (s *Server) JetStreamStepdownStream(account, stream string) error { method JetStreamStepdownConsumer (line 477) | func (s *Server) JetStreamStepdownConsumer(account, stream, consumer str... method JetStreamSnapshotStream (line 508) | func (s *Server) JetStreamSnapshotStream(account, stream string) error { method JetStreamClusterPeers (line 539) | func (s *Server) JetStreamClusterPeers() []string { method isStreamHealthy (line 620) | func (js *jetStream) isStreamHealthy(acc *Account, sa *streamAssignment)... method isConsumerHealthy (line 692) | func (js *jetStream) isConsumerHealthy(mset *stream, consumer string, ca... method subjectsOverlap (line 760) | func (js *jetStream) subjectsOverlap(acc string, subjects []string, osa ... method getJetStreamFromAccount (line 777) | func (a *Account) getJetStreamFromAccount() (*Server, *jetStream, *jsAcc... method JetStreamIsStreamLeader (line 795) | func (s *Server) JetStreamIsStreamLeader(account, stream string) bool { method JetStreamIsStreamLeader (line 805) | func (a *Account) JetStreamIsStreamLeader(stream string) bool { method JetStreamIsStreamCurrent (line 815) | func (s *Server) JetStreamIsStreamCurrent(account, stream string) bool { method JetStreamIsConsumerLeader (line 825) | func (a *Account) JetStreamIsConsumerLeader(stream, consumer string) bool { method JetStreamIsConsumerLeader (line 835) | func (s *Server) JetStreamIsConsumerLeader(account, stream, consumer str... method enableJetStreamClustering (line 845) | func (s *Server) enableJetStreamClustering() error { method isClustered (line 875) | func (js *jetStream) isClustered() bool { method isClusteredNoLock (line 884) | func (js *jetStream) isClusteredNoLock() bool { method setupMetaGroup (line 888) | func (js *jetStream) setupMetaGroup() error { method getMetaGroup (line 1004) | func (js *jetStream) getMetaGroup() RaftNode { method server (line 1013) | func (js *jetStream) server() *Server { method isLeaderless (line 1019) | func (js *jetStream) isLeaderless() bool { method isGroupLeaderless (line 1038) | func (js *jetStream) isGroupLeaderless(rg *raftGroup) bool { method JetStreamIsStreamAssigned (line 1082) | func (s *Server) JetStreamIsStreamAssigned(account, stream string) bool { method streamAssigned (line 1098) | func (jsa *jsAccount) streamAssigned(stream string) bool { method clusterQuitC (line 1292) | func (js *jetStream) clusterQuitC() chan struct{} { method clusterStoppedC (line 1302) | func (js *jetStream) clusterStoppedC() chan struct{} { method setMetaRecovering (line 1312) | func (js *jetStream) setMetaRecovering() { method clearMetaRecovering (line 1322) | func (js *jetStream) clearMetaRecovering() { method isMetaRecovering (line 1329) | func (js *jetStream) isMetaRecovering() bool { type recoveryUpdates (line 1336) | type recoveryUpdates struct method removeStream (line 1344) | func (ru *recoveryUpdates) removeStream(sa *streamAssignment) { method addStream (line 1353) | func (ru *recoveryUpdates) addStream(sa *streamAssignment) { method updateStream (line 1358) | func (ru *recoveryUpdates) updateStream(sa *streamAssignment) { method removeConsumer (line 1363) | func (ru *recoveryUpdates) removeConsumer(ca *consumerAssignment) { method addOrUpdateConsumer (line 1375) | func (ru *recoveryUpdates) addOrUpdateConsumer(ca *consumerAssignment) { method checkForOrphans (line 1387) | func (js *jetStream) checkForOrphans() { method getOrphans (line 1442) | func (js *jetStream) getOrphans() (streams []*stream, consumers []*consu... method monitorCluster (line 1464) | func (js *jetStream) monitorCluster() { method checkClusterSize (line 1837) | func (js *jetStream) checkClusterSize() { type writeableStreamAssignment (line 1881) | type writeableStreamAssignment struct method clusterStreamConfig (line 1890) | func (js *jetStream) clusterStreamConfig(accName, streamName string) (St... method metaSnapshot (line 1899) | func (js *jetStream) metaSnapshot() ([]byte, int, int, error) { method applyMetaSnapshot (line 1906) | func (js *jetStream) applyMetaSnapshot(buf []byte, ru *recoveryUpdates, ... method decodeMetaSnapshot (line 2040) | func (js *jetStream) decodeMetaSnapshot(buf []byte) (map[string]map[stri... method encodeMetaSnapshot (line 2084) | func (js *jetStream) encodeMetaSnapshot(streams map[string]map[string]*s... method collectStreamAndConsumerChanges (line 2154) | func (js *jetStream) collectStreamAndConsumerChanges(c RaftNodeCheckpoin... method setStreamAssignmentRecovering (line 2253) | func (js *jetStream) setStreamAssignmentRecovering(sa *streamAssignment) { method setConsumerAssignmentRecovering (line 2266) | func (js *jetStream) setConsumerAssignmentRecovering(ca *consumerAssignm... method processAddPeer (line 2302) | func (js *jetStream) processAddPeer(peer string) { method processRemovePeer (line 2354) | func (js *jetStream) processRemovePeer(peer string) { method removePeerFromStream (line 2408) | func (js *jetStream) removePeerFromStream(sa *streamAssignment, peer str... method removePeerFromStreamLocked (line 2415) | func (js *jetStream) removePeerFromStreamLocked(sa *streamAssignment, pe... method hasPeerEntries (line 2454) | func (js *jetStream) hasPeerEntries(entries []*Entry) bool { constant ksep (line 2463) | ksep = ":" method applyMetaEntries (line 2486) | func (js *jetStream) applyMetaEntries(entries []*Entry, ru *recoveryUpda... method createRaftGroup (line 2673) | func (js *jetStream) createRaftGroup(accName string, rg *raftGroup, reco... method raftGroup (line 2806) | func (mset *stream) raftGroup() *raftGroup { method raftNode (line 2818) | func (mset *stream) raftNode() RaftNode { method removeNode (line 2827) | func (mset *stream) removeNode() { function genPeerInfo (line 2838) | func genPeerInfo(peers []string, split int) (newPeers, oldPeers []string... method waitOnConsumerAssignments (line 2856) | func (mset *stream) waitOnConsumerAssignments() { method monitorStream (line 2909) | func (js *jetStream) monitorStream(mset *stream, sa *streamAssignment, s... method isMigrating (line 3519) | func (mset *stream) isMigrating() bool { method resetClusteredState (line 3544) | func (mset *stream) resetClusteredState(err error) bool { function isControlHdr (line 3649) | func isControlHdr(hdr []byte) bool { method applyStreamEntries (line 3655) | func (js *jetStream) applyStreamEntries(mset *stream, ce *CommittedEntry... method skipBatchIfRecovering (line 4046) | func (mset *stream) skipBatchIfRecovering(batch *batchApply, buf []byte)... method applyStreamMsgOp (line 4078) | func (js *jetStream) applyStreamMsgOp(mset *stream, op entryOp, mbuf []b... method replicas (line 4266) | func (s *Server) replicas(node RaftNode) []*PeerInfo { method processStreamLeaderChange (line 4282) | func (js *jetStream) processStreamLeaderChange(mset *stream, isLeader bo... constant lostQuorumAdvInterval (line 4388) | lostQuorumAdvInterval = 10 * time.Second method shouldSendLostQuorum (line 4391) | func (mset *stream) shouldSendLostQuorum() bool { method sendStreamLostQuorumAdvisory (line 4401) | func (s *Server) sendStreamLostQuorumAdvisory(mset *stream) { method sendStreamLeaderElectAdvisory (line 4436) | func (s *Server) sendStreamLeaderElectAdvisory(mset *stream) { method streamAssignment (line 4468) | func (js *jetStream) streamAssignment(account, stream string) (sa *strea... method streamAssignmentOrInflight (line 4482) | func (js *jetStream) streamAssignmentOrInflight(account, stream string) ... method streamAssignmentsOrInflightSeq (line 4505) | func (js *jetStream) streamAssignmentsOrInflightSeq(account string) iter... method streamAssignmentsOrInflightSeqAllAccounts (line 4531) | func (js *jetStream) streamAssignmentsOrInflightSeqAllAccounts() iter.Se... method processStreamAssignment (line 4561) | func (js *jetStream) processStreamAssignment(sa *streamAssignment) { method processUpdateStreamAssignment (line 4670) | func (js *jetStream) processUpdateStreamAssignment(sa *streamAssignment) { method removeStream (line 4787) | func (s *Server) removeStream(mset *stream, nsa *streamAssignment) { method processClusterUpdateStream (line 4818) | func (js *jetStream) processClusterUpdateStream(acc *Account, osa, sa *s... method processClusterCreateStream (line 4964) | func (js *jetStream) processClusterCreateStream(acc *Account, sa *stream... method processStreamRemoval (line 5236) | func (js *jetStream) processStreamRemoval(sa *streamAssignment) { method processClusterDeleteStream (line 5286) | func (js *jetStream) processClusterDeleteStream(sa *streamAssignment, is... method processConsumerAssignment (line 5383) | func (js *jetStream) processConsumerAssignment(ca *consumerAssignment) { method removeConsumer (line 5512) | func (s *Server) removeConsumer(o *consumer, nca *consumerAssignment) { method processConsumerRemoval (line 5542) | func (js *jetStream) processConsumerRemoval(ca *consumerAssignment) { type consumerAssignmentResult (line 5591) | type consumerAssignmentResult struct method processClusterCreateConsumer (line 5599) | func (js *jetStream) processClusterCreateConsumer(oca, ca *consumerAssig... method processClusterDeleteConsumer (line 5915) | func (js *jetStream) processClusterDeleteConsumer(ca *consumerAssignment... method consumerAssignment (line 5985) | func (js *jetStream) consumerAssignment(account, stream, consumer string... method consumerAssignmentOrInflight (line 5994) | func (js *jetStream) consumerAssignmentOrInflight(account, stream, consu... method consumerAssignmentsOrInflightSeq (line 6018) | func (js *jetStream) consumerAssignmentsOrInflightSeq(account, stream st... method consumerAssigned (line 6051) | func (jsa *jsAccount) consumerAssigned(stream, consumer string) bool { method streamAndNode (line 6090) | func (o *consumer) streamAndNode() (*stream, RaftNode) { method replica (line 6101) | func (o *consumer) replica() (int, error) { method raftGroup (line 6113) | func (o *consumer) raftGroup() *raftGroup { method raftNode (line 6125) | func (o *consumer) raftNode() RaftNode { method monitorConsumer (line 6134) | func (js *jetStream) monitorConsumer(o *consumer, ca *consumerAssignment) { method applyConsumerEntries (line 6387) | func (js *jetStream) applyConsumerEntries(o *consumer, ce *CommittedEntr... method processReplicatedAck (line 6571) | func (o *consumer) processReplicatedAck(dseq, sseq uint64) error { function decodeAckUpdate (line 6626) | func decodeAckUpdate(buf []byte) (dseq, sseq uint64, err error) { function decodeDeliveredUpdate (line 6638) | func decodeDeliveredUpdate(buf []byte) (dseq, sseq, dc uint64, ts int64,... method processConsumerLeaderChange (line 6658) | func (js *jetStream) processConsumerLeaderChange(o *consumer, isLeader b... method processConsumerLeaderChangeWithAssignment (line 6662) | func (js *jetStream) processConsumerLeaderChangeWithAssignment(o *consum... method shouldSendLostQuorum (line 6743) | func (o *consumer) shouldSendLostQuorum() bool { method sendConsumerLostQuorumAdvisory (line 6753) | func (s *Server) sendConsumerLostQuorumAdvisory(o *consumer) { method sendConsumerLeaderElectAdvisory (line 6789) | func (s *Server) sendConsumerLeaderElectAdvisory(o *consumer) { type streamAssignmentResult (line 6821) | type streamAssignmentResult struct function isInsufficientResourcesErr (line 6830) | func isInsufficientResourcesErr(resp *JSApiStreamCreateResponse) bool { method processStreamAssignmentResults (line 6836) | func (js *jetStream) processStreamAssignmentResults(sub *subscription, c... method processConsumerAssignmentResults (line 6914) | func (js *jetStream) processConsumerAssignmentResults(sub *subscription,... constant streamAssignmentSubj (line 6951) | streamAssignmentSubj = "$SYS.JSC.STREAM.ASSIGNMENT.RESULT" constant consumerAssignmentSubj (line 6952) | consumerAssignmentSubj = "$SYS.JSC.CONSUMER.ASSIGNMENT.RESULT" method startUpdatesSub (line 6956) | func (js *jetStream) startUpdatesSub() { method stopUpdatesSub (line 6982) | func (js *jetStream) stopUpdatesSub() { method sendDomainLeaderElectAdvisory (line 7014) | func (s *Server) sendDomainLeaderElectAdvisory() { method processLeaderChange (line 7043) | func (js *jetStream) processLeaderChange(isLeader bool) { type selectPeerError (line 7155) | type selectPeerError struct method Error (line 7166) | func (e *selectPeerError) Error() string { method addMissingTag (line 7214) | func (e *selectPeerError) addMissingTag(t string) { method addExcludeTag (line 7221) | func (e *selectPeerError) addExcludeTag(t string) { method accumulate (line 7228) | func (e *selectPeerError) accumulate(eAdd *selectPeerError) { function groupNameForStream (line 7551) | func groupNameForStream(peers []string, storage StorageType) string { function groupNameForConsumer (line 7555) | func groupNameForConsumer(peers []string, storage StorageType) string { function groupName (line 7559) | func groupName(prefix string, peers []string, storage StorageType) string { method tieredStreamAndReservationCount (line 7566) | func (js *jetStream) tieredStreamAndReservationCount(accName, tier strin... method createGroupForStream (line 7592) | func (js *jetStream) createGroupForStream(ci *ClientInfo, cfg *StreamCon... method selectLimits (line 7623) | func (acc *Account) selectLimits(replicas int) (*JetStreamAccountLimits,... method jsClusteredStreamLimitsCheck (line 7644) | func (js *jetStream) jsClusteredStreamLimitsCheck(acc *Account, cfg *Str... method jsClusteredStreamRequest (line 7665) | func (s *Server) jsClusteredStreamRequest(ci *ClientInfo, acc *Account, ... function sysRequest (line 7766) | func sysRequest[T any](s *Server, subjFormat string, args ...any) (*T, e... method jsClusteredStreamUpdateRequest (line 7813) | func (s *Server) jsClusteredStreamUpdateRequest(ci *ClientInfo, acc *Acc... method jsClusteredStreamDeleteRequest (line 8200) | func (s *Server) jsClusteredStreamDeleteRequest(ci *ClientInfo, acc *Acc... method jsClusteredStreamPurgeRequest (line 8228) | func (s *Server) jsClusteredStreamPurgeRequest( method jsClusteredStreamRestoreRequest (line 8274) | func (s *Server) jsClusteredStreamRestoreRequest( method allPeersOffline (line 8325) | func (s *Server) allPeersOffline(rg *raftGroup) bool { method jsClusteredStreamListRequest (line 8342) | func (s *Server) jsClusteredStreamListRequest(acc *Account, ci *ClientIn... method jsClusteredConsumerListRequest (line 8508) | func (s *Server) jsClusteredConsumerListRequest(acc *Account, ci *Client... function encodeStreamPurge (line 8653) | func encodeStreamPurge(sp *streamPurge) []byte { function decodeStreamPurge (line 8660) | func decodeStreamPurge(buf []byte) (*streamPurge, error) { method jsClusteredConsumerDeleteRequest (line 8666) | func (s *Server) jsClusteredConsumerDeleteRequest(ci *ClientInfo, acc *A... function encodeMsgDelete (line 8705) | func encodeMsgDelete(md *streamMsgDelete) []byte { function decodeMsgDelete (line 8712) | func decodeMsgDelete(buf []byte) (*streamMsgDelete, error) { method jsClusteredMsgDeleteRequest (line 8718) | func (s *Server) jsClusteredMsgDeleteRequest(ci *ClientInfo, acc *Accoun... function encodeAddStreamAssignment (line 8763) | func encodeAddStreamAssignment(sa *streamAssignment) []byte { function encodeUpdateStreamAssignment (line 8773) | func encodeUpdateStreamAssignment(sa *streamAssignment) []byte { function encodeDeleteStreamAssignment (line 8783) | func encodeDeleteStreamAssignment(sa *streamAssignment) []byte { function decodeStreamAssignment (line 8793) | func decodeStreamAssignment(s *Server, buf []byte) (*streamAssignment, e... function decodeStreamAssignmentConfig (line 8804) | func decodeStreamAssignmentConfig(s *Server, sa *streamAssignment) error { function encodeDeleteRange (line 8826) | func encodeDeleteRange(dr *DeleteRange) []byte { function decodeDeleteRange (line 8833) | func decodeDeleteRange(buf []byte) (*DeleteRange, error) { method jsClusteredConsumerRequest (line 8884) | func (s *Server) jsClusteredConsumerRequest(ci *ClientInfo, acc *Account... function encodeAddConsumerAssignment (line 9235) | func encodeAddConsumerAssignment(ca *consumerAssignment) []byte { function encodeDeleteConsumerAssignment (line 9245) | func encodeDeleteConsumerAssignment(ca *consumerAssignment) []byte { function decodeConsumerAssignment (line 9255) | func decodeConsumerAssignment(buf []byte) (*consumerAssignment, error) { function decodeConsumerAssignmentConfig (line 9266) | func decodeConsumerAssignmentConfig(ca *consumerAssignment) error { function encodeAddConsumerAssignmentCompressed (line 9286) | func encodeAddConsumerAssignmentCompressed(ca *consumerAssignment) []byte { function decodeConsumerAssignmentCompressed (line 9298) | func decodeConsumerAssignmentCompressed(buf []byte) (*consumerAssignment... function decodeStreamMsg (line 9314) | func decodeStreamMsg(buf []byte) (subject, reply string, hdr, msg []byte... function decodeBatchMsg (line 9371) | func decodeBatchMsg(buf []byte) (batchId string, batchSeq uint64, op ent... constant msgFlagFromSourceOrMirror (line 9396) | msgFlagFromSourceOrMirror uint64 = 1 << iota function encodeStreamMsg (line 9399) | func encodeStreamMsg(subject, reply string, hdr, msg []byte, lseq uint64... function encodeStreamMsgAllowCompress (line 9403) | func encodeStreamMsgAllowCompress(subject, reply string, hdr, msg []byte... constant compressThreshold (line 9409) | compressThreshold = 8192 function encodeStreamMsgAllowCompressAndBatch (line 9412) | func encodeStreamMsgAllowCompressAndBatch(subject, reply string, hdr, ms... method supportsBinarySnapshot (line 9484) | func (mset *stream) supportsBinarySnapshot() bool { method supportsBinarySnapshotLocked (line 9492) | func (mset *stream) supportsBinarySnapshotLocked() bool { type streamSnapshot (line 9514) | type streamSnapshot struct method stateSnapshot (line 9524) | func (mset *stream) stateSnapshot() []byte { method stateSnapshotLocked (line 9532) | func (mset *stream) stateSnapshotLocked() []byte { constant streamLagWarnThreshold (line 9564) | streamLagWarnThreshold = 10_000 method processClusteredInboundMsg (line 9567) | func (mset *stream) processClusteredInboundMsg(subject, reply string, hd... method getAndDeleteMsgTrace (line 9695) | func (mset *stream) getAndDeleteMsgTrace(lseq uint64) *msgTrace { type streamSyncRequest (line 9710) | type streamSyncRequest struct method calculateSyncRequest (line 9720) | func (mset *stream) calculateSyncRequest(state *StreamState, snap *Strea... method processSnapshotDeletes (line 9735) | func (mset *stream) processSnapshotDeletes(snap *StreamReplicatedState) ... method setCatchupPeer (line 9765) | func (mset *stream) setCatchupPeer(peer string, lag uint64) { method updateCatchupPeer (line 9778) | func (mset *stream) updateCatchupPeer(peer string) { method decrementCatchupPeer (line 9789) | func (mset *stream) decrementCatchupPeer(peer string, num uint64) { method clearCatchupPeer (line 9805) | func (mset *stream) clearCatchupPeer(peer string) { method clearAllCatchupPeers (line 9814) | func (mset *stream) clearAllCatchupPeers() { method lagForCatchupPeer (line 9820) | func (mset *stream) lagForCatchupPeer(peer string) uint64 { method hasCatchupPeers (line 9829) | func (mset *stream) hasCatchupPeers() bool { method setCatchingUp (line 9835) | func (mset *stream) setCatchingUp() { method clearCatchingUp (line 9839) | func (mset *stream) clearCatchingUp() { method isCatchingUp (line 9843) | func (mset *stream) isCatchingUp() bool { method isCurrent (line 9849) | func (mset *stream) isCurrent() bool { constant maxConcurrentSyncRequests (line 9857) | maxConcurrentSyncRequests = 32 method processSnapshot (line 9870) | func (mset *stream) processSnapshot(snap *StreamReplicatedState, index u... method processCatchupMsg (line 10173) | func (mset *stream) processCatchupMsg(msg []byte) (uint64, error) { method flushAllPending (line 10267) | func (mset *stream) flushAllPending() error { method handleClusterSyncRequest (line 10271) | func (mset *stream) handleClusterSyncRequest(sub *subscription, c *clien... method offlineClusterInfo (line 10281) | func (js *jetStream) offlineClusterInfo(rg *raftGroup) *ClusterInfo { method clusterInfo (line 10296) | func (js *jetStream) clusterInfo(rg *raftGroup) *ClusterInfo { method checkClusterInfo (line 10370) | func (mset *stream) checkClusterInfo(ci *ClusterInfo) { method streamAlternates (line 10383) | func (js *jetStream) streamAlternates(ci *ClientInfo, stream string) []S... method handleClusterStreamInfoRequest (line 10436) | func (mset *stream) handleClusterStreamInfoRequest(_ *subscription, c *c... method processClusterStreamInfoRequest (line 10440) | func (mset *stream) processClusterStreamInfoRequest(reply string) { constant defaultMaxTotalCatchupOutBytes (line 10478) | defaultMaxTotalCatchupOutBytes = int64(64 * 1024 * 1024) method gcbTotal (line 10481) | func (s *Server) gcbTotal() int64 { method gcbBelowMax (line 10489) | func (s *Server) gcbBelowMax() bool { method gcbAdd (line 10498) | func (s *Server) gcbAdd(localsz *int64, sz int64) { method gcbSubLocked (line 10512) | func (s *Server) gcbSubLocked(localsz *int64, sz int64) { method gcbSub (line 10525) | func (s *Server) gcbSub(localsz *int64, sz int64) { method gcbSubLast (line 10535) | func (s *Server) gcbSubLast(localsz *int64) { method cbKickChan (line 10543) | func (s *Server) cbKickChan() <-chan struct{} { method runCatchup (line 10549) | func (mset *stream) runCatchup(sendSubject string, sreq *streamSyncReque... constant jscAllSubj (line 10861) | jscAllSubj = "$JSC.>" function syncSubjForStream (line 10863) | func syncSubjForStream() string { function syncReplySubject (line 10867) | func syncReplySubject() string { function infoReplySubject (line 10871) | func infoReplySubject() string { function syncAckSubject (line 10875) | func syncAckSubject() string { function syncSubject (line 10879) | func syncSubject(pre string) string { constant clusterStreamInfoT (line 10896) | clusterStreamInfoT = "$JSC.SI.%s.%s" constant clusterConsumerInfoT (line 10897) | clusterConsumerInfoT = "$JSC.CI.%s.%s.%s" constant jsaUpdatesSubT (line 10898) | jsaUpdatesSubT = "$JSC.ARU.%s.*" constant jsaUpdatesPubT (line 10899) | jsaUpdatesPubT = "$JSC.ARU.%s.%s" FILE: server/jetstream_cluster_1_test.go function TestJetStreamClusterConfig (line 43) | func TestJetStreamClusterConfig(t *testing.T) { function TestJetStreamClusterLeader (line 73) | func TestJetStreamClusterLeader(t *testing.T) { function TestJetStreamClusterExpand (line 86) | func TestJetStreamClusterExpand(t *testing.T) { function TestJetStreamClusterAccountInfo (line 94) | func TestJetStreamClusterAccountInfo(t *testing.T) { function TestJetStreamClusterStreamLimitWithAccountDefaults (line 124) | func TestJetStreamClusterStreamLimitWithAccountDefaults(t *testing.T) { function TestJetStreamClusterInfoRaftGroup (line 152) | func TestJetStreamClusterInfoRaftGroup(t *testing.T) { function TestJetStreamClusterSingleReplicaStreams (line 223) | func TestJetStreamClusterSingleReplicaStreams(t *testing.T) { function TestJetStreamClusterMultiReplicaStreams (line 299) | func TestJetStreamClusterMultiReplicaStreams(t *testing.T) { function TestJetStreamClusterMultiReplicaStreamsDefaultFileMem (line 355) | func TestJetStreamClusterMultiReplicaStreamsDefaultFileMem(t *testing.T) { function TestJetStreamClusterMemoryStore (line 423) | func TestJetStreamClusterMemoryStore(t *testing.T) { function TestJetStreamClusterDelete (line 472) | func TestJetStreamClusterDelete(t *testing.T) { function TestJetStreamClusterStreamPurge (line 522) | func TestJetStreamClusterStreamPurge(t *testing.T) { function TestJetStreamClusterStreamUpdateSubjects (line 571) | func TestJetStreamClusterStreamUpdateSubjects(t *testing.T) { function TestJetStreamClusterBadStreamUpdate (line 617) | func TestJetStreamClusterBadStreamUpdate(t *testing.T) { function TestJetStreamClusterConsumerRedeliveredInfo (line 659) | func TestJetStreamClusterConsumerRedeliveredInfo(t *testing.T) { function TestJetStreamClusterConsumerState (line 700) | func TestJetStreamClusterConsumerState(t *testing.T) { function TestJetStreamClusterFullConsumerState (line 795) | func TestJetStreamClusterFullConsumerState(t *testing.T) { function TestJetStreamClusterMetaSnapshotsAndCatchup (line 833) | func TestJetStreamClusterMetaSnapshotsAndCatchup(t *testing.T) { function TestJetStreamClusterMetaSnapshotsMultiChange (line 881) | func TestJetStreamClusterMetaSnapshotsMultiChange(t *testing.T) { function TestJetStreamClusterStreamSynchedTimeStamps (line 977) | func TestJetStreamClusterStreamSynchedTimeStamps(t *testing.T) { function TestJetStreamClusterRestoreSingleConsumer (line 1028) | func TestJetStreamClusterRestoreSingleConsumer(t *testing.T) { function TestJetStreamClusterMaxBytesForStream (line 1099) | func TestJetStreamClusterMaxBytesForStream(t *testing.T) { function TestJetStreamClusterStreamPublishWithActiveConsumers (line 1132) | func TestJetStreamClusterStreamPublishWithActiveConsumers(t *testing.T) { function TestJetStreamClusterStreamOverlapSubjects (line 1248) | func TestJetStreamClusterStreamOverlapSubjects(t *testing.T) { function TestJetStreamClusterStreamInfoList (line 1284) | func TestJetStreamClusterStreamInfoList(t *testing.T) { function TestJetStreamClusterConsumerInfoList (line 1349) | func TestJetStreamClusterConsumerInfoList(t *testing.T) { function TestJetStreamClusterStreamUpdate (line 1433) | func TestJetStreamClusterStreamUpdate(t *testing.T) { function TestJetStreamClusterStreamExtendedUpdates (line 1513) | func TestJetStreamClusterStreamExtendedUpdates(t *testing.T) { function TestJetStreamClusterDoubleAdd (line 1551) | func TestJetStreamClusterDoubleAdd(t *testing.T) { function TestJetStreamClusterDefaultMaxAckPending (line 1580) | func TestJetStreamClusterDefaultMaxAckPending(t *testing.T) { function TestJetStreamClusterStreamNormalCatchup (line 1607) | func TestJetStreamClusterStreamNormalCatchup(t *testing.T) { function TestJetStreamClusterStreamSnapshotCatchup (line 1667) | func TestJetStreamClusterStreamSnapshotCatchup(t *testing.T) { function TestJetStreamClusterDeleteMsg (line 1748) | func TestJetStreamClusterDeleteMsg(t *testing.T) { function TestJetStreamClusterDeleteMsgAndRestart (line 1785) | func TestJetStreamClusterDeleteMsgAndRestart(t *testing.T) { function TestJetStreamClusterStreamSnapshotCatchupWithPurge (line 1822) | func TestJetStreamClusterStreamSnapshotCatchupWithPurge(t *testing.T) { function TestJetStreamClusterExtendedStreamInfo (line 1878) | func TestJetStreamClusterExtendedStreamInfo(t *testing.T) { function TestJetStreamClusterExtendedStreamInfoSingleReplica (line 2033) | func TestJetStreamClusterExtendedStreamInfoSingleReplica(t *testing.T) { function TestJetStreamClusterInterestRetention (line 2109) | func TestJetStreamClusterInterestRetention(t *testing.T) { function TestJetStreamClusterWorkQueueRetention (line 2179) | func TestJetStreamClusterWorkQueueRetention(t *testing.T) { function TestJetStreamClusterMirrorAndSourceWorkQueues (line 2233) | func TestJetStreamClusterMirrorAndSourceWorkQueues(t *testing.T) { function TestJetStreamClusterMirrorAndSourceInterestPolicyStream (line 2290) | func TestJetStreamClusterMirrorAndSourceInterestPolicyStream(t *testing.... function TestJetStreamClusterInterestRetentionWithFilteredConsumers (line 2374) | func TestJetStreamClusterInterestRetentionWithFilteredConsumers(t *testi... function TestJetStreamClusterEphemeralConsumerNoImmediateInterest (line 2481) | func TestJetStreamClusterEphemeralConsumerNoImmediateInterest(t *testing... function TestJetStreamClusterEphemeralConsumerCleanup (line 2522) | func TestJetStreamClusterEphemeralConsumerCleanup(t *testing.T) { function TestJetStreamClusterEphemeralConsumersNotReplicated (line 2599) | func TestJetStreamClusterEphemeralConsumersNotReplicated(t *testing.T) { function TestJetStreamClusterUserSnapshotAndRestore (line 2652) | func TestJetStreamClusterUserSnapshotAndRestore(t *testing.T) { function TestJetStreamClusterUserSnapshotAndRestoreConfigChanges (line 2902) | func TestJetStreamClusterUserSnapshotAndRestoreConfigChanges(t *testing.... function TestJetStreamClusterAccountInfoAndLimits (line 3053) | func TestJetStreamClusterAccountInfoAndLimits(t *testing.T) { function TestJetStreamClusterMaxStreamsReached (line 3177) | func TestJetStreamClusterMaxStreamsReached(t *testing.T) { function TestJetStreamClusterStreamLimits (line 3248) | func TestJetStreamClusterStreamLimits(t *testing.T) { function TestJetStreamClusterStreamInterestOnlyPolicy (line 3310) | func TestJetStreamClusterStreamInterestOnlyPolicy(t *testing.T) { function TestJetStreamClusterExtendedAccountInfo (line 3389) | func TestJetStreamClusterExtendedAccountInfo(t *testing.T) { function TestJetStreamClusterPeerRemovalAPI (line 3469) | func TestJetStreamClusterPeerRemovalAPI(t *testing.T) { function TestJetStreamClusterPeerRemovalAndStreamReassignment (line 3544) | func TestJetStreamClusterPeerRemovalAndStreamReassignment(t *testing.T) { function TestJetStreamClusterPeerRemovalAndStreamReassignmentWithoutSpace (line 3629) | func TestJetStreamClusterPeerRemovalAndStreamReassignmentWithoutSpace(t ... function TestJetStreamClusterPeerRemovalAndServerBroughtBack (line 3725) | func TestJetStreamClusterPeerRemovalAndServerBroughtBack(t *testing.T) { function TestJetStreamClusterPeerExclusionTag (line 3808) | func TestJetStreamClusterPeerExclusionTag(t *testing.T) { function TestJetStreamClusterAccountPurge (line 3891) | func TestJetStreamClusterAccountPurge(t *testing.T) { function TestJetStreamClusterScaleConsumer (line 4109) | func TestJetStreamClusterScaleConsumer(t *testing.T) { function TestJetStreamClusterConsumerScaleUp (line 4203) | func TestJetStreamClusterConsumerScaleUp(t *testing.T) { function TestJetStreamClusterPeerOffline (line 4248) | func TestJetStreamClusterPeerOffline(t *testing.T) { function TestJetStreamClusterNoQuorumStepdown (line 4319) | func TestJetStreamClusterNoQuorumStepdown(t *testing.T) { function TestJetStreamClusterCreateResponseAdvisoriesHaveSubject (line 4452) | func TestJetStreamClusterCreateResponseAdvisoriesHaveSubject(t *testing.... function TestJetStreamClusterRestartAndRemoveAdvisories (line 4493) | func TestJetStreamClusterRestartAndRemoveAdvisories(t *testing.T) { function TestJetStreamClusterNoDuplicateOnNodeRestart (line 4618) | func TestJetStreamClusterNoDuplicateOnNodeRestart(t *testing.T) { function TestJetStreamClusterNoDupePeerSelection (line 4677) | func TestJetStreamClusterNoDupePeerSelection(t *testing.T) { function TestJetStreamClusterStreamRemovePeer (line 4722) | func TestJetStreamClusterStreamRemovePeer(t *testing.T) { function TestJetStreamClusterStreamLeaderStepDown (line 4938) | func TestJetStreamClusterStreamLeaderStepDown(t *testing.T) { function TestJetStreamClusterRemoveServer (line 5041) | func TestJetStreamClusterRemoveServer(t *testing.T) { function TestJetStreamClusterPurgeReplayAfterRestart (line 5122) | func TestJetStreamClusterPurgeReplayAfterRestart(t *testing.T) { function TestJetStreamClusterStreamGetMsg (line 5169) | func TestJetStreamClusterStreamGetMsg(t *testing.T) { function TestJetStreamClusterStreamDirectGetMsg (line 5208) | func TestJetStreamClusterStreamDirectGetMsg(t *testing.T) { function TestJetStreamClusterStreamPerf (line 5251) | func TestJetStreamClusterStreamPerf(t *testing.T) { function TestJetStreamClusterConsumerPerf (line 5315) | func TestJetStreamClusterConsumerPerf(t *testing.T) { function TestJetStreamClusterQueueSubConsumer (line 5385) | func TestJetStreamClusterQueueSubConsumer(t *testing.T) { function TestJetStreamClusterLeaderStepdown (line 5477) | func TestJetStreamClusterLeaderStepdown(t *testing.T) { function TestJetStreamClusterSourcesFilteringAndUpdating (line 5509) | func TestJetStreamClusterSourcesFilteringAndUpdating(t *testing.T) { function TestJetStreamClusterSourcesUpdateOriginError (line 5642) | func TestJetStreamClusterSourcesUpdateOriginError(t *testing.T) { function TestJetStreamClusterMirrorAndSourcesClusterRestart (line 5733) | func TestJetStreamClusterMirrorAndSourcesClusterRestart(t *testing.T) { function TestJetStreamClusterMirrorAndSourcesFilteredConsumers (line 5840) | func TestJetStreamClusterMirrorAndSourcesFilteredConsumers(t *testing.T) { function TestJetStreamClusterCrossAccountMirrorsAndSources (line 5956) | func TestJetStreamClusterCrossAccountMirrorsAndSources(t *testing.T) { function TestJetStreamClusterFailMirrorsAndSources (line 6037) | func TestJetStreamClusterFailMirrorsAndSources(t *testing.T) { function TestJetStreamClusterConsumerDeliveredSyncReporting (line 6100) | func TestJetStreamClusterConsumerDeliveredSyncReporting(t *testing.T) { function TestJetStreamClusterConsumerAckSyncReporting (line 6174) | func TestJetStreamClusterConsumerAckSyncReporting(t *testing.T) { function TestJetStreamClusterConsumerDeleteInterestPolicyMultipleConsumers (line 6268) | func TestJetStreamClusterConsumerDeleteInterestPolicyMultipleConsumers(t... function TestJetStreamClusterConsumerAckNoneInterestPolicyShouldNotRetainAfterDelivery (line 6340) | func TestJetStreamClusterConsumerAckNoneInterestPolicyShouldNotRetainAft... function TestJetStreamClusterConsumerDeleteAckNoneInterestPolicyWithOthers (line 6396) | func TestJetStreamClusterConsumerDeleteAckNoneInterestPolicyWithOthers(t... function TestJetStreamClusterMetaStepdownFromNonSysAccount (line 6471) | func TestJetStreamClusterMetaStepdownFromNonSysAccount(t *testing.T) { function TestJetStreamClusterMaxDeliveriesOnInterestStreams (line 6507) | func TestJetStreamClusterMaxDeliveriesOnInterestStreams(t *testing.T) { function TestJetStreamClusterMetaRecoveryUpdatesDeletesConsumers (line 6566) | func TestJetStreamClusterMetaRecoveryUpdatesDeletesConsumers(t *testing.... function TestJetStreamClusterMetaRecoveryRecreateFileStreamAsMemory (line 6611) | func TestJetStreamClusterMetaRecoveryRecreateFileStreamAsMemory(t *testi... function TestJetStreamClusterMetaRecoveryConsumerCreateAndRemove (line 6680) | func TestJetStreamClusterMetaRecoveryConsumerCreateAndRemove(t *testing.... function TestJetStreamClusterMetaRecoveryAddAndUpdateStream (line 6730) | func TestJetStreamClusterMetaRecoveryAddAndUpdateStream(t *testing.T) { function TestJetStreamClusterConsumerAckOutOfBounds (line 6790) | func TestJetStreamClusterConsumerAckOutOfBounds(t *testing.T) { function TestJetStreamClusterCatchupLoadNextMsgTooManyDeletes (line 6845) | func TestJetStreamClusterCatchupLoadNextMsgTooManyDeletes(t *testing.T) { function TestJetStreamClusterCatchupMustStallWhenBehindOnApplies (line 6935) | func TestJetStreamClusterCatchupMustStallWhenBehindOnApplies(t *testing.... function TestJetStreamClusterConsumerInfoAfterCreate (line 7023) | func TestJetStreamClusterConsumerInfoAfterCreate(t *testing.T) { function TestJetStreamClusterStreamUpscalePeersAfterDownscale (line 7088) | func TestJetStreamClusterStreamUpscalePeersAfterDownscale(t *testing.T) { function TestJetStreamClusterClearAllPreAcksOnRemoveMsg (line 7142) | func TestJetStreamClusterClearAllPreAcksOnRemoveMsg(t *testing.T) { function TestJetStreamClusterStreamHealthCheckMustNotRecreate (line 7235) | func TestJetStreamClusterStreamHealthCheckMustNotRecreate(t *testing.T) { function TestJetStreamClusterStreamHealthCheckMustNotDeleteEarly (line 7356) | func TestJetStreamClusterStreamHealthCheckMustNotDeleteEarly(t *testing.... function TestJetStreamClusterStreamHealthCheckOnlyReportsSkew (line 7430) | func TestJetStreamClusterStreamHealthCheckOnlyReportsSkew(t *testing.T) { function TestJetStreamClusterStreamHealthCheckStreamCatchup (line 7513) | func TestJetStreamClusterStreamHealthCheckStreamCatchup(t *testing.T) { function TestJetStreamClusterConsumerHealthCheckMustNotRecreate (line 7551) | func TestJetStreamClusterConsumerHealthCheckMustNotRecreate(t *testing.T) { function TestJetStreamClusterConsumerHealthCheckMustNotDeleteEarly (line 7666) | func TestJetStreamClusterConsumerHealthCheckMustNotDeleteEarly(t *testin... function TestJetStreamClusterConsumerHealthCheckOnlyReportsSkew (line 7742) | func TestJetStreamClusterConsumerHealthCheckOnlyReportsSkew(t *testing.T) { function TestJetStreamClusterConsumerHealthCheckDeleted (line 7828) | func TestJetStreamClusterConsumerHealthCheckDeleted(t *testing.T) { function TestJetStreamClusterRespectConsumerStartSeq (line 7873) | func TestJetStreamClusterRespectConsumerStartSeq(t *testing.T) { function TestJetStreamClusterPeerRemoveStreamConsumerDesync (line 7923) | func TestJetStreamClusterPeerRemoveStreamConsumerDesync(t *testing.T) { function TestJetStreamClusterStuckConsumerAfterLeaderChangeWithUnknownDeliveries (line 8013) | func TestJetStreamClusterStuckConsumerAfterLeaderChangeWithUnknownDelive... function TestJetStreamClusterAccountStatsForReplicatedStreams (line 8087) | func TestJetStreamClusterAccountStatsForReplicatedStreams(t *testing.T) { function TestJetStreamClusterRecreateConsumerFromMetaSnapshot (line 8140) | func TestJetStreamClusterRecreateConsumerFromMetaSnapshot(t *testing.T) { function TestJetStreamClusterUpgradeStreamVersioning (line 8254) | func TestJetStreamClusterUpgradeStreamVersioning(t *testing.T) { function TestJetStreamClusterUpgradeConsumerVersioning (line 8316) | func TestJetStreamClusterUpgradeConsumerVersioning(t *testing.T) { function TestJetStreamClusterInterestPolicyAckAll (line 8433) | func TestJetStreamClusterInterestPolicyAckAll(t *testing.T) { function TestJetStreamClusterPreserveRedeliveredWithLaggingStream (line 8497) | func TestJetStreamClusterPreserveRedeliveredWithLaggingStream(t *testing... function TestJetStreamClusterInvalidJSACKOverRoute (line 8585) | func TestJetStreamClusterInvalidJSACKOverRoute(t *testing.T) { function TestJetStreamClusterConsumerOnlyDeliverMsgAfterQuorum (line 8643) | func TestJetStreamClusterConsumerOnlyDeliverMsgAfterQuorum(t *testing.T) { function TestJetStreamClusterConsumerResetPendingDeliveriesOnMaxAckPendingUpdate (line 8709) | func TestJetStreamClusterConsumerResetPendingDeliveriesOnMaxAckPendingUp... function TestJetStreamClusterConsumerActiveAfterDidNotDeliverOverRoute (line 8767) | func TestJetStreamClusterConsumerActiveAfterDidNotDeliverOverRoute(t *te... function TestJetStreamClusterOfflineR1StreamDenyUpdate (line 8833) | func TestJetStreamClusterOfflineR1StreamDenyUpdate(t *testing.T) { function TestJetStreamClusterOfflineR1ConsumerDenyUpdate (line 8866) | func TestJetStreamClusterOfflineR1ConsumerDenyUpdate(t *testing.T) { function TestJetStreamClusterSnapshotStreamAssetOnShutdown (line 8905) | func TestJetStreamClusterSnapshotStreamAssetOnShutdown(t *testing.T) { function TestJetStreamClusterDontReviveRemovedStream (line 8965) | func TestJetStreamClusterDontReviveRemovedStream(t *testing.T) { function TestJetStreamClusterCreateR3StreamWithOfflineNodes (line 9027) | func TestJetStreamClusterCreateR3StreamWithOfflineNodes(t *testing.T) { function TestJetStreamClusterCreateEphemeralConsumerWithOfflineNodes (line 9074) | func TestJetStreamClusterCreateEphemeralConsumerWithOfflineNodes(t *test... function TestJetStreamClusterSetPreferredToOnlineNode (line 9093) | func TestJetStreamClusterSetPreferredToOnlineNode(t *testing.T) { function TestJetStreamClusterAsyncFlushBasics (line 9125) | func TestJetStreamClusterAsyncFlushBasics(t *testing.T) { function TestJetStreamClusterAsyncFlushFileStoreFlushOnSnapshot (line 9221) | func TestJetStreamClusterAsyncFlushFileStoreFlushOnSnapshot(t *testing.T) { function TestJetStreamClusterScheduledDelayedMessage (line 9301) | func TestJetStreamClusterScheduledDelayedMessage(t *testing.T) { function TestJetStreamClusterScheduledMessageSubjectSourcing (line 9484) | func TestJetStreamClusterScheduledMessageSubjectSourcing(t *testing.T) { function TestJetStreamClusterScheduledDelayedMessageReversedHeaderOrder (line 9571) | func TestJetStreamClusterScheduledDelayedMessageReversedHeaderOrder(t *t... function TestJetStreamClusterScheduledIntervalMessage (line 9618) | func TestJetStreamClusterScheduledIntervalMessage(t *testing.T) { function TestJetStreamClusterOfflineStreamAndConsumerAfterAssetCreateOrUpdate (line 9694) | func TestJetStreamClusterOfflineStreamAndConsumerAfterAssetCreateOrUpdat... function TestJetStreamClusterOfflineStreamAndConsumerAfterDowngrade (line 10000) | func TestJetStreamClusterOfflineStreamAndConsumerAfterDowngrade(t *testi... function TestJetStreamClusterOfflineStreamAndConsumerUpdate (line 10237) | func TestJetStreamClusterOfflineStreamAndConsumerUpdate(t *testing.T) { function TestJetStreamClusterOfflineStreamAndConsumerStrictDecoding (line 10322) | func TestJetStreamClusterOfflineStreamAndConsumerStrictDecoding(t *testi... function TestJetStreamClusterStreamMonitorShutdownWithoutRaftNode (line 10351) | func TestJetStreamClusterStreamMonitorShutdownWithoutRaftNode(t *testing... function TestJetStreamClusterConsumerMonitorShutdownWithoutRaftNode (line 10401) | func TestJetStreamClusterConsumerMonitorShutdownWithoutRaftNode(t *testi... function TestJetStreamClusterUnsetEmptyPlacement (line 10459) | func TestJetStreamClusterUnsetEmptyPlacement(t *testing.T) { function TestJetStreamClusterPersistModeAsync (line 10493) | func TestJetStreamClusterPersistModeAsync(t *testing.T) { function TestJetStreamClusterDeleteMsgEOF (line 10511) | func TestJetStreamClusterDeleteMsgEOF(t *testing.T) { function TestJetStreamClusterCatchupSkipMsgDesync (line 10538) | func TestJetStreamClusterCatchupSkipMsgDesync(t *testing.T) { function TestJetStreamClusterJszRaftLeaderReporting (line 10603) | func TestJetStreamClusterJszRaftLeaderReporting(t *testing.T) { function TestJetStreamClusterNoInterestDesyncOnConsumerCreate (line 10655) | func TestJetStreamClusterNoInterestDesyncOnConsumerCreate(t *testing.T) { function TestJetStreamClusterRaftCatchupSignalsMetaRecovery (line 10786) | func TestJetStreamClusterRaftCatchupSignalsMetaRecovery(t *testing.T) { function TestJetStreamClusterRaftCatchupSignalsMetaRecoveryRecreateStream (line 10845) | func TestJetStreamClusterRaftCatchupSignalsMetaRecoveryRecreateStream(t ... function TestJetStreamClusterRaftCatchupSignalsMetaRecoveryRecreateConsumer (line 10914) | func TestJetStreamClusterRaftCatchupSignalsMetaRecoveryRecreateConsumer(... function TestJetStreamClusterMetaRecoveryRecreateStream (line 11013) | func TestJetStreamClusterMetaRecoveryRecreateStream(t *testing.T) { function TestJetStreamClusterMetaRecoveryRecreateConsumer (line 11126) | func TestJetStreamClusterMetaRecoveryRecreateConsumer(t *testing.T) { function TestJetStreamClusterMetaPeerRemoveResponseAfterQuorum (line 11287) | func TestJetStreamClusterMetaPeerRemoveResponseAfterQuorum(t *testing.T) { FILE: server/jetstream_cluster_2_test.go function TestJetStreamClusterJSAPIImport (line 43) | func TestJetStreamClusterJSAPIImport(t *testing.T) { function TestJetStreamClusterMultiRestartBug (line 137) | func TestJetStreamClusterMultiRestartBug(t *testing.T) { function TestJetStreamClusterServerLimits (line 201) | func TestJetStreamClusterServerLimits(t *testing.T) { function TestJetStreamClusterAccountLoadFailure (line 289) | func TestJetStreamClusterAccountLoadFailure(t *testing.T) { function TestJetStreamClusterAckPendingWithExpired (line 309) | func TestJetStreamClusterAckPendingWithExpired(t *testing.T) { function TestJetStreamClusterAckPendingWithMaxRedelivered (line 377) | func TestJetStreamClusterAckPendingWithMaxRedelivered(t *testing.T) { function TestJetStreamClusterMixedMode (line 427) | func TestJetStreamClusterMixedMode(t *testing.T) { function TestJetStreamClusterLeafnodeSpokes (line 483) | func TestJetStreamClusterLeafnodeSpokes(t *testing.T) { function TestJetStreamClusterLeafNodeDenyNoDupe (line 509) | func TestJetStreamClusterLeafNodeDenyNoDupe(t *testing.T) { function TestJetStreamClusterSingleLeafNodeWithoutSharedSystemAccount (line 550) | func TestJetStreamClusterSingleLeafNodeWithoutSharedSystemAccount(t *tes... function TestJetStreamClusterDomains (line 744) | func TestJetStreamClusterDomains(t *testing.T) { function TestJetStreamClusterDomainsWithNoJSHub (line 947) | func TestJetStreamClusterDomainsWithNoJSHub(t *testing.T) { function TestJetStreamClusterDomainsAndAPIResponses (line 1025) | func TestJetStreamClusterDomainsAndAPIResponses(t *testing.T) { function TestJetStreamClusterDomainsAndSameNameSources (line 1075) | func TestJetStreamClusterDomainsAndSameNameSources(t *testing.T) { function TestJetStreamClusterSingleLeafNodeEnablingJetStream (line 1211) | func TestJetStreamClusterSingleLeafNodeEnablingJetStream(t *testing.T) { function TestJetStreamClusterLeafNodesWithoutJS (line 1236) | func TestJetStreamClusterLeafNodesWithoutJS(t *testing.T) { function TestJetStreamClusterLeafNodesWithSameDomainNames (line 1292) | func TestJetStreamClusterLeafNodesWithSameDomainNames(t *testing.T) { function TestJetStreamClusterLeafDifferentAccounts (line 1304) | func TestJetStreamClusterLeafDifferentAccounts(t *testing.T) { function TestJetStreamClusterStreamInfoDeletedDetails (line 1324) | func TestJetStreamClusterStreamInfoDeletedDetails(t *testing.T) { function TestJetStreamClusterMirrorAndSourceExpiration (line 1396) | func TestJetStreamClusterMirrorAndSourceExpiration(t *testing.T) { function TestJetStreamClusterMirrorAndSourceSubLeaks (line 1513) | func TestJetStreamClusterMirrorAndSourceSubLeaks(t *testing.T) { function TestJetStreamClusterCreateConcurrentDurableConsumers (line 1572) | func TestJetStreamClusterCreateConcurrentDurableConsumers(t *testing.T) { function TestJetStreamClusterUpdateStreamToExisting (line 1622) | func TestJetStreamClusterUpdateStreamToExisting(t *testing.T) { function TestJetStreamClusterCrossAccountInterop (line 1658) | func TestJetStreamClusterCrossAccountInterop(t *testing.T) { function TestJetStreamClusterMsgIdDuplicateBug (line 1763) | func TestJetStreamClusterMsgIdDuplicateBug(t *testing.T) { function TestJetStreamClusterNilMsgWithHeaderThroughSourcedStream (line 1801) | func TestJetStreamClusterNilMsgWithHeaderThroughSourcedStream(t *testing... function TestJetStreamClusterVarzReporting (line 1864) | func TestJetStreamClusterVarzReporting(t *testing.T) { function TestJetStreamClusterPurgeBySequence (line 1911) | func TestJetStreamClusterPurgeBySequence(t *testing.T) { function TestJetStreamClusterMaxConsumers (line 1978) | func TestJetStreamClusterMaxConsumers(t *testing.T) { function TestJetStreamClusterMaxConsumersMultipleConcurrentRequests (line 2011) | func TestJetStreamClusterMaxConsumersMultipleConcurrentRequests(t *testi... function TestJetStreamClusterAccountMaxStreamsAndConsumersMultipleConcurrentRequests (line 2063) | func TestJetStreamClusterAccountMaxStreamsAndConsumersMultipleConcurrent... function TestJetStreamClusterPanicDecodingConsumerState (line 2154) | func TestJetStreamClusterPanicDecodingConsumerState(t *testing.T) { function TestJetStreamClusterPullConsumerLeakedSubs (line 2239) | func TestJetStreamClusterPullConsumerLeakedSubs(t *testing.T) { function TestJetStreamClusterPushConsumerQueueGroup (line 2300) | func TestJetStreamClusterPushConsumerQueueGroup(t *testing.T) { function TestJetStreamClusterConsumerLastActiveReporting (line 2371) | func TestJetStreamClusterConsumerLastActiveReporting(t *testing.T) { function TestJetStreamClusterRaceOnRAFTCreate (line 2501) | func TestJetStreamClusterRaceOnRAFTCreate(t *testing.T) { function TestJetStreamClusterDeadlockOnVarz (line 2546) | func TestJetStreamClusterDeadlockOnVarz(t *testing.T) { function TestJetStreamClusterStreamCatchupNoState (line 2587) | func TestJetStreamClusterStreamCatchupNoState(t *testing.T) { function TestJetStreamClusterLargeHeaders (line 2682) | func TestJetStreamClusterLargeHeaders(t *testing.T) { function TestJetStreamClusterFlowControlRequiresHeartbeats (line 2712) | func TestJetStreamClusterFlowControlRequiresHeartbeats(t *testing.T) { function TestJetStreamClusterMixedModeColdStartPrune (line 2732) | func TestJetStreamClusterMixedModeColdStartPrune(t *testing.T) { function TestJetStreamClusterMirrorAndSourceCrossNonNeighboringDomain (line 2756) | func TestJetStreamClusterMirrorAndSourceCrossNonNeighboringDomain(t *tes... function TestJetStreamClusterSeal (line 2869) | func TestJetStreamClusterSeal(t *testing.T) { function TestJetStreamClusteredStreamCreateIdempotent (line 2980) | func TestJetStreamClusteredStreamCreateIdempotent(t *testing.T) { function TestJetStreamClusterRollupsRequirePurge (line 2999) | func TestJetStreamClusterRollupsRequirePurge(t *testing.T) { function TestJetStreamClusterRollups (line 3029) | func TestJetStreamClusterRollups(t *testing.T) { function TestJetStreamClusterRollupSubjectAndWatchers (line 3105) | func TestJetStreamClusterRollupSubjectAndWatchers(t *testing.T) { function TestJetStreamClusterAppendOnly (line 3178) | func TestJetStreamClusterAppendOnly(t *testing.T) { function TestJetStreamClusterStreamUpdateSyncBug (line 3224) | func TestJetStreamClusterStreamUpdateSyncBug(t *testing.T) { function TestJetStreamClusterKVMultipleConcurrentCreate (line 3311) | func TestJetStreamClusterKVMultipleConcurrentCreate(t *testing.T) { function TestJetStreamClusterAccountInfoForSystemAccount (line 3372) | func TestJetStreamClusterAccountInfoForSystemAccount(t *testing.T) { function TestJetStreamClusterListFilter (line 3384) | func TestJetStreamClusterListFilter(t *testing.T) { function TestJetStreamClusterConsumerUpdates (line 3437) | func TestJetStreamClusterConsumerUpdates(t *testing.T) { function TestJetStreamClusterConsumerMaxDeliverUpdate (line 3566) | func TestJetStreamClusterConsumerMaxDeliverUpdate(t *testing.T) { function TestJetStreamClusterAccountReservations (line 3621) | func TestJetStreamClusterAccountReservations(t *testing.T) { function TestJetStreamClusterConcurrentAccountLimits (line 3659) | func TestJetStreamClusterConcurrentAccountLimits(t *testing.T) { function TestJetStreamClusterBalancedPlacement (line 3700) | func TestJetStreamClusterBalancedPlacement(t *testing.T) { function TestJetStreamClusterConsumerPendingBug (line 3726) | func TestJetStreamClusterConsumerPendingBug(t *testing.T) { function TestJetStreamClusterPullPerf (line 3785) | func TestJetStreamClusterPullPerf(t *testing.T) { function TestJetStreamClusterPullConsumerLeaderChange (line 3880) | func TestJetStreamClusterPullConsumerLeaderChange(t *testing.T) { function TestJetStreamClusterEphemeralPullConsumerServerShutdown (line 3973) | func TestJetStreamClusterEphemeralPullConsumerServerShutdown(t *testing.... function TestJetStreamClusterNAKBackoffs (line 4019) | func TestJetStreamClusterNAKBackoffs(t *testing.T) { function TestJetStreamClusterRedeliverBackoffs (line 4097) | func TestJetStreamClusterRedeliverBackoffs(t *testing.T) { function TestJetStreamClusterConsumerUpgrade (line 4197) | func TestJetStreamClusterConsumerUpgrade(t *testing.T) { function TestJetStreamClusterAddConsumerWithInfo (line 4220) | func TestJetStreamClusterAddConsumerWithInfo(t *testing.T) { function TestJetStreamClusterStreamReplicaUpdates (line 4266) | func TestJetStreamClusterStreamReplicaUpdates(t *testing.T) { function TestJetStreamClusterStreamAndConsumerScaleUpAndDown (line 4348) | func TestJetStreamClusterStreamAndConsumerScaleUpAndDown(t *testing.T) { function TestJetStreamClusterInterestRetentionWithFilteredConsumersExtra (line 4461) | func TestJetStreamClusterInterestRetentionWithFilteredConsumersExtra(t *... function TestJetStreamClusterStreamConsumersCount (line 4530) | func TestJetStreamClusterStreamConsumersCount(t *testing.T) { function TestJetStreamClusterFilteredAndIdleConsumerNRGGrowth (line 4570) | func TestJetStreamClusterFilteredAndIdleConsumerNRGGrowth(t *testing.T) { function TestJetStreamClusterMirrorOrSourceNotActiveReporting (line 4633) | func TestJetStreamClusterMirrorOrSourceNotActiveReporting(t *testing.T) { function TestJetStreamClusterStreamAdvisories (line 4657) | func TestJetStreamClusterStreamAdvisories(t *testing.T) { function TestJetStreamClusterDuplicateRoutesDisruptJetStreamMetaGroup (line 4811) | func TestJetStreamClusterDuplicateRoutesDisruptJetStreamMetaGroup(t *tes... function TestJetStreamClusterDuplicateMsgIdsOnCatchupAndLeaderTakeover (line 4850) | func TestJetStreamClusterDuplicateMsgIdsOnCatchupAndLeaderTakeover(t *te... function TestJetStreamClusterConsumerLeaderChangeDeadlock (line 4917) | func TestJetStreamClusterConsumerLeaderChangeDeadlock(t *testing.T) { function TestJetStreamClusterMemoryConsumerCompactVsSnapshot (line 5009) | func TestJetStreamClusterMemoryConsumerCompactVsSnapshot(t *testing.T) { function TestJetStreamClusterMemoryConsumerInterestRetention (line 5079) | func TestJetStreamClusterMemoryConsumerInterestRetention(t *testing.T) { function TestJetStreamClusterDeleteAndRestoreAndRestart (line 5156) | func TestJetStreamClusterDeleteAndRestoreAndRestart(t *testing.T) { function TestJetStreamClusterMirrorSourceLoop (line 5240) | func TestJetStreamClusterMirrorSourceLoop(t *testing.T) { function TestJetStreamClusterMirrorDeDupWindow (line 5286) | func TestJetStreamClusterMirrorDeDupWindow(t *testing.T) { function TestJetStreamClusterNewHealthz (line 5367) | func TestJetStreamClusterNewHealthz(t *testing.T) { function TestJetStreamClusterConsumerOverrides (line 5424) | func TestJetStreamClusterConsumerOverrides(t *testing.T) { function TestJetStreamClusterStreamRepublish (line 5574) | func TestJetStreamClusterStreamRepublish(t *testing.T) { function TestJetStreamClusterConsumerDeliverNewNotConsumingBeforeStepDownOrRestart (line 5644) | func TestJetStreamClusterConsumerDeliverNewNotConsumingBeforeStepDownOrR... function TestJetStreamClusterConsumerDeliverNewMaxRedeliveriesAndServerRestart (line 5728) | func TestJetStreamClusterConsumerDeliverNewMaxRedeliveriesAndServerResta... function TestJetStreamClusterNoRestartAdvisories (line 5784) | func TestJetStreamClusterNoRestartAdvisories(t *testing.T) { function TestJetStreamClusterR1StreamPlacementNoReservation (line 5862) | func TestJetStreamClusterR1StreamPlacementNoReservation(t *testing.T) { function TestJetStreamClusterConsumerAndStreamNamesWithPathSeparators (line 5886) | func TestJetStreamClusterConsumerAndStreamNamesWithPathSeparators(t *tes... function TestJetStreamClusterFilteredMirrors (line 5909) | func TestJetStreamClusterFilteredMirrors(t *testing.T) { function TestJetStreamClusterSameClusterLeafNodes (line 5969) | func TestJetStreamClusterSameClusterLeafNodes(t *testing.T) { function TestJetStreamClusterLeafNodeSPOFMigrateLeaders (line 5987) | func TestJetStreamClusterLeafNodeSPOFMigrateLeaders(t *testing.T) { function TestJetStreamClusterLeafNodeSPOFMigrateLeadersWithMigrateDelay (line 6072) | func TestJetStreamClusterLeafNodeSPOFMigrateLeadersWithMigrateDelay(t *t... function TestJetStreamClusterStreamCatchupWithTruncateAndPriorSnapshot (line 6159) | func TestJetStreamClusterStreamCatchupWithTruncateAndPriorSnapshot(t *te... function TestJetStreamClusterNoOrphanedDueToNoConnection (line 6215) | func TestJetStreamClusterNoOrphanedDueToNoConnection(t *testing.T) { function TestJetStreamClusterStreamResetOnExpirationDuringPeerDownAndRestartWithLeaderChange (line 6259) | func TestJetStreamClusterStreamResetOnExpirationDuringPeerDownAndRestart... function TestJetStreamClusterPullConsumerMaxWaiting (line 6361) | func TestJetStreamClusterPullConsumerMaxWaiting(t *testing.T) { function TestJetStreamClusterEncryptedDoubleSnapshotBug (line 6389) | func TestJetStreamClusterEncryptedDoubleSnapshotBug(t *testing.T) { function TestJetStreamClusterRePublishUpdateSupported (line 6435) | func TestJetStreamClusterRePublishUpdateSupported(t *testing.T) { function TestJetStreamClusterDirectGetFromLeafnode (line 6535) | func TestJetStreamClusterDirectGetFromLeafnode(t *testing.T) { function TestJetStreamClusterUnknownReplicaOnClusterRestart (line 6570) | func TestJetStreamClusterUnknownReplicaOnClusterRestart(t *testing.T) { function TestJetStreamClusterSnapshotBeforePurgeAndCatchup (line 6634) | func TestJetStreamClusterSnapshotBeforePurgeAndCatchup(t *testing.T) { function TestJetStreamClusterStreamResetWithLargeFirstSeq (line 6732) | func TestJetStreamClusterStreamResetWithLargeFirstSeq(t *testing.T) { function TestJetStreamClusterStreamCatchupInteriorNilMsgs (line 6807) | func TestJetStreamClusterStreamCatchupInteriorNilMsgs(t *testing.T) { type captureCatchupWarnLogger (line 6856) | type captureCatchupWarnLogger struct method Warnf (line 6861) | func (l *captureCatchupWarnLogger) Warnf(format string, args ...any) { type catchupMockStore (line 6871) | type catchupMockStore struct method LoadMsg (line 6876) | func (s catchupMockStore) LoadMsg(seq uint64, sm *StoreMsg) (*StoreMsg... function TestJetStreamClusterLeaderAbortsCatchupOnFollowerError (line 6881) | func TestJetStreamClusterLeaderAbortsCatchupOnFollowerError(t *testing.T) { function TestJetStreamClusterStreamDirectGetNotTooSoon (line 7058) | func TestJetStreamClusterStreamDirectGetNotTooSoon(t *testing.T) { function TestJetStreamClusterStaleReadsOnRestart (line 7131) | func TestJetStreamClusterStaleReadsOnRestart(t *testing.T) { function TestJetStreamClusterReplicasChangeStreamInfo (line 7217) | func TestJetStreamClusterReplicasChangeStreamInfo(t *testing.T) { function TestJetStreamClusterMaxOutstandingCatchup (line 7310) | func TestJetStreamClusterMaxOutstandingCatchup(t *testing.T) { function TestJetStreamClusterCompressedStreamMessages (line 7400) | func TestJetStreamClusterCompressedStreamMessages(t *testing.T) { function TestJetStreamClusterWorkQueueLosingMessagesOnConsumerDelete (line 7503) | func TestJetStreamClusterWorkQueueLosingMessagesOnConsumerDelete(t *test... function TestJetStreamClusterR1ConsumerAdvisory (line 7550) | func TestJetStreamClusterR1ConsumerAdvisory(t *testing.T) { function TestJetStreamClusterMessageTTLCatchup (line 7588) | func TestJetStreamClusterMessageTTLCatchup(t *testing.T) { function TestJetStreamClusterConsumerRedeliveryAfterUnexpectedReplicatedAck (line 7663) | func TestJetStreamClusterConsumerRedeliveryAfterUnexpectedReplicatedAck(... function TestJetStreamClusterConsumerResetStartingSequenceToAgreedState (line 7747) | func TestJetStreamClusterConsumerResetStartingSequenceToAgreedState(t *t... function TestJetStreamClusterSubjectDeleteMarkers (line 7850) | func TestJetStreamClusterSubjectDeleteMarkers(t *testing.T) { function TestJetStreamClusterSubjectDeleteMarkerClusteredProposal (line 7892) | func TestJetStreamClusterSubjectDeleteMarkerClusteredProposal(t *testing... function TestJetStreamClusterSubjectDeleteMarkersTTLRollupWithMaxAge (line 7930) | func TestJetStreamClusterSubjectDeleteMarkersTTLRollupWithMaxAge(t *test... function TestJetStreamClusterSubjectDeleteMarkersTTLRollupWithoutMaxAge (line 7992) | func TestJetStreamClusterSubjectDeleteMarkersTTLRollupWithoutMaxAge(t *t... function TestJetStreamClusterSubjectDeleteMarkersTimingWithMaxAge (line 8056) | func TestJetStreamClusterSubjectDeleteMarkersTimingWithMaxAge(t *testing... function TestJetStreamClusterDesyncAfterFailedScaleUp (line 8102) | func TestJetStreamClusterDesyncAfterFailedScaleUp(t *testing.T) { function TestJetStreamClusterScaleUpWithQuorum (line 8252) | func TestJetStreamClusterScaleUpWithQuorum(t *testing.T) { function TestJetStreamClusterDesyncAfterDiskResetOne (line 8330) | func TestJetStreamClusterDesyncAfterDiskResetOne(t *testing.T) { function TestJetStreamClusterDesyncAfterDiskResetAllButOne (line 8393) | func TestJetStreamClusterDesyncAfterDiskResetAllButOne(t *testing.T) { FILE: server/jetstream_cluster_3_test.go function TestJetStreamClusterRemovePeerByID (line 41) | func TestJetStreamClusterRemovePeerByID(t *testing.T) { function TestJetStreamClusterDiscardNewAndMaxMsgsPerSubject (line 124) | func TestJetStreamClusterDiscardNewAndMaxMsgsPerSubject(t *testing.T) { function TestJetStreamClusterCreateConsumerWithReplicaOneGetsResponse (line 185) | func TestJetStreamClusterCreateConsumerWithReplicaOneGetsResponse(t *tes... function TestJetStreamClusterMetaRecoveryLogic (line 226) | func TestJetStreamClusterMetaRecoveryLogic(t *testing.T) { function TestJetStreamClusterDeleteConsumerWhileServerDown (line 330) | func TestJetStreamClusterDeleteConsumerWhileServerDown(t *testing.T) { function TestJetStreamClusterNegativeReplicas (line 431) | func TestJetStreamClusterNegativeReplicas(t *testing.T) { function TestJetStreamClusterUserGivenConsName (line 487) | func TestJetStreamClusterUserGivenConsName(t *testing.T) { function TestJetStreamClusterUserGivenConsNameWithLeaderChange (line 546) | func TestJetStreamClusterUserGivenConsNameWithLeaderChange(t *testing.T) { function TestJetStreamClusterMirrorCrossDomainOnLeadnodeNoSystemShare (line 631) | func TestJetStreamClusterMirrorCrossDomainOnLeadnodeNoSystemShare(t *tes... function TestJetStreamClusterFirstSeqMismatch (line 691) | func TestJetStreamClusterFirstSeqMismatch(t *testing.T) { function TestJetStreamClusterConsumerInactiveThreshold (line 769) | func TestJetStreamClusterConsumerInactiveThreshold(t *testing.T) { type testStreamLagWarnLogger (line 903) | type testStreamLagWarnLogger struct method Warnf (line 908) | func (l *testStreamLagWarnLogger) Warnf(format string, v ...any) { function TestJetStreamClusterStreamLagWarning (line 919) | func TestJetStreamClusterStreamLagWarning(t *testing.T) { function TestJetStreamClusterSignalPullConsumersOnDelete (line 963) | func TestJetStreamClusterSignalPullConsumersOnDelete(t *testing.T) { function TestJetStreamClusterSourceWithOptStartTime (line 1010) | func TestJetStreamClusterSourceWithOptStartTime(t *testing.T) { type networkCableUnplugged (line 1121) | type networkCableUnplugged struct method Write (line 1129) | func (c *networkCableUnplugged) Write(b []byte) (int, error) { method Read (line 1149) | func (c *networkCableUnplugged) Read(b []byte) (int, error) { function TestJetStreamClusterScaleDownWhileNoQuorum (line 1159) | func TestJetStreamClusterScaleDownWhileNoQuorum(t *testing.T) { function TestJetStreamClusterHAssetsEnforcement (line 1242) | func TestJetStreamClusterHAssetsEnforcement(t *testing.T) { function TestJetStreamClusterInterestStreamConsumer (line 1275) | func TestJetStreamClusterInterestStreamConsumer(t *testing.T) { function TestJetStreamClusterNoPanicOnStreamInfoWhenNoLeaderYet (line 1342) | func TestJetStreamClusterNoPanicOnStreamInfoWhenNoLeaderYet(t *testing.T) { function TestJetStreamClusterNoTimeoutOnStreamInfoOnPreferredLeader (line 1381) | func TestJetStreamClusterNoTimeoutOnStreamInfoOnPreferredLeader(t *testi... function TestJetStreamClusterPullConsumerAcksExtendInactivityThreshold (line 1416) | func TestJetStreamClusterPullConsumerAcksExtendInactivityThreshold(t *te... function TestJetStreamClusterParallelStreamCreation (line 1469) | func TestJetStreamClusterParallelStreamCreation(t *testing.T) { function TestJetStreamClusterParallelStreamCreationDupeRaftGroups (line 1559) | func TestJetStreamClusterParallelStreamCreationDupeRaftGroups(t *testing... function TestJetStreamClusterParallelConsumerCreation (line 1620) | func TestJetStreamClusterParallelConsumerCreation(t *testing.T) { function TestJetStreamClusterGhostEphemeralsAfterRestart (line 1697) | func TestJetStreamClusterGhostEphemeralsAfterRestart(t *testing.T) { function TestJetStreamClusterReplacementPolicyAfterPeerRemove (line 1769) | func TestJetStreamClusterReplacementPolicyAfterPeerRemove(t *testing.T) { function TestJetStreamClusterReplacementPolicyAfterPeerRemoveNoPlace (line 1904) | func TestJetStreamClusterReplacementPolicyAfterPeerRemoveNoPlace(t *test... function TestJetStreamClusterLeafnodeDuplicateConsumerMessages (line 2025) | func TestJetStreamClusterLeafnodeDuplicateConsumerMessages(t *testing.T) { function snapRGSet (line 2200) | func snapRGSet(pFlag bool, banner string, osi *nats.StreamInfo) *map[str... function TestJetStreamClusterAfterPeerRemoveZeroState (line 2226) | func TestJetStreamClusterAfterPeerRemoveZeroState(t *testing.T) { function TestJetStreamClusterMemLeaderRestart (line 2364) | func TestJetStreamClusterMemLeaderRestart(t *testing.T) { function TestJetStreamClusterLostConsumers (line 2449) | func TestJetStreamClusterLostConsumers(t *testing.T) { function TestJetStreamClusterScaleDownDuringServerOffline (line 2539) | func TestJetStreamClusterScaleDownDuringServerOffline(t *testing.T) { function TestJetStreamClusterDirectGetStreamUpgrade (line 2584) | func TestJetStreamClusterDirectGetStreamUpgrade(t *testing.T) { function TestJetStreamClusterInterestPolicyStreamForConsumersToMatchRFactor (line 2637) | func TestJetStreamClusterInterestPolicyStreamForConsumersToMatchRFactor(... function TestJetStreamClusterKVWatchersWithServerDown (line 2662) | func TestJetStreamClusterKVWatchersWithServerDown(t *testing.T) { function TestJetStreamClusterCurrentVsHealth (line 2702) | func TestJetStreamClusterCurrentVsHealth(t *testing.T) { function TestJetStreamClusterActiveActiveSourcedStreams (line 2750) | func TestJetStreamClusterActiveActiveSourcedStreams(t *testing.T) { function TestJetStreamClusterUpdateConsumerShouldNotForceDeleteOnRestart (line 2791) | func TestJetStreamClusterUpdateConsumerShouldNotForceDeleteOnRestart(t *... function TestJetStreamClusterInterestPolicyEphemeral (line 2845) | func TestJetStreamClusterInterestPolicyEphemeral(t *testing.T) { function TestJetStreamClusterWALBuildupOnNoOpPull (line 2959) | func TestJetStreamClusterWALBuildupOnNoOpPull(t *testing.T) { function TestJetStreamClusterStreamMaxAgeScaleUp (line 3014) | func TestJetStreamClusterStreamMaxAgeScaleUp(t *testing.T) { function TestJetStreamClusterWorkQueueConsumerReplicatedAfterScaleUp (line 3102) | func TestJetStreamClusterWorkQueueConsumerReplicatedAfterScaleUp(t *test... function TestJetStreamClusterWorkQueueAfterScaleUp (line 3149) | func TestJetStreamClusterWorkQueueAfterScaleUp(t *testing.T) { function TestJetStreamClusterInterestBasedStreamAndConsumerSnapshots (line 3205) | func TestJetStreamClusterInterestBasedStreamAndConsumerSnapshots(t *test... function TestJetStreamClusterConsumerFollowerStoreStateAckFloorBug (line 3296) | func TestJetStreamClusterConsumerFollowerStoreStateAckFloorBug(t *testin... function TestJetStreamClusterInterestLeakOnDisableJetStream (line 3434) | func TestJetStreamClusterInterestLeakOnDisableJetStream(t *testing.T) { function TestJetStreamClusterNoLeadersDuringLameDuck (line 3476) | func TestJetStreamClusterNoLeadersDuringLameDuck(t *testing.T) { function TestJetStreamClusterNoR1AssetsDuringLameDuck (line 3579) | func TestJetStreamClusterNoR1AssetsDuringLameDuck(t *testing.T) { function TestJetStreamClusterConsumerAckFloorDrift (line 3666) | func TestJetStreamClusterConsumerAckFloorDrift(t *testing.T) { function TestJetStreamClusterInterestStreamFilteredConsumersWithNoInterest (line 3766) | func TestJetStreamClusterInterestStreamFilteredConsumersWithNoInterest(t... function TestJetStreamClusterChangeClusterAfterStreamCreate (line 3813) | func TestJetStreamClusterChangeClusterAfterStreamCreate(t *testing.T) { function TestJetStreamClusterConsumerInfoForJszForFollowers (line 3876) | func TestJetStreamClusterConsumerInfoForJszForFollowers(t *testing.T) { function TestJetStreamClusterStreamNodeShutdownBugOnStop (line 3924) | func TestJetStreamClusterStreamNodeShutdownBugOnStop(t *testing.T) { function TestJetStreamClusterStreamAccountingOnStoreError (line 3958) | func TestJetStreamClusterStreamAccountingOnStoreError(t *testing.T) { function TestJetStreamClusterStreamAccountingDriftFixups (line 4012) | func TestJetStreamClusterStreamAccountingDriftFixups(t *testing.T) { function TestJetStreamClusterStreamScaleUpNoGroupCluster (line 4074) | func TestJetStreamClusterStreamScaleUpNoGroupCluster(t *testing.T) { function TestJetStreamClusterStaleDirectGetOnRestart (line 4127) | func TestJetStreamClusterStaleDirectGetOnRestart(t *testing.T) { function TestJetStreamClusterLeafnodePlusDaisyChainSetup (line 4206) | func TestJetStreamClusterLeafnodePlusDaisyChainSetup(t *testing.T) { function TestJetStreamClusterPurgeExReplayAfterRestart (line 4399) | func TestJetStreamClusterPurgeExReplayAfterRestart(t *testing.T) { function TestJetStreamClusterConsumerCleanupWithSameName (line 4516) | func TestJetStreamClusterConsumerCleanupWithSameName(t *testing.T) { function TestJetStreamClusterConsumerActions (line 4611) | func TestJetStreamClusterConsumerActions(t *testing.T) { function TestJetStreamClusterSnapshotAndRestoreWithHealthz (line 4699) | func TestJetStreamClusterSnapshotAndRestoreWithHealthz(t *testing.T) { function TestJetStreamClusterBinaryStreamSnapshotCapability (line 4868) | func TestJetStreamClusterBinaryStreamSnapshotCapability(t *testing.T) { function TestJetStreamClusterBadEncryptKey (line 4890) | func TestJetStreamClusterBadEncryptKey(t *testing.T) { function TestJetStreamClusterAccountUsageDrifts (line 4937) | func TestJetStreamClusterAccountUsageDrifts(t *testing.T) { function TestJetStreamClusterStreamFailTracking (line 5171) | func TestJetStreamClusterStreamFailTracking(t *testing.T) { function TestJetStreamClusterStreamFailTrackingSnapshots (line 5273) | func TestJetStreamClusterStreamFailTrackingSnapshots(t *testing.T) { function TestJetStreamClusterOrphanConsumerSubjects (line 5371) | func TestJetStreamClusterOrphanConsumerSubjects(t *testing.T) { function TestJetStreamClusterDurableConsumerInactiveThresholdLeaderSwitch (line 5412) | func TestJetStreamClusterDurableConsumerInactiveThresholdLeaderSwitch(t ... function TestJetStreamClusterConsumerMaxDeliveryNumAckPendingBug (line 5458) | func TestJetStreamClusterConsumerMaxDeliveryNumAckPendingBug(t *testing.... function TestJetStreamClusterConsumerDefaultsFromStream (line 5590) | func TestJetStreamClusterConsumerDefaultsFromStream(t *testing.T) { function TestJetStreamClusterCheckFileStoreBlkSizes (line 5730) | func TestJetStreamClusterCheckFileStoreBlkSizes(t *testing.T) { function TestJetStreamClusterDetectOrphanNRGs (line 5817) | func TestJetStreamClusterDetectOrphanNRGs(t *testing.T) { function TestJetStreamClusterStreamLimitsOnScaleUpAndMove (line 5866) | func TestJetStreamClusterStreamLimitsOnScaleUpAndMove(t *testing.T) { function TestJetStreamClusterAPIAccessViaSystemAccount (line 5936) | func TestJetStreamClusterAPIAccessViaSystemAccount(t *testing.T) { function TestJetStreamClusterStreamResetPreacks (line 5964) | func TestJetStreamClusterStreamResetPreacks(t *testing.T) { function TestJetStreamClusterDomainAdvisory (line 6037) | func TestJetStreamClusterDomainAdvisory(t *testing.T) { function TestJetStreamClusterLimitsBasedStreamFileStoreDesync (line 6073) | func TestJetStreamClusterLimitsBasedStreamFileStoreDesync(t *testing.T) { function TestJetStreamClusterAccountFileStoreLimits (line 6394) | func TestJetStreamClusterAccountFileStoreLimits(t *testing.T) { function TestJetStreamClusterTieredReservationConsistency (line 6462) | func TestJetStreamClusterTieredReservationConsistency(t *testing.T) { function TestJetStreamClusterCorruptMetaSnapshot (line 6520) | func TestJetStreamClusterCorruptMetaSnapshot(t *testing.T) { function TestJetStreamClusterProcessSnapshotPanicAfterStreamDelete (line 6575) | func TestJetStreamClusterProcessSnapshotPanicAfterStreamDelete(t *testin... function TestJetStreamClusterDiscardNewPerSubjectRejectsWithoutCLFSBump (line 6603) | func TestJetStreamClusterDiscardNewPerSubjectRejectsWithoutCLFSBump(t *t... function TestJetStreamClusterStreamDesyncDuringSnapshot (line 6646) | func TestJetStreamClusterStreamDesyncDuringSnapshot(t *testing.T) { function TestJetStreamClusterDeletedNodeDoesNotReviveStreamAfterCatchup (line 6712) | func TestJetStreamClusterDeletedNodeDoesNotReviveStreamAfterCatchup(t *t... function TestJetStreamClusterLeakedSubsWithStreamImportOverlappingJetStreamSubs (line 6785) | func TestJetStreamClusterLeakedSubsWithStreamImportOverlappingJetStreamS... function TestJetStreamClusterInterestStreamWithConsumerFilterUpdate (line 6892) | func TestJetStreamClusterInterestStreamWithConsumerFilterUpdate(t *testi... function TestJetStreamClusterStreamRecreateChangesRaftGroup (line 6996) | func TestJetStreamClusterStreamRecreateChangesRaftGroup(t *testing.T) { function TestJetStreamClusterStreamScaleDownChangesRaftGroup (line 7042) | func TestJetStreamClusterStreamScaleDownChangesRaftGroup(t *testing.T) { function TestJetStreamClusterStreamRescaleCatchup (line 7169) | func TestJetStreamClusterStreamRescaleCatchup(t *testing.T) { function TestJetStreamClusterConsumerRecreateChangesRaftGroup (line 7240) | func TestJetStreamClusterConsumerRecreateChangesRaftGroup(t *testing.T) { function TestJetStreamClusterConsumerScaleDownChangesRaftGroup (line 7296) | func TestJetStreamClusterConsumerScaleDownChangesRaftGroup(t *testing.T) { function TestJetStreamClusterConsumerRescaleCatchup (line 7391) | func TestJetStreamClusterConsumerRescaleCatchup(t *testing.T) { function TestJetStreamClusterConcurrentStreamUpdate (line 7489) | func TestJetStreamClusterConcurrentStreamUpdate(t *testing.T) { function TestJetStreamClusterConcurrentConsumerCreateWithMaxConsumers (line 7566) | func TestJetStreamClusterConcurrentConsumerCreateWithMaxConsumers(t *tes... function TestJetStreamClusterLostConsumerAfterInflightConsumerUpdate (line 7643) | func TestJetStreamClusterLostConsumerAfterInflightConsumerUpdate(t *test... function TestJetStreamClusterStreamRaftGroupChangesWhenMovingToOrOffR1 (line 7708) | func TestJetStreamClusterStreamRaftGroupChangesWhenMovingToOrOffR1(t *te... function TestJetStreamClusterConsumerRaftGroupChangesWhenMovingToOrOffR1 (line 7763) | func TestJetStreamClusterConsumerRaftGroupChangesWhenMovingToOrOffR1(t *... function TestJetStreamClusterStreamUpdateMaxConsumersLimit (line 7824) | func TestJetStreamClusterStreamUpdateMaxConsumersLimit(t *testing.T) { function TestJetStreamClusterScaleDownWaitsForMonitorRoutineQuit (line 7955) | func TestJetStreamClusterScaleDownWaitsForMonitorRoutineQuit(t *testing.... function TestJetStreamClusterConsumerRemapWaitsForMonitorRoutineQuit (line 8063) | func TestJetStreamClusterConsumerRemapWaitsForMonitorRoutineQuit(t *test... function TestJetStreamClusterAccountStoreLimits (line 8138) | func TestJetStreamClusterAccountStoreLimits(t *testing.T) { function TestJetStreamClusterDontEncodeConsumerStateInMetaSnapshot (line 8246) | func TestJetStreamClusterDontEncodeConsumerStateInMetaSnapshot(t *testin... function TestJetStreamClusteredStreamCreateIdempotentWithSources (line 8312) | func TestJetStreamClusteredStreamCreateIdempotentWithSources(t *testing.... function TestJetStreamClusterMetaSnapshotPreservesConsumersOnStreamUpdate (line 8361) | func TestJetStreamClusterMetaSnapshotPreservesConsumersOnStreamUpdate(t ... function TestJetStreamClusterCheckForOrphansDoesntDeleteDirectConsumers (line 8426) | func TestJetStreamClusterCheckForOrphansDoesntDeleteDirectConsumers(t *t... function TestJetStreamClusterConsumerAssignmentsOrInflightSeqWithInflightStream (line 8454) | func TestJetStreamClusterConsumerAssignmentsOrInflightSeqWithInflightStr... FILE: server/jetstream_cluster_4_test.go function TestJetStreamClusterWorkQueueStreamDiscardNewDesync (line 45) | func TestJetStreamClusterWorkQueueStreamDiscardNewDesync(t *testing.T) { function testJetStreamClusterWorkQueueStreamDiscardNewDesync (line 70) | func testJetStreamClusterWorkQueueStreamDiscardNewDesync(t *testing.T, s... function TestJetStreamClusterStreamPlacementDistribution (line 214) | func TestJetStreamClusterStreamPlacementDistribution(t *testing.T) { function TestJetStreamClusterSourceWorkingQueueWithLimit (line 240) | func TestJetStreamClusterSourceWorkingQueueWithLimit(t *testing.T) { function TestJetStreamClusterConsumerPauseViaConfig (line 363) | func TestJetStreamClusterConsumerPauseViaConfig(t *testing.T) { function TestJetStreamClusterConsumerPauseViaEndpoint (line 433) | func TestJetStreamClusterConsumerPauseViaEndpoint(t *testing.T) { function TestJetStreamClusterConsumerPauseTimerFollowsLeader (line 570) | func TestJetStreamClusterConsumerPauseTimerFollowsLeader(t *testing.T) { function TestJetStreamClusterConsumerPauseResumeViaEndpoint (line 616) | func TestJetStreamClusterConsumerPauseResumeViaEndpoint(t *testing.T) { function TestJetStreamClusterConsumerPauseHeartbeats (line 672) | func TestJetStreamClusterConsumerPauseHeartbeats(t *testing.T) { function TestJetStreamClusterConsumerPauseAdvisories (line 708) | func TestJetStreamClusterConsumerPauseAdvisories(t *testing.T) { function TestJetStreamClusterConsumerPauseSurvivesRestart (line 787) | func TestJetStreamClusterConsumerPauseSurvivesRestart(t *testing.T) { function TestJetStreamClusterConsumerNRGCleanup (line 841) | func TestJetStreamClusterConsumerNRGCleanup(t *testing.T) { function TestClusteredInterestConsumerFilterEdit (line 901) | func TestClusteredInterestConsumerFilterEdit(t *testing.T) { function TestJetStreamClusterDoubleAckRedelivery (line 954) | func TestJetStreamClusterDoubleAckRedelivery(t *testing.T) { function TestJetStreamClusterBusyStreams (line 1144) | func TestJetStreamClusterBusyStreams(t *testing.T) { function TestJetStreamClusterSingleMaxConsumerUpdate (line 1712) | func TestJetStreamClusterSingleMaxConsumerUpdate(t *testing.T) { function TestJetStreamClusterStreamLastSequenceResetAfterStorageWipe (line 1740) | func TestJetStreamClusterStreamLastSequenceResetAfterStorageWipe(t *test... function TestJetStreamClusterAckFloorBetweenLeaderAndFollowers (line 1805) | func TestJetStreamClusterAckFloorBetweenLeaderAndFollowers(t *testing.T) { function TestJetStreamClusterConsumerLeak (line 1870) | func TestJetStreamClusterConsumerLeak(t *testing.T) { function TestJetStreamClusterAccountNRG (line 1986) | func TestJetStreamClusterAccountNRG(t *testing.T) { function TestJetStreamClusterAccountNRGConfigNoPanic (line 2130) | func TestJetStreamClusterAccountNRGConfigNoPanic(t *testing.T) { function TestJetStreamClusterWQRoundRobinSubjectRetention (line 2163) | func TestJetStreamClusterWQRoundRobinSubjectRetention(t *testing.T) { function TestJetStreamClusterMetaSyncOrphanCleanup (line 2210) | func TestJetStreamClusterMetaSyncOrphanCleanup(t *testing.T) { function TestJetStreamClusterKeyValueDesyncAfterHardKill (line 2265) | func TestJetStreamClusterKeyValueDesyncAfterHardKill(t *testing.T) { function TestJetStreamClusterKeyValueLastSeqMismatch (line 2313) | func TestJetStreamClusterKeyValueLastSeqMismatch(t *testing.T) { function TestJetStreamClusterPubAckSequenceDupe (line 2344) | func TestJetStreamClusterPubAckSequenceDupe(t *testing.T) { function TestJetStreamClusterPubAckSequenceDupeAsync (line 2398) | func TestJetStreamClusterPubAckSequenceDupeAsync(t *testing.T) { function TestJetStreamClusterPubAckSequenceDupeResetAfterLeaderChange (line 2452) | func TestJetStreamClusterPubAckSequenceDupeResetAfterLeaderChange(t *tes... function TestJetStreamClusterConsumeWithStartSequence (line 2514) | func TestJetStreamClusterConsumeWithStartSequence(t *testing.T) { function TestJetStreamClusterAckDeleted (line 2841) | func TestJetStreamClusterAckDeleted(t *testing.T) { function TestJetStreamClusterAPILimitDefault (line 2973) | func TestJetStreamClusterAPILimitDefault(t *testing.T) { function TestJetStreamClusterAPILimitAdvisory (line 2990) | func TestJetStreamClusterAPILimitAdvisory(t *testing.T) { function TestJetStreamClusterPendingRequestsInJsz (line 3057) | func TestJetStreamClusterPendingRequestsInJsz(t *testing.T) { function TestJetStreamClusterConsumerReplicasAfterScale (line 3126) | func TestJetStreamClusterConsumerReplicasAfterScale(t *testing.T) { function TestJetStreamClusterConsumerReplicasAfterScaleMoveConsumer (line 3259) | func TestJetStreamClusterConsumerReplicasAfterScaleMoveConsumer(t *testi... function TestJetStreamClusterDesyncAfterQuitDuringCatchup (line 3328) | func TestJetStreamClusterDesyncAfterQuitDuringCatchup(t *testing.T) { function TestJetStreamClusterDesyncAfterErrorDuringCatchup (line 3418) | func TestJetStreamClusterDesyncAfterErrorDuringCatchup(t *testing.T) { function TestJetStreamClusterConsumerDesyncAfterErrorDuringStreamCatchup (line 3531) | func TestJetStreamClusterConsumerDesyncAfterErrorDuringStreamCatchup(t *... function TestJetStreamClusterDesyncAfterEofFromOldStreamLeader (line 3624) | func TestJetStreamClusterDesyncAfterEofFromOldStreamLeader(t *testing.T) { function TestJetStreamClusterReservedResourcesAccountingAfterClusterReset (line 3734) | func TestJetStreamClusterReservedResourcesAccountingAfterClusterReset(t ... function TestJetStreamClusterHardKillAfterStreamAdd (line 3792) | func TestJetStreamClusterHardKillAfterStreamAdd(t *testing.T) { function TestJetStreamClusterDesyncAfterPublishToLeaderWithoutQuorum (line 3841) | func TestJetStreamClusterDesyncAfterPublishToLeaderWithoutQuorum(t *test... function TestJetStreamClusterPreserveWALDuringCatchupWithMatchingTerm (line 3923) | func TestJetStreamClusterPreserveWALDuringCatchupWithMatchingTerm(t *tes... function TestJetStreamClusterDesyncAfterRestartReplacesLeaderSnapshot (line 4019) | func TestJetStreamClusterDesyncAfterRestartReplacesLeaderSnapshot(t *tes... function TestJetStreamClusterKeepRaftStateIfStreamCreationFailedDuringShutdown (line 4094) | func TestJetStreamClusterKeepRaftStateIfStreamCreationFailedDuringShutdo... function TestJetStreamClusterMetaSnapshotReCreateConsistency (line 4142) | func TestJetStreamClusterMetaSnapshotReCreateConsistency(t *testing.T) { function TestJetStreamClusterMetaSnapshotConsumerDeleteConsistency (line 4226) | func TestJetStreamClusterMetaSnapshotConsumerDeleteConsistency(t *testin... function TestJetStreamClusterMetaSnapshotDecodeError (line 4304) | func TestJetStreamClusterMetaSnapshotDecodeError(t *testing.T) { function TestJetStreamClusterConsumerDontSendSnapshotOnLeaderChange (line 4318) | func TestJetStreamClusterConsumerDontSendSnapshotOnLeaderChange(t *testi... function TestJetStreamClusterDontInstallSnapshotWhenStoppingStream (line 4445) | func TestJetStreamClusterDontInstallSnapshotWhenStoppingStream(t *testin... function TestJetStreamClusterDontInstallSnapshotWhenStoppingConsumer (line 4528) | func TestJetStreamClusterDontInstallSnapshotWhenStoppingConsumer(t *test... function TestJetStreamClusterStreamConsumerStateResetAfterRecreate (line 4634) | func TestJetStreamClusterStreamConsumerStateResetAfterRecreate(t *testin... function TestJetStreamClusterStreamAckMsgR1SignalsRemovedMsg (line 4795) | func TestJetStreamClusterStreamAckMsgR1SignalsRemovedMsg(t *testing.T) { function TestJetStreamClusterStreamAckMsgR3SignalsRemovedMsg (line 4852) | func TestJetStreamClusterStreamAckMsgR3SignalsRemovedMsg(t *testing.T) { function TestJetStreamClusterExpectedPerSubjectConsistency (line 4963) | func TestJetStreamClusterExpectedPerSubjectConsistency(t *testing.T) { function TestJetStreamClusterMsgCounterRunningTotalConsistency (line 5018) | func TestJetStreamClusterMsgCounterRunningTotalConsistency(t *testing.T) { function TestJetStreamClusterConsistencyAfterLeaderChange (line 5098) | func TestJetStreamClusterConsistencyAfterLeaderChange(t *testing.T) { function TestJetStreamClusterMetaStepdownPreferred (line 5249) | func TestJetStreamClusterMetaStepdownPreferred(t *testing.T) { function TestJetStreamClusterOnlyPublishAdvisoriesWhenInterest (line 5325) | func TestJetStreamClusterOnlyPublishAdvisoriesWhenInterest(t *testing.T) { function TestJetStreamClusterRoutedAPIRecoverPerformance (line 5356) | func TestJetStreamClusterRoutedAPIRecoverPerformance(t *testing.T) { function TestJetStreamClusterMessageTTLWhenSourcing (line 5422) | func TestJetStreamClusterMessageTTLWhenSourcing(t *testing.T) { function TestJetStreamClusterMessageTTLWhenMirroring (line 5489) | func TestJetStreamClusterMessageTTLWhenMirroring(t *testing.T) { function TestJetStreamClusterMessageTTLDisabled (line 5556) | func TestJetStreamClusterMessageTTLDisabled(t *testing.T) { function TestJetStreamClusterCreateStreamPerf (line 5588) | func TestJetStreamClusterCreateStreamPerf(t *testing.T) { function TestJetStreamClusterTTLAndDedupe (line 5611) | func TestJetStreamClusterTTLAndDedupe(t *testing.T) { function TestJetStreamClusterInvalidTTLAndDedupe (line 5644) | func TestJetStreamClusterInvalidTTLAndDedupe(t *testing.T) { function TestJetStreamClusterServerPeerRemovePeersDrift (line 5679) | func TestJetStreamClusterServerPeerRemovePeersDrift(t *testing.T) { function TestJetStreamStreamTagPlacement (line 5812) | func TestJetStreamStreamTagPlacement(t *testing.T) { function TestJetStreamClusterObserverNotElectedMetaLeader (line 5898) | func TestJetStreamClusterObserverNotElectedMetaLeader(t *testing.T) { function TestJetStreamClusterParallelCreateRaftGroup (line 5963) | func TestJetStreamClusterParallelCreateRaftGroup(t *testing.T) { function TestJetStreamClusterSubjectDeleteMarkersMinimumTTL (line 6032) | func TestJetStreamClusterSubjectDeleteMarkersMinimumTTL(t *testing.T) { function TestJetStreamClusterSubjectDeleteMarkersMinimumTTLExceptionMaxMsgsPer (line 6101) | func TestJetStreamClusterSubjectDeleteMarkersMinimumTTLExceptionMaxMsgsP... function TestJetStreamClusterSubjectDeleteMarkersNoMsgTTLSet (line 6166) | func TestJetStreamClusterSubjectDeleteMarkersNoMsgTTLSet(t *testing.T) { function TestJetStreamClusterSDMMaxAgeOnRecover (line 6202) | func TestJetStreamClusterSDMMaxAgeOnRecover(t *testing.T) { function TestJetStreamClusterSDMMaxAgeRemoveMsgProposal (line 6245) | func TestJetStreamClusterSDMMaxAgeRemoveMsgProposal(t *testing.T) { function TestJetStreamClusterSDMMaxAgeRemoveMsgProposalLimitRetries (line 6312) | func TestJetStreamClusterSDMMaxAgeRemoveMsgProposalLimitRetries(t *testi... function TestJetStreamClusterSDMTTLRemoveMsgProposal (line 6383) | func TestJetStreamClusterSDMTTLRemoveMsgProposal(t *testing.T) { function TestJetStreamClusterSDMInflightTTL (line 6451) | func TestJetStreamClusterSDMInflightTTL(t *testing.T) { function TestJetStreamClusterSDMTTLAndMaxMsgsPer (line 6523) | func TestJetStreamClusterSDMTTLAndMaxMsgsPer(t *testing.T) { function TestJetStreamClusterSDMMsgTTLReverseExpiry (line 6636) | func TestJetStreamClusterSDMMsgTTLReverseExpiry(t *testing.T) { function TestJetStreamClusterSDMResetLast (line 6706) | func TestJetStreamClusterSDMResetLast(t *testing.T) { function TestJetStreamClusterSDMMaxAgeProposeExpiryShortRetry (line 6810) | func TestJetStreamClusterSDMMaxAgeProposeExpiryShortRetry(t *testing.T) { function TestJetStreamClusterInvalidR1Config (line 6874) | func TestJetStreamClusterInvalidR1Config(t *testing.T) { function TestJetStreamClusterMultiLeaderR3Config (line 6943) | func TestJetStreamClusterMultiLeaderR3Config(t *testing.T) { function TestJetStreamClusterAccountMaxConnectionsReconnect (line 7065) | func TestJetStreamClusterAccountMaxConnectionsReconnect(t *testing.T) { function TestJetStreamClusterMetaCompactThreshold (line 7235) | func TestJetStreamClusterMetaCompactThreshold(t *testing.T) { function TestJetStreamClusterMetaCompactSizeThreshold (line 7291) | func TestJetStreamClusterMetaCompactSizeThreshold(t *testing.T) { function TestJetStreamClusterConsumerSetStoreStateOldUpdate (line 7357) | func TestJetStreamClusterConsumerSetStoreStateOldUpdate(t *testing.T) { function TestJetStreamClusterConsumerSetStoreStateOldUpdateRestart (line 7493) | func TestJetStreamClusterConsumerSetStoreStateOldUpdateRestart(t *testin... function TestJetStreamClusterSourcingIntoDiscardNewPerSubject (line 7643) | func TestJetStreamClusterSourcingIntoDiscardNewPerSubject(t *testing.T) { FILE: server/jetstream_cluster_long_test.go function TestLongKVPutWithServerRestarts (line 37) | func TestLongKVPutWithServerRestarts(t *testing.T) { function TestLongNRGChainOfBlocks (line 193) | func TestLongNRGChainOfBlocks(t *testing.T) { function TestLongClusterWorkQueueMessagesNotSkipped (line 506) | func TestLongClusterWorkQueueMessagesNotSkipped(t *testing.T) { function TestLongClusterJetStreamKeyValueSync (line 615) | func TestLongClusterJetStreamKeyValueSync(t *testing.T) { function TestLongClusterCLFSOnDuplicates (line 897) | func TestLongClusterCLFSOnDuplicates(t *testing.T) { function TestLongClusterJetStreamRestartThenScaleStreamReplicas (line 1021) | func TestLongClusterJetStreamRestartThenScaleStreamReplicas(t *testing.T) { function TestLongFileStoreEnforceMsgPerSubjectLimit (line 1147) | func TestLongFileStoreEnforceMsgPerSubjectLimit(t *testing.T) { FILE: server/jetstream_consumer_test.go function TestJetStreamConsumerMultipleFiltersRemoveFilters (line 46) | func TestJetStreamConsumerMultipleFiltersRemoveFilters(t *testing.T) { function TestJetStreamConsumerMultipleFiltersRace (line 94) | func TestJetStreamConsumerMultipleFiltersRace(t *testing.T) { function TestJetStreamConsumerMultipleConsumersSingleFilter (line 189) | func TestJetStreamConsumerMultipleConsumersSingleFilter(t *testing.T) { function TestJetStreamConsumerMultipleConsumersMultipleFilters (line 301) | func TestJetStreamConsumerMultipleConsumersMultipleFilters(t *testing.T) { function TestJetStreamConsumerMultipleFiltersSequence (line 427) | func TestJetStreamConsumerMultipleFiltersSequence(t *testing.T) { function TestJetStreamConsumerActions (line 473) | func TestJetStreamConsumerActions(t *testing.T) { function TestJetStreamConsumerActionsOnWorkQueuePolicyStream (line 558) | func TestJetStreamConsumerActionsOnWorkQueuePolicyStream(t *testing.T) { function TestJetStreamConsumerActionsViaAPI (line 633) | func TestJetStreamConsumerActionsViaAPI(t *testing.T) { function TestJetStreamConsumerActionsUnmarshal (line 740) | func TestJetStreamConsumerActionsUnmarshal(t *testing.T) { function TestJetStreamConsumerMultipleFiltersLastPerSubject (line 769) | func TestJetStreamConsumerMultipleFiltersLastPerSubject(t *testing.T) { function consumerWithFilterSubjects (line 816) | func consumerWithFilterSubjects(filterSubjects []string) *consumer { function filterSubjects (line 830) | func filterSubjects(n int) []string { function TestJetStreamConsumerIsFilteredMatch (line 857) | func TestJetStreamConsumerIsFilteredMatch(t *testing.T) { function TestJetStreamConsumerWorkQueuePolicyOverlap (line 892) | func TestJetStreamConsumerWorkQueuePolicyOverlap(t *testing.T) { function TestJetStreamConsumerIsEqualOrSubsetMatch (line 922) | func TestJetStreamConsumerIsEqualOrSubsetMatch(t *testing.T) { function TestJetStreamConsumerBackOff (line 952) | func TestJetStreamConsumerBackOff(t *testing.T) { function TestJetStreamConsumerDelete (line 1035) | func TestJetStreamConsumerDelete(t *testing.T) { function TestJetStreamConsumerFetchWithDrain (line 1107) | func TestJetStreamConsumerFetchWithDrain(t *testing.T) { function TestJetStreamConsumerLongSubjectHang (line 1210) | func TestJetStreamConsumerLongSubjectHang(t *testing.T) { function TestJetStreamConsumerPedanticMode (line 1254) | func TestJetStreamConsumerPedanticMode(t *testing.T) { function TestJetStreamConsumerStuckAckPending (line 1433) | func TestJetStreamConsumerStuckAckPending(t *testing.T) { function TestJetStreamConsumerPinned (line 1546) | func TestJetStreamConsumerPinned(t *testing.T) { function TestJetStreamConsumerPinnedUnsetsAfterAtMostPinnedTTL (line 1712) | func TestJetStreamConsumerPinnedUnsetsAfterAtMostPinnedTTL(t *testing.T) { function TestJetStreamConsumerPinnedUnsubscribeOnPinned (line 1803) | func TestJetStreamConsumerPinnedUnsubscribeOnPinned(t *testing.T) { function TestJetStreamConsumerUnpinNoMessages (line 1887) | func TestJetStreamConsumerUnpinNoMessages(t *testing.T) { function TestJetStreamConsumerUnpinPickDifferentRequest (line 1974) | func TestJetStreamConsumerUnpinPickDifferentRequest(t *testing.T) { function TestJetStreamConsumerPinnedTTL (line 2068) | func TestJetStreamConsumerPinnedTTL(t *testing.T) { function TestJetStreamConsumerUnpin (line 2147) | func TestJetStreamConsumerUnpin(t *testing.T) { function TestJetStreamConsumerWithPriorityGroups (line 2247) | func TestJetStreamConsumerWithPriorityGroups(t *testing.T) { function TestJetStreamConsumerPriorityPullRequests (line 2335) | func TestJetStreamConsumerPriorityPullRequests(t *testing.T) { function TestJetStreamConsumerOverflow (line 2435) | func TestJetStreamConsumerOverflow(t *testing.T) { function TestJetStreamConsumerMultipleFitersWithStartDate (line 2534) | func TestJetStreamConsumerMultipleFitersWithStartDate(t *testing.T) { function TestPriorityGroupNameRegex (line 2585) | func TestPriorityGroupNameRegex(t *testing.T) { function sendRequest (line 2605) | func sendRequest(t *testing.T, nc *nats.Conn, reply string, req JSApiCon... function Benchmark____JetStreamConsumerIsFilteredMatch (line 2613) | func Benchmark____JetStreamConsumerIsFilteredMatch(b *testing.B) { function TestJetStreamConsumerBackoffNotRespectedWithMultipleInflightRedeliveries (line 2625) | func TestJetStreamConsumerBackoffNotRespectedWithMultipleInflightRedeliv... function TestJetStreamConsumerBackoffWhenBackoffLengthIsEqualToMaxDeliverConfig (line 2694) | func TestJetStreamConsumerBackoffWhenBackoffLengthIsEqualToMaxDeliverCon... function TestJetStreamConsumerRetryAckAfterTimeout (line 2735) | func TestJetStreamConsumerRetryAckAfterTimeout(t *testing.T) { function TestJetStreamConsumerSwitchLeaderDuringInflightAck (line 2779) | func TestJetStreamConsumerSwitchLeaderDuringInflightAck(t *testing.T) { function TestJetStreamConsumerMessageDeletedDuringRedelivery (line 2828) | func TestJetStreamConsumerMessageDeletedDuringRedelivery(t *testing.T) { function TestJetStreamConsumerDeliveryCount (line 2916) | func TestJetStreamConsumerDeliveryCount(t *testing.T) { function TestJetStreamConsumerCreate (line 2968) | func TestJetStreamConsumerCreate(t *testing.T) { function TestJetStreamConsumerAndStreamDescriptions (line 3074) | func TestJetStreamConsumerAndStreamDescriptions(t *testing.T) { function TestJetStreamConsumerWithNameAndDurable (line 3121) | func TestJetStreamConsumerWithNameAndDurable(t *testing.T) { function TestJetStreamConsumerWithStartTime (line 3161) | func TestJetStreamConsumerWithStartTime(t *testing.T) { function TestJetStreamConsumerWithMultipleStartOptions (line 3224) | func TestJetStreamConsumerWithMultipleStartOptions(t *testing.T) { function TestJetStreamConsumerMaxDeliveries (line 3266) | func TestJetStreamConsumerMaxDeliveries(t *testing.T) { function TestJetStreamConsumerSingleTokenSubject (line 3324) | func TestJetStreamConsumerSingleTokenSubject(t *testing.T) { function TestJetStreamConsumerPullDelayedFirstPullWithReplayOriginal (line 3362) | func TestJetStreamConsumerPullDelayedFirstPullWithReplayOriginal(t *test... function TestJetStreamConsumerAckFloorFill (line 3405) | func TestJetStreamConsumerAckFloorFill(t *testing.T) { function TestJetStreamConsumerAckAck (line 3475) | func TestJetStreamConsumerAckAck(t *testing.T) { function TestJetStreamConsumerRateLimit (line 3518) | func TestJetStreamConsumerRateLimit(t *testing.T) { function TestJetStreamConsumerEphemeralRecoveryAfterServerRestart (line 3594) | func TestJetStreamConsumerEphemeralRecoveryAfterServerRestart(t *testing... function TestJetStreamConsumerMaxDeliveryAndServerRestart (line 3693) | func TestJetStreamConsumerMaxDeliveryAndServerRestart(t *testing.T) { function TestJetStreamConsumerDeleteAndServerRestart (line 3832) | func TestJetStreamConsumerDeleteAndServerRestart(t *testing.T) { function TestJetStreamConsumerDurableReconnectWithOnlyPending (line 3879) | func TestJetStreamConsumerDurableReconnectWithOnlyPending(t *testing.T) { function TestJetStreamConsumerDurableFilteredSubjectReconnect (line 3976) | func TestJetStreamConsumerDurableFilteredSubjectReconnect(t *testing.T) { function TestJetStreamConsumerInactiveNoDeadlock (line 4119) | func TestJetStreamConsumerInactiveNoDeadlock(t *testing.T) { function TestJetStreamConsumerReconnect (line 4174) | func TestJetStreamConsumerReconnect(t *testing.T) { function TestJetStreamConsumerDurableReconnect (line 4281) | func TestJetStreamConsumerDurableReconnect(t *testing.T) { function TestJetStreamConsumerReplayRate (line 4389) | func TestJetStreamConsumerReplayRate(t *testing.T) { function TestJetStreamConsumerReplayRateNoAck (line 4506) | func TestJetStreamConsumerReplayRateNoAck(t *testing.T) { function TestJetStreamConsumerReplayQuit (line 4564) | func TestJetStreamConsumerReplayQuit(t *testing.T) { function TestJetStreamConsumerPerf (line 4620) | func TestJetStreamConsumerPerf(t *testing.T) { function TestJetStreamConsumerAckFileStorePerf (line 4678) | func TestJetStreamConsumerAckFileStorePerf(t *testing.T) { function TestJetStreamConsumerFilterSubject (line 4749) | func TestJetStreamConsumerFilterSubject(t *testing.T) { function TestJetStreamConsumerUpdateRedelivery (line 4792) | func TestJetStreamConsumerUpdateRedelivery(t *testing.T) { function TestJetStreamConsumerMaxAckPending (line 4962) | func TestJetStreamConsumerMaxAckPending(t *testing.T) { function TestJetStreamConsumerPullMaxAckPending (line 5084) | func TestJetStreamConsumerPullMaxAckPending(t *testing.T) { function TestJetStreamConsumerPullMaxAckPendingRedeliveries (line 5176) | func TestJetStreamConsumerPullMaxAckPendingRedeliveries(t *testing.T) { function TestJetStreamConsumerBadNumPending (line 5264) | func TestJetStreamConsumerBadNumPending(t *testing.T) { function TestJetStreamConsumerCleanupWithRetentionPolicy (line 5340) | func TestJetStreamConsumerCleanupWithRetentionPolicy(t *testing.T) { function TestJetStreamConsumerPendingBugWithKV (line 5400) | func TestJetStreamConsumerPendingBugWithKV(t *testing.T) { function TestJetStreamConsumerBadCreateErr (line 5463) | func TestJetStreamConsumerBadCreateErr(t *testing.T) { function TestJetStreamConsumerPushBound (line 5493) | func TestJetStreamConsumerPushBound(t *testing.T) { function TestJetStreamConsumerInternalClientLeak (line 5596) | func TestJetStreamConsumerInternalClientLeak(t *testing.T) { function TestJetStreamConsumerEventingRaceOnShutdown (line 5653) | func TestJetStreamConsumerEventingRaceOnShutdown(t *testing.T) { function TestJetStreamConsumerNoMsgPayload (line 5687) | func TestJetStreamConsumerNoMsgPayload(t *testing.T) { function TestJetStreamConsumerUpdateSurvival (line 5728) | func TestJetStreamConsumerUpdateSurvival(t *testing.T) { function TestJetStreamConsumerPendingCountWithRedeliveries (line 5776) | func TestJetStreamConsumerPendingCountWithRedeliveries(t *testing.T) { function TestJetStreamConsumerPullHeartBeats (line 5839) | func TestJetStreamConsumerPullHeartBeats(t *testing.T) { function TestJetStreamConsumerAckSampling (line 5959) | func TestJetStreamConsumerAckSampling(t *testing.T) { function TestJetStreamConsumerAckSamplingSpecifiedUsingUpdateConsumer (line 6041) | func TestJetStreamConsumerAckSamplingSpecifiedUsingUpdateConsumer(t *tes... function TestJetStreamConsumerMaxDeliverUpdate (line 6092) | func TestJetStreamConsumerMaxDeliverUpdate(t *testing.T) { function TestJetStreamConsumerStreamUpdate (line 6147) | func TestJetStreamConsumerStreamUpdate(t *testing.T) { function TestJetStreamConsumerDeliverNewNotConsumingBeforeRestart (line 6214) | func TestJetStreamConsumerDeliverNewNotConsumingBeforeRestart(t *testing... function TestJetStreamConsumerNumPendingWithMaxPerSubjectGreaterThanOne (line 6283) | func TestJetStreamConsumerNumPendingWithMaxPerSubjectGreaterThanOne(t *t... function TestJetStreamConsumerAndStreamNamesWithPathSeparators (line 6334) | func TestJetStreamConsumerAndStreamNamesWithPathSeparators(t *testing.T) { function TestJetStreamConsumerUpdateFilterSubject (line 6357) | func TestJetStreamConsumerUpdateFilterSubject(t *testing.T) { function TestJetStreamConsumerPullConsumerFIFO (line 6423) | func TestJetStreamConsumerPullConsumerFIFO(t *testing.T) { function TestJetStreamConsumerPullConsumerOneShotOnMaxAckLimit (line 6480) | func TestJetStreamConsumerPullConsumerOneShotOnMaxAckLimit(t *testing.T) { function TestJetStreamConsumerDeliverNewMaxRedeliveriesAndServerRestart (line 6510) | func TestJetStreamConsumerDeliverNewMaxRedeliveriesAndServerRestart(t *t... function TestJetStreamConsumerPendingLowerThanStreamFirstSeq (line 6566) | func TestJetStreamConsumerPendingLowerThanStreamFirstSeq(t *testing.T) { function TestJetStreamConsumerEOFBugNewFileStore (line 6655) | func TestJetStreamConsumerEOFBugNewFileStore(t *testing.T) { function TestJetStreamConsumerMultipleSubjectsLast (line 6716) | func TestJetStreamConsumerMultipleSubjectsLast(t *testing.T) { function TestJetStreamConsumerMultipleSubjectsLastPerSubject (line 6785) | func TestJetStreamConsumerMultipleSubjectsLastPerSubject(t *testing.T) { function TestJetStreamConsumerMultipleSubjects (line 6865) | func TestJetStreamConsumerMultipleSubjects(t *testing.T) { function TestJetStreamConsumerMultipleSubjectsWithEmpty (line 6912) | func TestJetStreamConsumerMultipleSubjectsWithEmpty(t *testing.T) { function TestJetStreamConsumerOverlappingSubjects (line 6972) | func TestJetStreamConsumerOverlappingSubjects(t *testing.T) { function TestJetStreamConsumerMultipleSubjectsAck (line 6999) | func TestJetStreamConsumerMultipleSubjectsAck(t *testing.T) { function TestJetStreamConsumerMultipleSubjectAndNewAPI (line 7062) | func TestJetStreamConsumerMultipleSubjectAndNewAPI(t *testing.T) { function TestJetStreamConsumerMultipleSubjectsWithAddedMessages (line 7100) | func TestJetStreamConsumerMultipleSubjectsWithAddedMessages(t *testing.T) { function TestJetStreamConsumerThreeFilters (line 7179) | func TestJetStreamConsumerThreeFilters(t *testing.T) { function TestJetStreamConsumerUpdateFilterSubjects (line 7232) | func TestJetStreamConsumerUpdateFilterSubjects(t *testing.T) { function TestJetStreamConsumerAndStreamMetadata (line 7288) | func TestJetStreamConsumerAndStreamMetadata(t *testing.T) { function TestJetStreamConsumerPurge (line 7340) | func TestJetStreamConsumerPurge(t *testing.T) { function TestJetStreamConsumerFilterUpdate (line 7398) | func TestJetStreamConsumerFilterUpdate(t *testing.T) { function TestJetStreamConsumerAckFloorWithExpired (line 7471) | func TestJetStreamConsumerAckFloorWithExpired(t *testing.T) { function TestJetStreamConsumerIsFiltered (line 7516) | func TestJetStreamConsumerIsFiltered(t *testing.T) { function TestJetStreamConsumerWithFormattingSymbol (line 7577) | func TestJetStreamConsumerWithFormattingSymbol(t *testing.T) { function TestJetStreamConsumerDefaultsFromStream (line 7608) | func TestJetStreamConsumerDefaultsFromStream(t *testing.T) { function TestJetStreamConsumerPendingForKV (line 7723) | func TestJetStreamConsumerPendingForKV(t *testing.T) { function TestJetStreamConsumerNakThenAckFloorMove (line 7779) | func TestJetStreamConsumerNakThenAckFloorMove(t *testing.T) { function TestJetStreamConsumerPauseViaConfig (line 7846) | func TestJetStreamConsumerPauseViaConfig(t *testing.T) { function TestJetStreamConsumerPauseViaEndpoint (line 7893) | func TestJetStreamConsumerPauseViaEndpoint(t *testing.T) { function TestJetStreamConsumerPauseResumeViaEndpoint (line 8025) | func TestJetStreamConsumerPauseResumeViaEndpoint(t *testing.T) { function TestJetStreamConsumerPauseHeartbeats (line 8070) | func TestJetStreamConsumerPauseHeartbeats(t *testing.T) { function TestJetStreamConsumerPauseAdvisories (line 8105) | func TestJetStreamConsumerPauseAdvisories(t *testing.T) { function TestJetStreamConsumerSurvivesRestart (line 8160) | func TestJetStreamConsumerSurvivesRestart(t *testing.T) { function TestJetStreamConsumerInfoNumPending (line 8196) | func TestJetStreamConsumerInfoNumPending(t *testing.T) { function TestJetStreamConsumerDontDecrementPendingCountOnSkippedMsg (line 8240) | func TestJetStreamConsumerDontDecrementPendingCountOnSkippedMsg(t *testi... function TestJetStreamConsumerPendingCountAfterMsgAckAboveFloor (line 8312) | func TestJetStreamConsumerPendingCountAfterMsgAckAboveFloor(t *testing.T) { function TestJetStreamConsumerPullRemoveInterest (line 8368) | func TestJetStreamConsumerPullRemoveInterest(t *testing.T) { function TestJetStreamConsumerPullMaxWaitingOfOne (line 8447) | func TestJetStreamConsumerPullMaxWaitingOfOne(t *testing.T) { function TestJetStreamConsumerPullMaxWaitingOfOneWithHeartbeatInterval (line 8496) | func TestJetStreamConsumerPullMaxWaitingOfOneWithHeartbeatInterval(t *te... function TestJetStreamConsumerPullMaxWaiting (line 8540) | func TestJetStreamConsumerPullMaxWaiting(t *testing.T) { function TestJetStreamConsumerPullRequestCleanup (line 8568) | func TestJetStreamConsumerPullRequestCleanup(t *testing.T) { function TestJetStreamConsumerPullRequestMaximums (line 8606) | func TestJetStreamConsumerPullRequestMaximums(t *testing.T) { function TestJetStreamConsumerPullCrossAccountExpires (line 8658) | func TestJetStreamConsumerPullCrossAccountExpires(t *testing.T) { function TestJetStreamConsumerPullCrossAccountExpiresNoDataRace (line 8861) | func TestJetStreamConsumerPullCrossAccountExpiresNoDataRace(t *testing.T) { function TestJetStreamConsumerPullCrossAccountsAndLeafNodes (line 8932) | func TestJetStreamConsumerPullCrossAccountsAndLeafNodes(t *testing.T) { function TestJetStreamConsumerPullOneShotBehavior (line 9044) | func TestJetStreamConsumerPullOneShotBehavior(t *testing.T) { function TestJetStreamConsumerPullMultipleRequestsExpireOutOfOrder (line 9152) | func TestJetStreamConsumerPullMultipleRequestsExpireOutOfOrder(t *testin... function TestJetStreamConsumerPullNoAck (line 9207) | func TestJetStreamConsumerPullNoAck(t *testing.T) { function TestJetStreamConsumerPullLastPerSubjectRedeliveries (line 9227) | func TestJetStreamConsumerPullLastPerSubjectRedeliveries(t *testing.T) { function TestJetStreamConsumerPullTimeoutHeaders (line 9275) | func TestJetStreamConsumerPullTimeoutHeaders(t *testing.T) { function TestJetStreamConsumerPullBatchCompleted (line 9373) | func TestJetStreamConsumerPullBatchCompleted(t *testing.T) { function TestJetStreamConsumerPullLargeBatchExpired (line 9424) | func TestJetStreamConsumerPullLargeBatchExpired(t *testing.T) { function TestJetStreamConsumerPullTimeout (line 9466) | func TestJetStreamConsumerPullTimeout(t *testing.T) { function TestJetStreamConsumerPullMaxBytes (line 9523) | func TestJetStreamConsumerPullMaxBytes(t *testing.T) { function TestJetStreamConsumerDeliverAllOverlappingFilterSubjects (line 9652) | func TestJetStreamConsumerDeliverAllOverlappingFilterSubjects(t *testing... function TestJetStreamConsumerDeliverAllNonOverlappingFilterSubjects (line 9707) | func TestJetStreamConsumerDeliverAllNonOverlappingFilterSubjects(t *test... function TestJetStreamConsumerDeliverPartialOverlappingFilterSubjects (line 9743) | func TestJetStreamConsumerDeliverPartialOverlappingFilterSubjects(t *tes... function TestJetStreamConsumerStateAlwaysFromStore (line 9797) | func TestJetStreamConsumerStateAlwaysFromStore(t *testing.T) { function TestJetStreamConsumerPullNoWaitBatchLargerThanPending (line 9854) | func TestJetStreamConsumerPullNoWaitBatchLargerThanPending(t *testing.T) { function TestJetStreamConsumerNotInactiveDuringAckWait (line 9901) | func TestJetStreamConsumerNotInactiveDuringAckWait(t *testing.T) { function TestJetStreamConsumerNotInactiveDuringAckWaitBackoff (line 9959) | func TestJetStreamConsumerNotInactiveDuringAckWaitBackoff(t *testing.T) { function TestSortingConsumerPullRequests (line 10032) | func TestSortingConsumerPullRequests(t *testing.T) { function TestWaitQueuePopAndRequeue (line 10110) | func TestWaitQueuePopAndRequeue(t *testing.T) { function TestJetStreamConsumerPrioritized (line 10230) | func TestJetStreamConsumerPrioritized(t *testing.T) { function TestJetStreamConsumerMaxDeliverUnderflow (line 10406) | func TestJetStreamConsumerMaxDeliverUnderflow(t *testing.T) { function TestJetStreamConsumerNoWaitNoMessagesOnEos (line 10451) | func TestJetStreamConsumerNoWaitNoMessagesOnEos(t *testing.T) { function TestJetStreamConsumerNoWaitNoMessagesOnEosWithDeliveredMsgs (line 10491) | func TestJetStreamConsumerNoWaitNoMessagesOnEosWithDeliveredMsgs(t *test... function TestJetStreamConsumerEfficientInterestStateCheck (line 10533) | func TestJetStreamConsumerEfficientInterestStateCheck(t *testing.T) { function TestJetStreamConsumerWithCorruptStateIsDeleted (line 10580) | func TestJetStreamConsumerWithCorruptStateIsDeleted(t *testing.T) { function TestJetStreamConsumerNoDeleteAfterConcurrentShutdownAndLeaderChange (line 10650) | func TestJetStreamConsumerNoDeleteAfterConcurrentShutdownAndLeaderChange... function TestJetStreamConsumerOnlyRecalculatePendingIfFilterSubjectUpdated (line 10695) | func TestJetStreamConsumerOnlyRecalculatePendingIfFilterSubjectUpdated(t... function TestJetStreamConsumerCheckNumPending (line 10743) | func TestJetStreamConsumerCheckNumPending(t *testing.T) { function TestJetStreamConsumerAllowOverlappingSubjectsIfNotSubset (line 10805) | func TestJetStreamConsumerAllowOverlappingSubjectsIfNotSubset(t *testing... function TestJetStreamConsumerResetToSequence (line 10872) | func TestJetStreamConsumerResetToSequence(t *testing.T) { function TestJetStreamConsumerResetToSequenceConstraintOnStartSeq (line 11096) | func TestJetStreamConsumerResetToSequenceConstraintOnStartSeq(t *testing... function TestJetStreamConsumerResetToSequenceConstraintOnStartTime (line 11164) | func TestJetStreamConsumerResetToSequenceConstraintOnStartTime(t *testin... function TestJetStreamConsumerLegacyDurableCreateSetsConsumerName (line 11238) | func TestJetStreamConsumerLegacyDurableCreateSetsConsumerName(t *testing... function TestJetStreamConsumerSingleFilterSubjectInFilterSubjects (line 11282) | func TestJetStreamConsumerSingleFilterSubjectInFilterSubjects(t *testing... function TestJetStreamConsumerReconcileConsumerAfterStreamDataLoss (line 11313) | func TestJetStreamConsumerReconcileConsumerAfterStreamDataLoss(t *testin... FILE: server/jetstream_errors.go type errOpts (line 7) | type errOpts struct type ErrorOption (line 12) | type ErrorOption function Unless (line 15) | func Unless(err error) ErrorOption { function parseOpts (line 21) | func parseOpts(opts []ErrorOption) *errOpts { type ErrorIdentifier (line 29) | type ErrorIdentifier function IsNatsErr (line 32) | func IsNatsErr(err error, ids ...ErrorIdentifier) bool { type ApiError (line 57) | type ApiError struct method Error (line 75) | func (e *ApiError) Error() string { method toReplacerArgs (line 79) | func (e *ApiError) toReplacerArgs(replacements []any) []string { type ErrorsData (line 64) | type ErrorsData struct FILE: server/jetstream_errors_generated.go constant JSAccountResourcesExceededErr (line 9) | JSAccountResourcesExceededErr ErrorIdentifier = 10002 constant JSAtomicPublishContainsDuplicateMessageErr (line 12) | JSAtomicPublishContainsDuplicateMessageErr ErrorIdentifier = 10201 constant JSAtomicPublishDisabledErr (line 15) | JSAtomicPublishDisabledErr ErrorIdentifier = 10174 constant JSAtomicPublishIncompleteBatchErr (line 18) | JSAtomicPublishIncompleteBatchErr ErrorIdentifier = 10176 constant JSAtomicPublishInvalidBatchCommitErr (line 21) | JSAtomicPublishInvalidBatchCommitErr ErrorIdentifier = 10200 constant JSAtomicPublishInvalidBatchIDErr (line 24) | JSAtomicPublishInvalidBatchIDErr ErrorIdentifier = 10179 constant JSAtomicPublishMissingSeqErr (line 27) | JSAtomicPublishMissingSeqErr ErrorIdentifier = 10175 constant JSAtomicPublishTooLargeBatchErrF (line 30) | JSAtomicPublishTooLargeBatchErrF ErrorIdentifier = 10199 constant JSAtomicPublishTooManyInflight (line 33) | JSAtomicPublishTooManyInflight ErrorIdentifier = 10210 constant JSAtomicPublishUnsupportedHeaderBatchErr (line 36) | JSAtomicPublishUnsupportedHeaderBatchErr ErrorIdentifier = 10177 constant JSBadRequestErr (line 39) | JSBadRequestErr ErrorIdentifier = 10003 constant JSBatchPublishDisabledErr (line 42) | JSBatchPublishDisabledErr ErrorIdentifier = 10205 constant JSBatchPublishInvalidBatchIDErr (line 45) | JSBatchPublishInvalidBatchIDErr ErrorIdentifier = 10207 constant JSBatchPublishInvalidPatternErr (line 48) | JSBatchPublishInvalidPatternErr ErrorIdentifier = 10206 constant JSBatchPublishTooManyInflight (line 51) | JSBatchPublishTooManyInflight ErrorIdentifier = 10211 constant JSBatchPublishUnknownBatchIDErr (line 54) | JSBatchPublishUnknownBatchIDErr ErrorIdentifier = 10208 constant JSClusterIncompleteErr (line 57) | JSClusterIncompleteErr ErrorIdentifier = 10004 constant JSClusterNoPeersErrF (line 60) | JSClusterNoPeersErrF ErrorIdentifier = 10005 constant JSClusterNotActiveErr (line 63) | JSClusterNotActiveErr ErrorIdentifier = 10006 constant JSClusterNotAssignedErr (line 66) | JSClusterNotAssignedErr ErrorIdentifier = 10007 constant JSClusterNotAvailErr (line 69) | JSClusterNotAvailErr ErrorIdentifier = 10008 constant JSClusterNotLeaderErr (line 72) | JSClusterNotLeaderErr ErrorIdentifier = 10009 constant JSClusterPeerNotMemberErr (line 75) | JSClusterPeerNotMemberErr ErrorIdentifier = 10040 constant JSClusterRequiredErr (line 78) | JSClusterRequiredErr ErrorIdentifier = 10010 constant JSClusterServerMemberChangeInflightErr (line 81) | JSClusterServerMemberChangeInflightErr ErrorIdentifier = 10202 constant JSClusterServerNotMemberErr (line 84) | JSClusterServerNotMemberErr ErrorIdentifier = 10044 constant JSClusterTagsErr (line 87) | JSClusterTagsErr ErrorIdentifier = 10011 constant JSClusterUnSupportFeatureErr (line 90) | JSClusterUnSupportFeatureErr ErrorIdentifier = 10036 constant JSConsumerAckPolicyInvalidErr (line 93) | JSConsumerAckPolicyInvalidErr ErrorIdentifier = 10181 constant JSConsumerAckWaitNegativeErr (line 96) | JSConsumerAckWaitNegativeErr ErrorIdentifier = 10183 constant JSConsumerAlreadyExists (line 99) | JSConsumerAlreadyExists ErrorIdentifier = 10148 constant JSConsumerBackOffNegativeErr (line 102) | JSConsumerBackOffNegativeErr ErrorIdentifier = 10184 constant JSConsumerBadDurableNameErr (line 105) | JSConsumerBadDurableNameErr ErrorIdentifier = 10103 constant JSConsumerConfigRequiredErr (line 108) | JSConsumerConfigRequiredErr ErrorIdentifier = 10078 constant JSConsumerCreateDurableAndNameMismatch (line 111) | JSConsumerCreateDurableAndNameMismatch ErrorIdentifier = 10132 constant JSConsumerCreateErrF (line 114) | JSConsumerCreateErrF ErrorIdentifier = 10012 constant JSConsumerCreateFilterSubjectMismatchErr (line 117) | JSConsumerCreateFilterSubjectMismatchErr ErrorIdentifier = 10131 constant JSConsumerDeliverCycleErr (line 120) | JSConsumerDeliverCycleErr ErrorIdentifier = 10081 constant JSConsumerDeliverToWildcardsErr (line 123) | JSConsumerDeliverToWildcardsErr ErrorIdentifier = 10079 constant JSConsumerDescriptionTooLongErrF (line 126) | JSConsumerDescriptionTooLongErrF ErrorIdentifier = 10107 constant JSConsumerDirectRequiresEphemeralErr (line 129) | JSConsumerDirectRequiresEphemeralErr ErrorIdentifier = 10091 constant JSConsumerDirectRequiresPushErr (line 132) | JSConsumerDirectRequiresPushErr ErrorIdentifier = 10090 constant JSConsumerDoesNotExist (line 135) | JSConsumerDoesNotExist ErrorIdentifier = 10149 constant JSConsumerDuplicateFilterSubjects (line 138) | JSConsumerDuplicateFilterSubjects ErrorIdentifier = 10136 constant JSConsumerDurableNameNotInSubjectErr (line 141) | JSConsumerDurableNameNotInSubjectErr ErrorIdentifier = 10016 constant JSConsumerDurableNameNotMatchSubjectErr (line 144) | JSConsumerDurableNameNotMatchSubjectErr ErrorIdentifier = 10017 constant JSConsumerDurableNameNotSetErr (line 147) | JSConsumerDurableNameNotSetErr ErrorIdentifier = 10018 constant JSConsumerEmptyFilter (line 150) | JSConsumerEmptyFilter ErrorIdentifier = 10139 constant JSConsumerEmptyGroupName (line 153) | JSConsumerEmptyGroupName ErrorIdentifier = 10161 constant JSConsumerEphemeralWithDurableInSubjectErr (line 156) | JSConsumerEphemeralWithDurableInSubjectErr ErrorIdentifier = 10019 constant JSConsumerEphemeralWithDurableNameErr (line 159) | JSConsumerEphemeralWithDurableNameErr ErrorIdentifier = 10020 constant JSConsumerExistingActiveErr (line 162) | JSConsumerExistingActiveErr ErrorIdentifier = 10105 constant JSConsumerFCRequiresPushErr (line 165) | JSConsumerFCRequiresPushErr ErrorIdentifier = 10089 constant JSConsumerFilterNotSubsetErr (line 168) | JSConsumerFilterNotSubsetErr ErrorIdentifier = 10093 constant JSConsumerHBRequiresPushErr (line 171) | JSConsumerHBRequiresPushErr ErrorIdentifier = 10088 constant JSConsumerInactiveThresholdExcess (line 174) | JSConsumerInactiveThresholdExcess ErrorIdentifier = 10153 constant JSConsumerInvalidDeliverSubject (line 177) | JSConsumerInvalidDeliverSubject ErrorIdentifier = 10112 constant JSConsumerInvalidGroupNameErr (line 180) | JSConsumerInvalidGroupNameErr ErrorIdentifier = 10162 constant JSConsumerInvalidPolicyErrF (line 183) | JSConsumerInvalidPolicyErrF ErrorIdentifier = 10094 constant JSConsumerInvalidPriorityGroupErr (line 186) | JSConsumerInvalidPriorityGroupErr ErrorIdentifier = 10160 constant JSConsumerInvalidResetErr (line 189) | JSConsumerInvalidResetErr ErrorIdentifier = 10204 constant JSConsumerInvalidSamplingErrF (line 192) | JSConsumerInvalidSamplingErrF ErrorIdentifier = 10095 constant JSConsumerMaxDeliverBackoffErr (line 195) | JSConsumerMaxDeliverBackoffErr ErrorIdentifier = 10116 constant JSConsumerMaxPendingAckExcessErrF (line 198) | JSConsumerMaxPendingAckExcessErrF ErrorIdentifier = 10121 constant JSConsumerMaxPendingAckPolicyRequiredErr (line 201) | JSConsumerMaxPendingAckPolicyRequiredErr ErrorIdentifier = 10082 constant JSConsumerMaxRequestBatchExceededF (line 204) | JSConsumerMaxRequestBatchExceededF ErrorIdentifier = 10125 constant JSConsumerMaxRequestBatchNegativeErr (line 207) | JSConsumerMaxRequestBatchNegativeErr ErrorIdentifier = 10114 constant JSConsumerMaxRequestExpiresTooSmall (line 210) | JSConsumerMaxRequestExpiresTooSmall ErrorIdentifier = 10115 constant JSConsumerMaxWaitingNegativeErr (line 213) | JSConsumerMaxWaitingNegativeErr ErrorIdentifier = 10087 constant JSConsumerMetadataLengthErrF (line 216) | JSConsumerMetadataLengthErrF ErrorIdentifier = 10135 constant JSConsumerMultipleFiltersNotAllowed (line 219) | JSConsumerMultipleFiltersNotAllowed ErrorIdentifier = 10137 constant JSConsumerNameContainsPathSeparatorsErr (line 222) | JSConsumerNameContainsPathSeparatorsErr ErrorIdentifier = 10127 constant JSConsumerNameExistErr (line 225) | JSConsumerNameExistErr ErrorIdentifier = 10013 constant JSConsumerNameTooLongErrF (line 228) | JSConsumerNameTooLongErrF ErrorIdentifier = 10102 constant JSConsumerNotFoundErr (line 231) | JSConsumerNotFoundErr ErrorIdentifier = 10014 constant JSConsumerOfflineErr (line 234) | JSConsumerOfflineErr ErrorIdentifier = 10119 constant JSConsumerOfflineReasonErrF (line 237) | JSConsumerOfflineReasonErrF ErrorIdentifier = 10195 constant JSConsumerOnMappedErr (line 240) | JSConsumerOnMappedErr ErrorIdentifier = 10092 constant JSConsumerOverlappingSubjectFilters (line 243) | JSConsumerOverlappingSubjectFilters ErrorIdentifier = 10138 constant JSConsumerPinnedTTLWithoutPriorityPolicyNone (line 246) | JSConsumerPinnedTTLWithoutPriorityPolicyNone ErrorIdentifier = 10197 constant JSConsumerPriorityGroupWithPolicyNone (line 249) | JSConsumerPriorityGroupWithPolicyNone ErrorIdentifier = 10196 constant JSConsumerPriorityPolicyWithoutGroup (line 252) | JSConsumerPriorityPolicyWithoutGroup ErrorIdentifier = 10159 constant JSConsumerPullNotDurableErr (line 255) | JSConsumerPullNotDurableErr ErrorIdentifier = 10085 constant JSConsumerPullRequiresAckErr (line 258) | JSConsumerPullRequiresAckErr ErrorIdentifier = 10084 constant JSConsumerPullWithRateLimitErr (line 261) | JSConsumerPullWithRateLimitErr ErrorIdentifier = 10086 constant JSConsumerPushMaxWaitingErr (line 264) | JSConsumerPushMaxWaitingErr ErrorIdentifier = 10080 constant JSConsumerPushWithPriorityGroupErr (line 267) | JSConsumerPushWithPriorityGroupErr ErrorIdentifier = 10178 constant JSConsumerReplacementWithDifferentNameErr (line 270) | JSConsumerReplacementWithDifferentNameErr ErrorIdentifier = 10106 constant JSConsumerReplayPolicyInvalidErr (line 273) | JSConsumerReplayPolicyInvalidErr ErrorIdentifier = 10182 constant JSConsumerReplicasExceedsStream (line 276) | JSConsumerReplicasExceedsStream ErrorIdentifier = 10126 constant JSConsumerReplicasShouldMatchStream (line 279) | JSConsumerReplicasShouldMatchStream ErrorIdentifier = 10134 constant JSConsumerSmallHeartbeatErr (line 282) | JSConsumerSmallHeartbeatErr ErrorIdentifier = 10083 constant JSConsumerStoreFailedErrF (line 285) | JSConsumerStoreFailedErrF ErrorIdentifier = 10104 constant JSConsumerWQConsumerNotDeliverAllErr (line 288) | JSConsumerWQConsumerNotDeliverAllErr ErrorIdentifier = 10101 constant JSConsumerWQConsumerNotUniqueErr (line 291) | JSConsumerWQConsumerNotUniqueErr ErrorIdentifier = 10100 constant JSConsumerWQMultipleUnfilteredErr (line 294) | JSConsumerWQMultipleUnfilteredErr ErrorIdentifier = 10099 constant JSConsumerWQRequiresExplicitAckErr (line 297) | JSConsumerWQRequiresExplicitAckErr ErrorIdentifier = 10098 constant JSConsumerWithFlowControlNeedsHeartbeats (line 300) | JSConsumerWithFlowControlNeedsHeartbeats ErrorIdentifier = 10108 constant JSInsufficientResourcesErr (line 303) | JSInsufficientResourcesErr ErrorIdentifier = 10023 constant JSInvalidJSONErr (line 306) | JSInvalidJSONErr ErrorIdentifier = 10025 constant JSMaximumConsumersLimitErr (line 309) | JSMaximumConsumersLimitErr ErrorIdentifier = 10026 constant JSMaximumStreamsLimitErr (line 312) | JSMaximumStreamsLimitErr ErrorIdentifier = 10027 constant JSMemoryResourcesExceededErr (line 315) | JSMemoryResourcesExceededErr ErrorIdentifier = 10028 constant JSMessageCounterBrokenErr (line 318) | JSMessageCounterBrokenErr ErrorIdentifier = 10172 constant JSMessageIncrDisabledErr (line 321) | JSMessageIncrDisabledErr ErrorIdentifier = 10168 constant JSMessageIncrInvalidErr (line 324) | JSMessageIncrInvalidErr ErrorIdentifier = 10171 constant JSMessageIncrMissingErr (line 327) | JSMessageIncrMissingErr ErrorIdentifier = 10169 constant JSMessageIncrPayloadErr (line 330) | JSMessageIncrPayloadErr ErrorIdentifier = 10170 constant JSMessageSchedulesDisabledErr (line 333) | JSMessageSchedulesDisabledErr ErrorIdentifier = 10188 constant JSMessageSchedulesPatternInvalidErr (line 336) | JSMessageSchedulesPatternInvalidErr ErrorIdentifier = 10189 constant JSMessageSchedulesRollupInvalidErr (line 339) | JSMessageSchedulesRollupInvalidErr ErrorIdentifier = 10192 constant JSMessageSchedulesSourceInvalidErr (line 342) | JSMessageSchedulesSourceInvalidErr ErrorIdentifier = 10203 constant JSMessageSchedulesTTLInvalidErr (line 345) | JSMessageSchedulesTTLInvalidErr ErrorIdentifier = 10191 constant JSMessageSchedulesTargetInvalidErr (line 348) | JSMessageSchedulesTargetInvalidErr ErrorIdentifier = 10190 constant JSMessageTTLDisabledErr (line 351) | JSMessageTTLDisabledErr ErrorIdentifier = 10166 constant JSMessageTTLInvalidErr (line 354) | JSMessageTTLInvalidErr ErrorIdentifier = 10165 constant JSMirrorConsumerSetupFailedErrF (line 357) | JSMirrorConsumerSetupFailedErrF ErrorIdentifier = 10029 constant JSMirrorInvalidStreamName (line 360) | JSMirrorInvalidStreamName ErrorIdentifier = 10142 constant JSMirrorInvalidSubjectFilter (line 363) | JSMirrorInvalidSubjectFilter ErrorIdentifier = 10151 constant JSMirrorInvalidTransformDestination (line 366) | JSMirrorInvalidTransformDestination ErrorIdentifier = 10154 constant JSMirrorMaxMessageSizeTooBigErr (line 369) | JSMirrorMaxMessageSizeTooBigErr ErrorIdentifier = 10030 constant JSMirrorMultipleFiltersNotAllowed (line 372) | JSMirrorMultipleFiltersNotAllowed ErrorIdentifier = 10150 constant JSMirrorOverlappingSubjectFilters (line 375) | JSMirrorOverlappingSubjectFilters ErrorIdentifier = 10152 constant JSMirrorWithAtomicPublishErr (line 378) | JSMirrorWithAtomicPublishErr ErrorIdentifier = 10198 constant JSMirrorWithBatchPublishErr (line 381) | JSMirrorWithBatchPublishErr ErrorIdentifier = 10209 constant JSMirrorWithCountersErr (line 384) | JSMirrorWithCountersErr ErrorIdentifier = 10173 constant JSMirrorWithFirstSeqErr (line 387) | JSMirrorWithFirstSeqErr ErrorIdentifier = 10143 constant JSMirrorWithMsgSchedulesErr (line 390) | JSMirrorWithMsgSchedulesErr ErrorIdentifier = 10186 constant JSMirrorWithSourcesErr (line 393) | JSMirrorWithSourcesErr ErrorIdentifier = 10031 constant JSMirrorWithStartSeqAndTimeErr (line 396) | JSMirrorWithStartSeqAndTimeErr ErrorIdentifier = 10032 constant JSMirrorWithSubjectFiltersErr (line 399) | JSMirrorWithSubjectFiltersErr ErrorIdentifier = 10033 constant JSMirrorWithSubjectsErr (line 402) | JSMirrorWithSubjectsErr ErrorIdentifier = 10034 constant JSNoAccountErr (line 405) | JSNoAccountErr ErrorIdentifier = 10035 constant JSNoLimitsErr (line 408) | JSNoLimitsErr ErrorIdentifier = 10120 constant JSNoMessageFoundErr (line 411) | JSNoMessageFoundErr ErrorIdentifier = 10037 constant JSNotEmptyRequestErr (line 414) | JSNotEmptyRequestErr ErrorIdentifier = 10038 constant JSNotEnabledErr (line 417) | JSNotEnabledErr ErrorIdentifier = 10076 constant JSNotEnabledForAccountErr (line 420) | JSNotEnabledForAccountErr ErrorIdentifier = 10039 constant JSPedanticErrF (line 423) | JSPedanticErrF ErrorIdentifier = 10157 constant JSPeerRemapErr (line 426) | JSPeerRemapErr ErrorIdentifier = 10075 constant JSRaftGeneralErrF (line 429) | JSRaftGeneralErrF ErrorIdentifier = 10041 constant JSReplicasCountCannotBeNegative (line 432) | JSReplicasCountCannotBeNegative ErrorIdentifier = 10133 constant JSRequiredApiLevelErr (line 435) | JSRequiredApiLevelErr ErrorIdentifier = 10185 constant JSRestoreSubscribeFailedErrF (line 438) | JSRestoreSubscribeFailedErrF ErrorIdentifier = 10042 constant JSSequenceNotFoundErrF (line 441) | JSSequenceNotFoundErrF ErrorIdentifier = 10043 constant JSSnapshotDeliverSubjectInvalidErr (line 444) | JSSnapshotDeliverSubjectInvalidErr ErrorIdentifier = 10015 constant JSSourceConsumerSetupFailedErrF (line 447) | JSSourceConsumerSetupFailedErrF ErrorIdentifier = 10045 constant JSSourceDuplicateDetected (line 450) | JSSourceDuplicateDetected ErrorIdentifier = 10140 constant JSSourceInvalidStreamName (line 453) | JSSourceInvalidStreamName ErrorIdentifier = 10141 constant JSSourceInvalidSubjectFilter (line 456) | JSSourceInvalidSubjectFilter ErrorIdentifier = 10145 constant JSSourceInvalidTransformDestination (line 459) | JSSourceInvalidTransformDestination ErrorIdentifier = 10146 constant JSSourceMaxMessageSizeTooBigErr (line 462) | JSSourceMaxMessageSizeTooBigErr ErrorIdentifier = 10046 constant JSSourceMultipleFiltersNotAllowed (line 465) | JSSourceMultipleFiltersNotAllowed ErrorIdentifier = 10144 constant JSSourceOverlappingSubjectFilters (line 468) | JSSourceOverlappingSubjectFilters ErrorIdentifier = 10147 constant JSSourceWithMsgSchedulesErr (line 471) | JSSourceWithMsgSchedulesErr ErrorIdentifier = 10187 constant JSStorageResourcesExceededErr (line 474) | JSStorageResourcesExceededErr ErrorIdentifier = 10047 constant JSStreamAssignmentErrF (line 477) | JSStreamAssignmentErrF ErrorIdentifier = 10048 constant JSStreamCreateErrF (line 480) | JSStreamCreateErrF ErrorIdentifier = 10049 constant JSStreamDeleteErrF (line 483) | JSStreamDeleteErrF ErrorIdentifier = 10050 constant JSStreamDuplicateMessageConflict (line 486) | JSStreamDuplicateMessageConflict ErrorIdentifier = 10158 constant JSStreamExpectedLastSeqPerSubjectInvalid (line 489) | JSStreamExpectedLastSeqPerSubjectInvalid ErrorIdentifier = 10193 constant JSStreamExpectedLastSeqPerSubjectNotReady (line 492) | JSStreamExpectedLastSeqPerSubjectNotReady ErrorIdentifier = 10163 constant JSStreamExternalApiOverlapErrF (line 495) | JSStreamExternalApiOverlapErrF ErrorIdentifier = 10021 constant JSStreamExternalDelPrefixOverlapsErrF (line 498) | JSStreamExternalDelPrefixOverlapsErrF ErrorIdentifier = 10022 constant JSStreamGeneralErrorF (line 501) | JSStreamGeneralErrorF ErrorIdentifier = 10051 constant JSStreamHeaderExceedsMaximumErr (line 504) | JSStreamHeaderExceedsMaximumErr ErrorIdentifier = 10097 constant JSStreamInfoMaxSubjectsErr (line 507) | JSStreamInfoMaxSubjectsErr ErrorIdentifier = 10117 constant JSStreamInvalidConfigF (line 510) | JSStreamInvalidConfigF ErrorIdentifier = 10052 constant JSStreamInvalidErr (line 513) | JSStreamInvalidErr ErrorIdentifier = 10096 constant JSStreamInvalidExternalDeliverySubjErrF (line 516) | JSStreamInvalidExternalDeliverySubjErrF ErrorIdentifier = 10024 constant JSStreamLimitsErrF (line 519) | JSStreamLimitsErrF ErrorIdentifier = 10053 constant JSStreamMaxBytesRequired (line 522) | JSStreamMaxBytesRequired ErrorIdentifier = 10113 constant JSStreamMaxStreamBytesExceeded (line 525) | JSStreamMaxStreamBytesExceeded ErrorIdentifier = 10122 constant JSStreamMessageExceedsMaximumErr (line 528) | JSStreamMessageExceedsMaximumErr ErrorIdentifier = 10054 constant JSStreamMinLastSeqErr (line 531) | JSStreamMinLastSeqErr ErrorIdentifier = 10180 constant JSStreamMirrorNotUpdatableErr (line 534) | JSStreamMirrorNotUpdatableErr ErrorIdentifier = 10055 constant JSStreamMismatchErr (line 537) | JSStreamMismatchErr ErrorIdentifier = 10056 constant JSStreamMoveAndScaleErr (line 540) | JSStreamMoveAndScaleErr ErrorIdentifier = 10123 constant JSStreamMoveInProgressF (line 543) | JSStreamMoveInProgressF ErrorIdentifier = 10124 constant JSStreamMoveNotInProgress (line 546) | JSStreamMoveNotInProgress ErrorIdentifier = 10129 constant JSStreamMsgDeleteFailedF (line 549) | JSStreamMsgDeleteFailedF ErrorIdentifier = 10057 constant JSStreamNameContainsPathSeparatorsErr (line 552) | JSStreamNameContainsPathSeparatorsErr ErrorIdentifier = 10128 constant JSStreamNameExistErr (line 555) | JSStreamNameExistErr ErrorIdentifier = 10058 constant JSStreamNameExistRestoreFailedErr (line 558) | JSStreamNameExistRestoreFailedErr ErrorIdentifier = 10130 constant JSStreamNotFoundErr (line 561) | JSStreamNotFoundErr ErrorIdentifier = 10059 constant JSStreamNotMatchErr (line 564) | JSStreamNotMatchErr ErrorIdentifier = 10060 constant JSStreamOfflineErr (line 567) | JSStreamOfflineErr ErrorIdentifier = 10118 constant JSStreamOfflineReasonErrF (line 570) | JSStreamOfflineReasonErrF ErrorIdentifier = 10194 constant JSStreamPurgeFailedF (line 573) | JSStreamPurgeFailedF ErrorIdentifier = 10110 constant JSStreamReplicasNotSupportedErr (line 576) | JSStreamReplicasNotSupportedErr ErrorIdentifier = 10074 constant JSStreamReplicasNotUpdatableErr (line 579) | JSStreamReplicasNotUpdatableErr ErrorIdentifier = 10061 constant JSStreamRestoreErrF (line 582) | JSStreamRestoreErrF ErrorIdentifier = 10062 constant JSStreamRollupFailedF (line 585) | JSStreamRollupFailedF ErrorIdentifier = 10111 constant JSStreamSealedErr (line 588) | JSStreamSealedErr ErrorIdentifier = 10109 constant JSStreamSequenceNotMatchErr (line 591) | JSStreamSequenceNotMatchErr ErrorIdentifier = 10063 constant JSStreamSnapshotErrF (line 594) | JSStreamSnapshotErrF ErrorIdentifier = 10064 constant JSStreamStoreFailedF (line 597) | JSStreamStoreFailedF ErrorIdentifier = 10077 constant JSStreamSubjectOverlapErr (line 600) | JSStreamSubjectOverlapErr ErrorIdentifier = 10065 constant JSStreamTemplateCreateErrF (line 603) | JSStreamTemplateCreateErrF ErrorIdentifier = 10066 constant JSStreamTemplateDeleteErrF (line 606) | JSStreamTemplateDeleteErrF ErrorIdentifier = 10067 constant JSStreamTemplateNotFoundErr (line 609) | JSStreamTemplateNotFoundErr ErrorIdentifier = 10068 constant JSStreamTooManyRequests (line 612) | JSStreamTooManyRequests ErrorIdentifier = 10167 constant JSStreamTransformInvalidDestination (line 615) | JSStreamTransformInvalidDestination ErrorIdentifier = 10156 constant JSStreamTransformInvalidSource (line 618) | JSStreamTransformInvalidSource ErrorIdentifier = 10155 constant JSStreamUpdateErrF (line 621) | JSStreamUpdateErrF ErrorIdentifier = 10069 constant JSStreamWrongLastMsgIDErrF (line 624) | JSStreamWrongLastMsgIDErrF ErrorIdentifier = 10070 constant JSStreamWrongLastSequenceConstantErr (line 627) | JSStreamWrongLastSequenceConstantErr ErrorIdentifier = 10164 constant JSStreamWrongLastSequenceErrF (line 630) | JSStreamWrongLastSequenceErrF ErrorIdentifier = 10071 constant JSTempStorageFailedErr (line 633) | JSTempStorageFailedErr ErrorIdentifier = 10072 constant JSTemplateNameNotMatchSubjectErr (line 636) | JSTemplateNameNotMatchSubjectErr ErrorIdentifier = 10073 function NewJSAccountResourcesExceededError (line 877) | func NewJSAccountResourcesExceededError(opts ...ErrorOption) *ApiError { function NewJSAtomicPublishContainsDuplicateMessageError (line 887) | func NewJSAtomicPublishContainsDuplicateMessageError(opts ...ErrorOption... function NewJSAtomicPublishDisabledError (line 897) | func NewJSAtomicPublishDisabledError(opts ...ErrorOption) *ApiError { function NewJSAtomicPublishIncompleteBatchError (line 907) | func NewJSAtomicPublishIncompleteBatchError(opts ...ErrorOption) *ApiErr... function NewJSAtomicPublishInvalidBatchCommitError (line 917) | func NewJSAtomicPublishInvalidBatchCommitError(opts ...ErrorOption) *Api... function NewJSAtomicPublishInvalidBatchIDError (line 927) | func NewJSAtomicPublishInvalidBatchIDError(opts ...ErrorOption) *ApiError { function NewJSAtomicPublishMissingSeqError (line 937) | func NewJSAtomicPublishMissingSeqError(opts ...ErrorOption) *ApiError { function NewJSAtomicPublishTooLargeBatchError (line 947) | func NewJSAtomicPublishTooLargeBatchError(size interface{}, opts ...Erro... function NewJSAtomicPublishTooManyInflightError (line 963) | func NewJSAtomicPublishTooManyInflightError(opts ...ErrorOption) *ApiErr... function NewJSAtomicPublishUnsupportedHeaderBatchError (line 973) | func NewJSAtomicPublishUnsupportedHeaderBatchError(header interface{}, o... function NewJSBadRequestError (line 989) | func NewJSBadRequestError(opts ...ErrorOption) *ApiError { function NewJSBatchPublishDisabledError (line 999) | func NewJSBatchPublishDisabledError(opts ...ErrorOption) *ApiError { function NewJSBatchPublishInvalidBatchIDError (line 1009) | func NewJSBatchPublishInvalidBatchIDError(opts ...ErrorOption) *ApiError { function NewJSBatchPublishInvalidPatternError (line 1019) | func NewJSBatchPublishInvalidPatternError(opts ...ErrorOption) *ApiError { function NewJSBatchPublishTooManyInflightError (line 1029) | func NewJSBatchPublishTooManyInflightError(opts ...ErrorOption) *ApiError { function NewJSBatchPublishUnknownBatchIDError (line 1039) | func NewJSBatchPublishUnknownBatchIDError(opts ...ErrorOption) *ApiError { function NewJSClusterIncompleteError (line 1049) | func NewJSClusterIncompleteError(opts ...ErrorOption) *ApiError { function NewJSClusterNoPeersError (line 1059) | func NewJSClusterNoPeersError(err error, opts ...ErrorOption) *ApiError { function NewJSClusterNotActiveError (line 1075) | func NewJSClusterNotActiveError(opts ...ErrorOption) *ApiError { function NewJSClusterNotAssignedError (line 1085) | func NewJSClusterNotAssignedError(opts ...ErrorOption) *ApiError { function NewJSClusterNotAvailError (line 1095) | func NewJSClusterNotAvailError(opts ...ErrorOption) *ApiError { function NewJSClusterNotLeaderError (line 1105) | func NewJSClusterNotLeaderError(opts ...ErrorOption) *ApiError { function NewJSClusterPeerNotMemberError (line 1115) | func NewJSClusterPeerNotMemberError(opts ...ErrorOption) *ApiError { function NewJSClusterRequiredError (line 1125) | func NewJSClusterRequiredError(opts ...ErrorOption) *ApiError { function NewJSClusterServerMemberChangeInflightError (line 1135) | func NewJSClusterServerMemberChangeInflightError(opts ...ErrorOption) *A... function NewJSClusterServerNotMemberError (line 1145) | func NewJSClusterServerNotMemberError(opts ...ErrorOption) *ApiError { function NewJSClusterTagsError (line 1155) | func NewJSClusterTagsError(opts ...ErrorOption) *ApiError { function NewJSClusterUnSupportFeatureError (line 1165) | func NewJSClusterUnSupportFeatureError(opts ...ErrorOption) *ApiError { function NewJSConsumerAckPolicyInvalidError (line 1175) | func NewJSConsumerAckPolicyInvalidError(opts ...ErrorOption) *ApiError { function NewJSConsumerAckWaitNegativeError (line 1185) | func NewJSConsumerAckWaitNegativeError(opts ...ErrorOption) *ApiError { function NewJSConsumerAlreadyExistsError (line 1195) | func NewJSConsumerAlreadyExistsError(opts ...ErrorOption) *ApiError { function NewJSConsumerBackOffNegativeError (line 1205) | func NewJSConsumerBackOffNegativeError(opts ...ErrorOption) *ApiError { function NewJSConsumerBadDurableNameError (line 1215) | func NewJSConsumerBadDurableNameError(opts ...ErrorOption) *ApiError { function NewJSConsumerConfigRequiredError (line 1225) | func NewJSConsumerConfigRequiredError(opts ...ErrorOption) *ApiError { function NewJSConsumerCreateDurableAndNameMismatchError (line 1235) | func NewJSConsumerCreateDurableAndNameMismatchError(opts ...ErrorOption)... function NewJSConsumerCreateError (line 1245) | func NewJSConsumerCreateError(err error, opts ...ErrorOption) *ApiError { function NewJSConsumerCreateFilterSubjectMismatchError (line 1261) | func NewJSConsumerCreateFilterSubjectMismatchError(opts ...ErrorOption) ... function NewJSConsumerDeliverCycleError (line 1271) | func NewJSConsumerDeliverCycleError(opts ...ErrorOption) *ApiError { function NewJSConsumerDeliverToWildcardsError (line 1281) | func NewJSConsumerDeliverToWildcardsError(opts ...ErrorOption) *ApiError { function NewJSConsumerDescriptionTooLongError (line 1291) | func NewJSConsumerDescriptionTooLongError(max interface{}, opts ...Error... function NewJSConsumerDirectRequiresEphemeralError (line 1307) | func NewJSConsumerDirectRequiresEphemeralError(opts ...ErrorOption) *Api... function NewJSConsumerDirectRequiresPushError (line 1317) | func NewJSConsumerDirectRequiresPushError(opts ...ErrorOption) *ApiError { function NewJSConsumerDoesNotExistError (line 1327) | func NewJSConsumerDoesNotExistError(opts ...ErrorOption) *ApiError { function NewJSConsumerDuplicateFilterSubjectsError (line 1337) | func NewJSConsumerDuplicateFilterSubjectsError(opts ...ErrorOption) *Api... function NewJSConsumerDurableNameNotInSubjectError (line 1347) | func NewJSConsumerDurableNameNotInSubjectError(opts ...ErrorOption) *Api... function NewJSConsumerDurableNameNotMatchSubjectError (line 1357) | func NewJSConsumerDurableNameNotMatchSubjectError(opts ...ErrorOption) *... function NewJSConsumerDurableNameNotSetError (line 1367) | func NewJSConsumerDurableNameNotSetError(opts ...ErrorOption) *ApiError { function NewJSConsumerEmptyFilterError (line 1377) | func NewJSConsumerEmptyFilterError(opts ...ErrorOption) *ApiError { function NewJSConsumerEmptyGroupNameError (line 1387) | func NewJSConsumerEmptyGroupNameError(opts ...ErrorOption) *ApiError { function NewJSConsumerEphemeralWithDurableInSubjectError (line 1397) | func NewJSConsumerEphemeralWithDurableInSubjectError(opts ...ErrorOption... function NewJSConsumerEphemeralWithDurableNameError (line 1407) | func NewJSConsumerEphemeralWithDurableNameError(opts ...ErrorOption) *Ap... function NewJSConsumerExistingActiveError (line 1417) | func NewJSConsumerExistingActiveError(opts ...ErrorOption) *ApiError { function NewJSConsumerFCRequiresPushError (line 1427) | func NewJSConsumerFCRequiresPushError(opts ...ErrorOption) *ApiError { function NewJSConsumerFilterNotSubsetError (line 1437) | func NewJSConsumerFilterNotSubsetError(opts ...ErrorOption) *ApiError { function NewJSConsumerHBRequiresPushError (line 1447) | func NewJSConsumerHBRequiresPushError(opts ...ErrorOption) *ApiError { function NewJSConsumerInactiveThresholdExcessError (line 1457) | func NewJSConsumerInactiveThresholdExcessError(limit interface{}, opts .... function NewJSConsumerInvalidDeliverSubjectError (line 1473) | func NewJSConsumerInvalidDeliverSubjectError(opts ...ErrorOption) *ApiEr... function NewJSConsumerInvalidGroupNameError (line 1483) | func NewJSConsumerInvalidGroupNameError(opts ...ErrorOption) *ApiError { function NewJSConsumerInvalidPolicyError (line 1493) | func NewJSConsumerInvalidPolicyError(err error, opts ...ErrorOption) *Ap... function NewJSConsumerInvalidPriorityGroupError (line 1509) | func NewJSConsumerInvalidPriorityGroupError(opts ...ErrorOption) *ApiErr... function NewJSConsumerInvalidResetError (line 1519) | func NewJSConsumerInvalidResetError(err error, opts ...ErrorOption) *Api... function NewJSConsumerInvalidSamplingError (line 1535) | func NewJSConsumerInvalidSamplingError(err error, opts ...ErrorOption) *... function NewJSConsumerMaxDeliverBackoffError (line 1551) | func NewJSConsumerMaxDeliverBackoffError(opts ...ErrorOption) *ApiError { function NewJSConsumerMaxPendingAckExcessError (line 1561) | func NewJSConsumerMaxPendingAckExcessError(limit interface{}, opts ...Er... function NewJSConsumerMaxPendingAckPolicyRequiredError (line 1577) | func NewJSConsumerMaxPendingAckPolicyRequiredError(opts ...ErrorOption) ... function NewJSConsumerMaxRequestBatchExceededError (line 1587) | func NewJSConsumerMaxRequestBatchExceededError(limit interface{}, opts .... function NewJSConsumerMaxRequestBatchNegativeError (line 1603) | func NewJSConsumerMaxRequestBatchNegativeError(opts ...ErrorOption) *Api... function NewJSConsumerMaxRequestExpiresTooSmallError (line 1613) | func NewJSConsumerMaxRequestExpiresTooSmallError(opts ...ErrorOption) *A... function NewJSConsumerMaxWaitingNegativeError (line 1623) | func NewJSConsumerMaxWaitingNegativeError(opts ...ErrorOption) *ApiError { function NewJSConsumerMetadataLengthError (line 1633) | func NewJSConsumerMetadataLengthError(limit interface{}, opts ...ErrorOp... function NewJSConsumerMultipleFiltersNotAllowedError (line 1649) | func NewJSConsumerMultipleFiltersNotAllowedError(opts ...ErrorOption) *A... function NewJSConsumerNameContainsPathSeparatorsError (line 1659) | func NewJSConsumerNameContainsPathSeparatorsError(opts ...ErrorOption) *... function NewJSConsumerNameExistError (line 1669) | func NewJSConsumerNameExistError(opts ...ErrorOption) *ApiError { function NewJSConsumerNameTooLongError (line 1679) | func NewJSConsumerNameTooLongError(max interface{}, opts ...ErrorOption)... function NewJSConsumerNotFoundError (line 1695) | func NewJSConsumerNotFoundError(opts ...ErrorOption) *ApiError { function NewJSConsumerOfflineError (line 1705) | func NewJSConsumerOfflineError(opts ...ErrorOption) *ApiError { function NewJSConsumerOfflineReasonError (line 1715) | func NewJSConsumerOfflineReasonError(err error, opts ...ErrorOption) *Ap... function NewJSConsumerOnMappedError (line 1731) | func NewJSConsumerOnMappedError(opts ...ErrorOption) *ApiError { function NewJSConsumerOverlappingSubjectFiltersError (line 1741) | func NewJSConsumerOverlappingSubjectFiltersError(opts ...ErrorOption) *A... function NewJSConsumerPinnedTTLWithoutPriorityPolicyNoneError (line 1751) | func NewJSConsumerPinnedTTLWithoutPriorityPolicyNoneError(opts ...ErrorO... function NewJSConsumerPriorityGroupWithPolicyNoneError (line 1761) | func NewJSConsumerPriorityGroupWithPolicyNoneError(opts ...ErrorOption) ... function NewJSConsumerPriorityPolicyWithoutGroupError (line 1771) | func NewJSConsumerPriorityPolicyWithoutGroupError(opts ...ErrorOption) *... function NewJSConsumerPullNotDurableError (line 1781) | func NewJSConsumerPullNotDurableError(opts ...ErrorOption) *ApiError { function NewJSConsumerPullRequiresAckError (line 1791) | func NewJSConsumerPullRequiresAckError(opts ...ErrorOption) *ApiError { function NewJSConsumerPullWithRateLimitError (line 1801) | func NewJSConsumerPullWithRateLimitError(opts ...ErrorOption) *ApiError { function NewJSConsumerPushMaxWaitingError (line 1811) | func NewJSConsumerPushMaxWaitingError(opts ...ErrorOption) *ApiError { function NewJSConsumerPushWithPriorityGroupError (line 1821) | func NewJSConsumerPushWithPriorityGroupError(opts ...ErrorOption) *ApiEr... function NewJSConsumerReplacementWithDifferentNameError (line 1831) | func NewJSConsumerReplacementWithDifferentNameError(opts ...ErrorOption)... function NewJSConsumerReplayPolicyInvalidError (line 1841) | func NewJSConsumerReplayPolicyInvalidError(opts ...ErrorOption) *ApiError { function NewJSConsumerReplicasExceedsStreamError (line 1851) | func NewJSConsumerReplicasExceedsStreamError(opts ...ErrorOption) *ApiEr... function NewJSConsumerReplicasShouldMatchStreamError (line 1861) | func NewJSConsumerReplicasShouldMatchStreamError(opts ...ErrorOption) *A... function NewJSConsumerSmallHeartbeatError (line 1871) | func NewJSConsumerSmallHeartbeatError(opts ...ErrorOption) *ApiError { function NewJSConsumerStoreFailedError (line 1881) | func NewJSConsumerStoreFailedError(err error, opts ...ErrorOption) *ApiE... function NewJSConsumerWQConsumerNotDeliverAllError (line 1897) | func NewJSConsumerWQConsumerNotDeliverAllError(opts ...ErrorOption) *Api... function NewJSConsumerWQConsumerNotUniqueError (line 1907) | func NewJSConsumerWQConsumerNotUniqueError(opts ...ErrorOption) *ApiError { function NewJSConsumerWQMultipleUnfilteredError (line 1917) | func NewJSConsumerWQMultipleUnfilteredError(opts ...ErrorOption) *ApiErr... function NewJSConsumerWQRequiresExplicitAckError (line 1927) | func NewJSConsumerWQRequiresExplicitAckError(opts ...ErrorOption) *ApiEr... function NewJSConsumerWithFlowControlNeedsHeartbeatsError (line 1937) | func NewJSConsumerWithFlowControlNeedsHeartbeatsError(opts ...ErrorOptio... function NewJSInsufficientResourcesError (line 1947) | func NewJSInsufficientResourcesError(opts ...ErrorOption) *ApiError { function NewJSInvalidJSONError (line 1957) | func NewJSInvalidJSONError(err error, opts ...ErrorOption) *ApiError { function NewJSMaximumConsumersLimitError (line 1973) | func NewJSMaximumConsumersLimitError(opts ...ErrorOption) *ApiError { function NewJSMaximumStreamsLimitError (line 1983) | func NewJSMaximumStreamsLimitError(opts ...ErrorOption) *ApiError { function NewJSMemoryResourcesExceededError (line 1993) | func NewJSMemoryResourcesExceededError(opts ...ErrorOption) *ApiError { function NewJSMessageCounterBrokenError (line 2003) | func NewJSMessageCounterBrokenError(opts ...ErrorOption) *ApiError { function NewJSMessageIncrDisabledError (line 2013) | func NewJSMessageIncrDisabledError(opts ...ErrorOption) *ApiError { function NewJSMessageIncrInvalidError (line 2023) | func NewJSMessageIncrInvalidError(opts ...ErrorOption) *ApiError { function NewJSMessageIncrMissingError (line 2033) | func NewJSMessageIncrMissingError(opts ...ErrorOption) *ApiError { function NewJSMessageIncrPayloadError (line 2043) | func NewJSMessageIncrPayloadError(opts ...ErrorOption) *ApiError { function NewJSMessageSchedulesDisabledError (line 2053) | func NewJSMessageSchedulesDisabledError(opts ...ErrorOption) *ApiError { function NewJSMessageSchedulesPatternInvalidError (line 2063) | func NewJSMessageSchedulesPatternInvalidError(opts ...ErrorOption) *ApiE... function NewJSMessageSchedulesRollupInvalidError (line 2073) | func NewJSMessageSchedulesRollupInvalidError(opts ...ErrorOption) *ApiEr... function NewJSMessageSchedulesSourceInvalidError (line 2083) | func NewJSMessageSchedulesSourceInvalidError(opts ...ErrorOption) *ApiEr... function NewJSMessageSchedulesTTLInvalidError (line 2093) | func NewJSMessageSchedulesTTLInvalidError(opts ...ErrorOption) *ApiError { function NewJSMessageSchedulesTargetInvalidError (line 2103) | func NewJSMessageSchedulesTargetInvalidError(opts ...ErrorOption) *ApiEr... function NewJSMessageTTLDisabledError (line 2113) | func NewJSMessageTTLDisabledError(opts ...ErrorOption) *ApiError { function NewJSMessageTTLInvalidError (line 2123) | func NewJSMessageTTLInvalidError(opts ...ErrorOption) *ApiError { function NewJSMirrorConsumerSetupFailedError (line 2133) | func NewJSMirrorConsumerSetupFailedError(err error, opts ...ErrorOption)... function NewJSMirrorInvalidStreamNameError (line 2149) | func NewJSMirrorInvalidStreamNameError(opts ...ErrorOption) *ApiError { function NewJSMirrorInvalidSubjectFilterError (line 2159) | func NewJSMirrorInvalidSubjectFilterError(err error, opts ...ErrorOption... function NewJSMirrorInvalidTransformDestinationError (line 2175) | func NewJSMirrorInvalidTransformDestinationError(err error, opts ...Erro... function NewJSMirrorMaxMessageSizeTooBigError (line 2191) | func NewJSMirrorMaxMessageSizeTooBigError(opts ...ErrorOption) *ApiError { function NewJSMirrorMultipleFiltersNotAllowedError (line 2201) | func NewJSMirrorMultipleFiltersNotAllowedError(opts ...ErrorOption) *Api... function NewJSMirrorOverlappingSubjectFiltersError (line 2211) | func NewJSMirrorOverlappingSubjectFiltersError(opts ...ErrorOption) *Api... function NewJSMirrorWithAtomicPublishError (line 2221) | func NewJSMirrorWithAtomicPublishError(opts ...ErrorOption) *ApiError { function NewJSMirrorWithBatchPublishError (line 2231) | func NewJSMirrorWithBatchPublishError(opts ...ErrorOption) *ApiError { function NewJSMirrorWithCountersError (line 2241) | func NewJSMirrorWithCountersError(opts ...ErrorOption) *ApiError { function NewJSMirrorWithFirstSeqError (line 2251) | func NewJSMirrorWithFirstSeqError(opts ...ErrorOption) *ApiError { function NewJSMirrorWithMsgSchedulesError (line 2261) | func NewJSMirrorWithMsgSchedulesError(opts ...ErrorOption) *ApiError { function NewJSMirrorWithSourcesError (line 2271) | func NewJSMirrorWithSourcesError(opts ...ErrorOption) *ApiError { function NewJSMirrorWithStartSeqAndTimeError (line 2281) | func NewJSMirrorWithStartSeqAndTimeError(opts ...ErrorOption) *ApiError { function NewJSMirrorWithSubjectFiltersError (line 2291) | func NewJSMirrorWithSubjectFiltersError(opts ...ErrorOption) *ApiError { function NewJSMirrorWithSubjectsError (line 2301) | func NewJSMirrorWithSubjectsError(opts ...ErrorOption) *ApiError { function NewJSNoAccountError (line 2311) | func NewJSNoAccountError(opts ...ErrorOption) *ApiError { function NewJSNoLimitsError (line 2321) | func NewJSNoLimitsError(opts ...ErrorOption) *ApiError { function NewJSNoMessageFoundError (line 2331) | func NewJSNoMessageFoundError(opts ...ErrorOption) *ApiError { function NewJSNotEmptyRequestError (line 2341) | func NewJSNotEmptyRequestError(opts ...ErrorOption) *ApiError { function NewJSNotEnabledError (line 2351) | func NewJSNotEnabledError(opts ...ErrorOption) *ApiError { function NewJSNotEnabledForAccountError (line 2361) | func NewJSNotEnabledForAccountError(opts ...ErrorOption) *ApiError { function NewJSPedanticError (line 2371) | func NewJSPedanticError(err error, opts ...ErrorOption) *ApiError { function NewJSPeerRemapError (line 2387) | func NewJSPeerRemapError(opts ...ErrorOption) *ApiError { function NewJSRaftGeneralError (line 2397) | func NewJSRaftGeneralError(err error, opts ...ErrorOption) *ApiError { function NewJSReplicasCountCannotBeNegativeError (line 2413) | func NewJSReplicasCountCannotBeNegativeError(opts ...ErrorOption) *ApiEr... function NewJSRequiredApiLevelError (line 2423) | func NewJSRequiredApiLevelError(opts ...ErrorOption) *ApiError { function NewJSRestoreSubscribeFailedError (line 2433) | func NewJSRestoreSubscribeFailedError(err error, subject interface{}, op... function NewJSSequenceNotFoundError (line 2449) | func NewJSSequenceNotFoundError(seq uint64, opts ...ErrorOption) *ApiErr... function NewJSSnapshotDeliverSubjectInvalidError (line 2465) | func NewJSSnapshotDeliverSubjectInvalidError(opts ...ErrorOption) *ApiEr... function NewJSSourceConsumerSetupFailedError (line 2475) | func NewJSSourceConsumerSetupFailedError(err error, opts ...ErrorOption)... function NewJSSourceDuplicateDetectedError (line 2491) | func NewJSSourceDuplicateDetectedError(opts ...ErrorOption) *ApiError { function NewJSSourceInvalidStreamNameError (line 2501) | func NewJSSourceInvalidStreamNameError(opts ...ErrorOption) *ApiError { function NewJSSourceInvalidSubjectFilterError (line 2511) | func NewJSSourceInvalidSubjectFilterError(err error, opts ...ErrorOption... function NewJSSourceInvalidTransformDestinationError (line 2527) | func NewJSSourceInvalidTransformDestinationError(err error, opts ...Erro... function NewJSSourceMaxMessageSizeTooBigError (line 2543) | func NewJSSourceMaxMessageSizeTooBigError(opts ...ErrorOption) *ApiError { function NewJSSourceMultipleFiltersNotAllowedError (line 2553) | func NewJSSourceMultipleFiltersNotAllowedError(opts ...ErrorOption) *Api... function NewJSSourceOverlappingSubjectFiltersError (line 2563) | func NewJSSourceOverlappingSubjectFiltersError(opts ...ErrorOption) *Api... function NewJSSourceWithMsgSchedulesError (line 2573) | func NewJSSourceWithMsgSchedulesError(opts ...ErrorOption) *ApiError { function NewJSStorageResourcesExceededError (line 2583) | func NewJSStorageResourcesExceededError(opts ...ErrorOption) *ApiError { function NewJSStreamAssignmentError (line 2593) | func NewJSStreamAssignmentError(err error, opts ...ErrorOption) *ApiError { function NewJSStreamCreateError (line 2609) | func NewJSStreamCreateError(err error, opts ...ErrorOption) *ApiError { function NewJSStreamDeleteError (line 2625) | func NewJSStreamDeleteError(err error, opts ...ErrorOption) *ApiError { function NewJSStreamDuplicateMessageConflictError (line 2641) | func NewJSStreamDuplicateMessageConflictError(opts ...ErrorOption) *ApiE... function NewJSStreamExpectedLastSeqPerSubjectInvalidError (line 2651) | func NewJSStreamExpectedLastSeqPerSubjectInvalidError(opts ...ErrorOptio... function NewJSStreamExpectedLastSeqPerSubjectNotReadyError (line 2661) | func NewJSStreamExpectedLastSeqPerSubjectNotReadyError(opts ...ErrorOpti... function NewJSStreamExternalApiOverlapError (line 2671) | func NewJSStreamExternalApiOverlapError(prefix interface{}, subject inte... function NewJSStreamExternalDelPrefixOverlapsError (line 2687) | func NewJSStreamExternalDelPrefixOverlapsError(prefix interface{}, subje... function NewJSStreamGeneralError (line 2703) | func NewJSStreamGeneralError(err error, opts ...ErrorOption) *ApiError { function NewJSStreamHeaderExceedsMaximumError (line 2719) | func NewJSStreamHeaderExceedsMaximumError(opts ...ErrorOption) *ApiError { function NewJSStreamInfoMaxSubjectsError (line 2729) | func NewJSStreamInfoMaxSubjectsError(opts ...ErrorOption) *ApiError { function NewJSStreamInvalidConfigError (line 2739) | func NewJSStreamInvalidConfigError(err error, opts ...ErrorOption) *ApiE... function NewJSStreamInvalidError (line 2755) | func NewJSStreamInvalidError(opts ...ErrorOption) *ApiError { function NewJSStreamInvalidExternalDeliverySubjError (line 2765) | func NewJSStreamInvalidExternalDeliverySubjError(prefix interface{}, opt... function NewJSStreamLimitsError (line 2781) | func NewJSStreamLimitsError(err error, opts ...ErrorOption) *ApiError { function NewJSStreamMaxBytesRequiredError (line 2797) | func NewJSStreamMaxBytesRequiredError(opts ...ErrorOption) *ApiError { function NewJSStreamMaxStreamBytesExceededError (line 2807) | func NewJSStreamMaxStreamBytesExceededError(opts ...ErrorOption) *ApiErr... function NewJSStreamMessageExceedsMaximumError (line 2817) | func NewJSStreamMessageExceedsMaximumError(opts ...ErrorOption) *ApiError { function NewJSStreamMinLastSeqError (line 2827) | func NewJSStreamMinLastSeqError(opts ...ErrorOption) *ApiError { function NewJSStreamMirrorNotUpdatableError (line 2837) | func NewJSStreamMirrorNotUpdatableError(opts ...ErrorOption) *ApiError { function NewJSStreamMismatchError (line 2847) | func NewJSStreamMismatchError(opts ...ErrorOption) *ApiError { function NewJSStreamMoveAndScaleError (line 2857) | func NewJSStreamMoveAndScaleError(opts ...ErrorOption) *ApiError { function NewJSStreamMoveInProgressError (line 2867) | func NewJSStreamMoveInProgressError(msg interface{}, opts ...ErrorOption... function NewJSStreamMoveNotInProgressError (line 2883) | func NewJSStreamMoveNotInProgressError(opts ...ErrorOption) *ApiError { function NewJSStreamMsgDeleteFailedError (line 2893) | func NewJSStreamMsgDeleteFailedError(err error, opts ...ErrorOption) *Ap... function NewJSStreamNameContainsPathSeparatorsError (line 2909) | func NewJSStreamNameContainsPathSeparatorsError(opts ...ErrorOption) *Ap... function NewJSStreamNameExistError (line 2919) | func NewJSStreamNameExistError(opts ...ErrorOption) *ApiError { function NewJSStreamNameExistRestoreFailedError (line 2929) | func NewJSStreamNameExistRestoreFailedError(opts ...ErrorOption) *ApiErr... function NewJSStreamNotFoundError (line 2939) | func NewJSStreamNotFoundError(opts ...ErrorOption) *ApiError { function NewJSStreamNotMatchError (line 2949) | func NewJSStreamNotMatchError(opts ...ErrorOption) *ApiError { function NewJSStreamOfflineError (line 2959) | func NewJSStreamOfflineError(opts ...ErrorOption) *ApiError { function NewJSStreamOfflineReasonError (line 2969) | func NewJSStreamOfflineReasonError(err error, opts ...ErrorOption) *ApiE... function NewJSStreamPurgeFailedError (line 2985) | func NewJSStreamPurgeFailedError(err error, opts ...ErrorOption) *ApiErr... function NewJSStreamReplicasNotSupportedError (line 3001) | func NewJSStreamReplicasNotSupportedError(opts ...ErrorOption) *ApiError { function NewJSStreamReplicasNotUpdatableError (line 3011) | func NewJSStreamReplicasNotUpdatableError(opts ...ErrorOption) *ApiError { function NewJSStreamRestoreError (line 3021) | func NewJSStreamRestoreError(err error, opts ...ErrorOption) *ApiError { function NewJSStreamRollupFailedError (line 3037) | func NewJSStreamRollupFailedError(err error, opts ...ErrorOption) *ApiEr... function NewJSStreamSealedError (line 3053) | func NewJSStreamSealedError(opts ...ErrorOption) *ApiError { function NewJSStreamSequenceNotMatchError (line 3063) | func NewJSStreamSequenceNotMatchError(opts ...ErrorOption) *ApiError { function NewJSStreamSnapshotError (line 3073) | func NewJSStreamSnapshotError(err error, opts ...ErrorOption) *ApiError { function NewJSStreamStoreFailedError (line 3089) | func NewJSStreamStoreFailedError(err error, opts ...ErrorOption) *ApiErr... function NewJSStreamSubjectOverlapError (line 3105) | func NewJSStreamSubjectOverlapError(opts ...ErrorOption) *ApiError { function NewJSStreamTemplateCreateError (line 3115) | func NewJSStreamTemplateCreateError(err error, opts ...ErrorOption) *Api... function NewJSStreamTemplateDeleteError (line 3131) | func NewJSStreamTemplateDeleteError(err error, opts ...ErrorOption) *Api... function NewJSStreamTemplateNotFoundError (line 3147) | func NewJSStreamTemplateNotFoundError(opts ...ErrorOption) *ApiError { function NewJSStreamTooManyRequestsError (line 3157) | func NewJSStreamTooManyRequestsError(opts ...ErrorOption) *ApiError { function NewJSStreamTransformInvalidDestinationError (line 3167) | func NewJSStreamTransformInvalidDestinationError(err error, opts ...Erro... function NewJSStreamTransformInvalidSourceError (line 3183) | func NewJSStreamTransformInvalidSourceError(err error, opts ...ErrorOpti... function NewJSStreamUpdateError (line 3199) | func NewJSStreamUpdateError(err error, opts ...ErrorOption) *ApiError { function NewJSStreamWrongLastMsgIDError (line 3215) | func NewJSStreamWrongLastMsgIDError(id interface{}, opts ...ErrorOption)... function NewJSStreamWrongLastSequenceConstantError (line 3231) | func NewJSStreamWrongLastSequenceConstantError(opts ...ErrorOption) *Api... function NewJSStreamWrongLastSequenceError (line 3241) | func NewJSStreamWrongLastSequenceError(seq uint64, opts ...ErrorOption) ... function NewJSTempStorageFailedError (line 3257) | func NewJSTempStorageFailedError(opts ...ErrorOption) *ApiError { function NewJSTemplateNameNotMatchSubjectError (line 3267) | func NewJSTemplateNameNotMatchSubjectError(opts ...ErrorOption) *ApiError { FILE: server/jetstream_errors_test.go function TestIsNatsErr (line 8) | func TestIsNatsErr(t *testing.T) { function TestApiError_Error (line 42) | func TestApiError_Error(t *testing.T) { function TestApiError_NewWithTags (line 48) | func TestApiError_NewWithTags(t *testing.T) { function TestApiError_NewWithUnless (line 59) | func TestApiError_NewWithUnless(t *testing.T) { FILE: server/jetstream_events.go method publishAdvisory (line 23) | func (s *Server) publishAdvisory(acc *Account, subject string, adv any) ... type JSAPIAudit (line 50) | type JSAPIAudit struct constant JSAPIAuditType (line 60) | JSAPIAuditType = "io.nats.jetstream.advisory.v1.api_audit" type ActionAdvisoryType (line 63) | type ActionAdvisoryType constant CreateEvent (line 66) | CreateEvent ActionAdvisoryType = "create" constant DeleteEvent (line 67) | DeleteEvent ActionAdvisoryType = "delete" constant ModifyEvent (line 68) | ModifyEvent ActionAdvisoryType = "modify" type JSStreamActionAdvisory (line 72) | type JSStreamActionAdvisory struct constant JSStreamActionAdvisoryType (line 79) | JSStreamActionAdvisoryType = "io.nats.jetstream.advisory.v1.stream_action" type JSConsumerActionAdvisory (line 82) | type JSConsumerActionAdvisory struct constant JSConsumerActionAdvisoryType (line 90) | JSConsumerActionAdvisoryType = "io.nats.jetstream.advisory.v1.consumer_a... type JSConsumerPauseAdvisory (line 93) | type JSConsumerPauseAdvisory struct constant JSConsumerPauseAdvisoryType (line 102) | JSConsumerPauseAdvisoryType = "io.nats.jetstream.advisory.v1.consumer_pa... type JSConsumerAckMetric (line 106) | type JSConsumerAckMetric struct constant JSConsumerAckMetricType (line 118) | JSConsumerAckMetricType = "io.nats.jetstream.metric.v1.consumer_ack" type JSConsumerDeliveryExceededAdvisory (line 122) | type JSConsumerDeliveryExceededAdvisory struct constant JSConsumerDeliveryExceededAdvisoryType (line 132) | JSConsumerDeliveryExceededAdvisoryType = "io.nats.jetstream.advisory.v1.... type JSConsumerDeliveryNakAdvisory (line 136) | type JSConsumerDeliveryNakAdvisory struct constant JSConsumerDeliveryNakAdvisoryType (line 147) | JSConsumerDeliveryNakAdvisoryType = "io.nats.jetstream.advisory.v1.nak" type JSConsumerDeliveryTerminatedAdvisory (line 151) | type JSConsumerDeliveryTerminatedAdvisory struct constant JSConsumerDeliveryTerminatedAdvisoryType (line 163) | JSConsumerDeliveryTerminatedAdvisoryType = "io.nats.jetstream.advisory.v... type JSSnapshotCreateAdvisory (line 166) | type JSSnapshotCreateAdvisory struct constant JSSnapshotCreatedAdvisoryType (line 175) | JSSnapshotCreatedAdvisoryType = "io.nats.jetstream.advisory.v1.snapshot_... type JSSnapshotCompleteAdvisory (line 178) | type JSSnapshotCompleteAdvisory struct constant JSSnapshotCompleteAdvisoryType (line 188) | JSSnapshotCompleteAdvisoryType = "io.nats.jetstream.advisory.v1.snapshot... type JSRestoreCreateAdvisory (line 191) | type JSRestoreCreateAdvisory struct constant JSRestoreCreateAdvisoryType (line 199) | JSRestoreCreateAdvisoryType = "io.nats.jetstream.advisory.v1.restore_cre... type JSRestoreCompleteAdvisory (line 202) | type JSRestoreCompleteAdvisory struct constant JSRestoreCompleteAdvisoryType (line 213) | JSRestoreCompleteAdvisoryType = "io.nats.jetstream.advisory.v1.restore_c... constant JSDomainLeaderElectedAdvisoryType (line 218) | JSDomainLeaderElectedAdvisoryType = "io.nats.jetstream.advisory.v1.domai... type JSDomainLeaderElectedAdvisory (line 221) | type JSDomainLeaderElectedAdvisory struct constant JSStreamLeaderElectedAdvisoryType (line 230) | JSStreamLeaderElectedAdvisoryType = "io.nats.jetstream.advisory.v1.strea... type JSStreamLeaderElectedAdvisory (line 233) | type JSStreamLeaderElectedAdvisory struct constant JSStreamQuorumLostAdvisoryType (line 244) | JSStreamQuorumLostAdvisoryType = "io.nats.jetstream.advisory.v1.stream_q... type JSStreamQuorumLostAdvisory (line 247) | type JSStreamQuorumLostAdvisory struct constant JSStreamBatchAbandonedAdvisoryType (line 256) | JSStreamBatchAbandonedAdvisoryType = "io.nats.jetstream.advisory.v1.stre... type JSStreamBatchAbandonedAdvisory (line 259) | type JSStreamBatchAbandonedAdvisory struct type BatchAbandonReason (line 268) | type BatchAbandonReason constant JSConsumerLeaderElectedAdvisoryType (line 277) | JSConsumerLeaderElectedAdvisoryType = "io.nats.jetstream.advisory.v1.con... type JSConsumerLeaderElectedAdvisory (line 280) | type JSConsumerLeaderElectedAdvisory struct constant JSConsumerQuorumLostAdvisoryType (line 292) | JSConsumerQuorumLostAdvisoryType = "io.nats.jetstream.advisory.v1.consum... type JSConsumerQuorumLostAdvisory (line 295) | type JSConsumerQuorumLostAdvisory struct constant JSConsumerGroupPinnedAdvisoryType (line 304) | JSConsumerGroupPinnedAdvisoryType = "io.nats.jetstream.advisory.v1.consu... type JSConsumerGroupPinnedAdvisory (line 307) | type JSConsumerGroupPinnedAdvisory struct constant JSConsumerGroupUnpinnedAdvisoryType (line 317) | JSConsumerGroupUnpinnedAdvisoryType = "io.nats.jetstream.advisory.v1.con... type JSConsumerGroupUnpinnedAdvisory (line 320) | type JSConsumerGroupUnpinnedAdvisory struct constant JSServerOutOfStorageAdvisoryType (line 332) | JSServerOutOfStorageAdvisoryType = "io.nats.jetstream.advisory.v1.server... type JSServerOutOfSpaceAdvisory (line 335) | type JSServerOutOfSpaceAdvisory struct constant JSServerRemovedAdvisoryType (line 345) | JSServerRemovedAdvisoryType = "io.nats.jetstream.advisory.v1.server_remo... type JSServerRemovedAdvisory (line 348) | type JSServerRemovedAdvisory struct constant JSAPILimitReachedAdvisoryType (line 357) | JSAPILimitReachedAdvisoryType = "io.nats.jetstream.advisory.v1.api_limit... type JSAPILimitReachedAdvisory (line 360) | type JSAPILimitReachedAdvisory struct FILE: server/jetstream_helpers_test.go function init (line 47) | func init() { type cluster (line 60) | type cluster struct method addInNewServer (line 857) | func (c *cluster) addInNewServer() *Server { method createSingleLeafNodeNoSystemAccount (line 871) | func (c *cluster) createSingleLeafNodeNoSystemAccount() *Server { method createSingleLeafNodeNoSystemAccountAndEnablesJetStream (line 887) | func (c *cluster) createSingleLeafNodeNoSystemAccountAndEnablesJetStre... method createSingleLeafNodeNoSystemAccountAndEnablesJetStreamWithDomain (line 891) | func (c *cluster) createSingleLeafNodeNoSystemAccountAndEnablesJetStre... method createLeafNodes (line 1022) | func (c *cluster) createLeafNodes(clusterName string, numServers int, ... method createLeafNodesNoJS (line 1027) | func (c *cluster) createLeafNodesNoJS(clusterName string, numServers i... method createLeafNodesWithStartPortAndDomain (line 1032) | func (c *cluster) createLeafNodesWithStartPortAndDomain(clusterName st... method createLeafNode (line 1041) | func (c *cluster) createLeafNode(extend bool) *Server { method createLeafNodeWithTemplate (line 1051) | func (c *cluster) createLeafNodeWithTemplate(name, template string) *S... method createLeafNodeWithTemplateNoSystem (line 1061) | func (c *cluster) createLeafNodeWithTemplateNoSystem(name, template st... method createLeafNodeWithTemplateNoSystemWithProto (line 1065) | func (c *cluster) createLeafNodeWithTemplateNoSystemWithProto(name, te... method createLeafSolicit (line 1076) | func (c *cluster) createLeafSolicit(tmpl string) string { method createLeafSolicitWithProto (line 1080) | func (c *cluster) createLeafSolicitWithProto(tmpl, proto string) string { method createLeafSolicitNoSystemWithProto (line 1099) | func (c *cluster) createLeafSolicitNoSystemWithProto(tmpl, proto strin... method createLeafNodesWithTemplateMixedMode (line 1121) | func (c *cluster) createLeafNodesWithTemplateMixedMode(template, clust... method createLeafNodesWithTemplateAndStartPort (line 1137) | func (c *cluster) createLeafNodesWithTemplateAndStartPort(template, cl... method addSubjectMapping (line 1194) | func (c *cluster) addSubjectMapping(account, src, dest string) { method updateLimits (line 1214) | func (c *cluster) updateLimits(account string, newLimits map[string]Je... method restartServer (line 1368) | func (c *cluster) restartServer(rs *Server) *Server { method checkClusterFormed (line 1388) | func (c *cluster) checkClusterFormed() { method waitOnPeerCount (line 1393) | func (c *cluster) waitOnPeerCount(n int) { method waitOnConsumerLeader (line 1415) | func (c *cluster) waitOnConsumerLeader(account, stream, consumer strin... method consumerLeader (line 1434) | func (c *cluster) consumerLeader(account, stream, consumer string) *Se... method randomNonConsumerLeader (line 1444) | func (c *cluster) randomNonConsumerLeader(account, stream, consumer st... method waitOnStreamLeader (line 1454) | func (c *cluster) waitOnStreamLeader(account, stream string) { method randomNonStreamLeader (line 1472) | func (c *cluster) randomNonStreamLeader(account, stream string) *Server { method streamLeader (line 1482) | func (c *cluster) streamLeader(account, stream string) *Server { method waitOnStreamCurrent (line 1492) | func (c *cluster) waitOnStreamCurrent(s *Server, account, stream strin... method waitOnServerHealthz (line 1510) | func (c *cluster) waitOnServerHealthz(s *Server) { method waitOnServerCurrent (line 1527) | func (c *cluster) waitOnServerCurrent(s *Server) { method waitOnAllCurrent (line 1543) | func (c *cluster) waitOnAllCurrent() { method serverByName (line 1550) | func (c *cluster) serverByName(sname string) *Server { method randomNonLeader (line 1559) | func (c *cluster) randomNonLeader() *Server { method leader (line 1569) | func (c *cluster) leader() *Server { method expectNoLeader (line 1578) | func (c *cluster) expectNoLeader() { method waitOnLeader (line 1593) | func (c *cluster) waitOnLeader() { method waitOnAccount (line 1610) | func (c *cluster) waitOnAccount(account string) { method waitOnClusterReady (line 1638) | func (c *cluster) waitOnClusterReady() { method waitOnClusterReadyWithNumPeers (line 1644) | func (c *cluster) waitOnClusterReadyWithNumPeers(numPeersExpected int) { method removeJetStream (line 1688) | func (c *cluster) removeJetStream(s *Server) { method stopAll (line 1714) | func (c *cluster) stopAll() { method restartAll (line 1724) | func (c *cluster) restartAll() { method lameDuckRestartAll (line 1737) | func (c *cluster) lameDuckRestartAll() { method restartAllSamePorts (line 1754) | func (c *cluster) restartAllSamePorts() { method totalSubs (line 1766) | func (c *cluster) totalSubs() (total int) { method stableTotalSubs (line 1774) | func (c *cluster) stableTotalSubs() (total int) { type supercluster (line 69) | type supercluster struct method shutdown (line 75) | func (sc *supercluster) shutdown() { method randomServer (line 87) | func (sc *supercluster) randomServer() *Server { method serverByName (line 91) | func (sc *supercluster) serverByName(sname string) *Server { method waitOnStreamLeader (line 100) | func (sc *supercluster) waitOnStreamLeader(account, stream string) { method createLeafNodes (line 529) | func (sc *supercluster) createLeafNodes(clusterName string, numServers... method createLeafNodesWithDomain (line 536) | func (sc *supercluster) createLeafNodesWithDomain(clusterName string, ... method createSingleLeafNode (line 543) | func (sc *supercluster) createSingleLeafNode(extend bool) *Server { method leader (line 549) | func (sc *supercluster) leader() *Server { method waitOnLeader (line 558) | func (sc *supercluster) waitOnLeader() { method waitOnAccount (line 574) | func (sc *supercluster) waitOnAccount(account string) { method waitOnAllCurrent (line 595) | func (sc *supercluster) waitOnAllCurrent() { method clusterForName (line 602) | func (sc *supercluster) clusterForName(name string) *cluster { method randomCluster (line 611) | func (sc *supercluster) randomCluster() *cluster { method waitOnPeerCount (line 617) | func (sc *supercluster) waitOnPeerCount(n int) { function createJetStreamTaggedSuperCluster (line 319) | func createJetStreamTaggedSuperCluster(t *testing.T) *supercluster { function createJetStreamTaggedSuperClusterWithGWProxy (line 323) | func createJetStreamTaggedSuperClusterWithGWProxy(t *testing.T, gwm gwPr... function createJetStreamSuperCluster (line 396) | func createJetStreamSuperCluster(t *testing.T, numServersPer, numCluster... function createJetStreamSuperClusterWithTemplate (line 400) | func createJetStreamSuperClusterWithTemplate(t *testing.T, tmpl string, ... type gwProxy (line 405) | type gwProxy struct type gwProxyMap (line 415) | type gwProxyMap function createJetStreamSuperClusterWithTemplateAndModHook (line 417) | func createJetStreamSuperClusterWithTemplateAndModHook(t *testing.T, tmp... function createMixedModeCluster (line 708) | func createMixedModeCluster(t testing.TB, tmpl string, clusterName, snPr... function createJetStreamClusterExplicit (line 762) | func createJetStreamClusterExplicit(t testing.TB, clusterName string, nu... function createJetStreamClusterWithTemplate (line 766) | func createJetStreamClusterWithTemplate(t testing.TB, tmpl string, clust... function createJetStreamClusterWithTemplateAndModHook (line 770) | func createJetStreamClusterWithTemplateAndModHook(t testing.TB, tmpl str... function createJetStreamCluster (line 776) | func createJetStreamCluster(t testing.TB, tmpl string, clusterName, snPr... type modifyCb (line 780) | type modifyCb function createJetStreamClusterAndModHook (line 782) | func createJetStreamClusterAndModHook(t testing.TB, tmpl, cName, snPre s... function createJetStreamClusterWithNetProxy (line 786) | func createJetStreamClusterWithNetProxy(t testing.TB, cName string, numS... function createJetStreamClusterEx (line 792) | func createJetStreamClusterEx(t testing.TB, tmpl, cName, snPre string, n... method closeAndDisableLeafnodes (line 1151) | func (s *Server) closeAndDisableLeafnodes() { method reEnableLeafnodes (line 1167) | func (s *Server) reEnableLeafnodes() { method setJetStreamMigrateOnRemoteLeaf (line 1175) | func (s *Server) setJetStreamMigrateOnRemoteLeaf() { method setJetStreamMigrateOnRemoteLeafWithDelay (line 1184) | func (s *Server) setJetStreamMigrateOnRemoteLeafWithDelay(delay time.Dur... function jsClientConnect (line 1232) | func jsClientConnect(t testing.TB, s *Server, opts ...nats.Option) (*nat... function jsClientConnectEx (line 1245) | func jsClientConnectEx(t testing.TB, s *Server, jsOpts []nats.JSOpt, opt... function jsClientConnectNewAPI (line 1262) | func jsClientConnectNewAPI(t testing.TB, s *Server, opts ...nats.Option)... function jsClientConnectURL (line 1275) | func jsClientConnectURL(t testing.TB, url string, opts ...nats.Option) (... function jsStreamCreate (line 1290) | func jsStreamCreate(t testing.TB, nc *nats.Conn, cfg *StreamConfig) (*St... function jsStreamUpdate (line 1311) | func jsStreamUpdate(t testing.TB, nc *nats.Conn, cfg *StreamConfig) (*St... function checkSubsPending (line 1331) | func checkSubsPending(t *testing.T, sub *nats.Subscription, numExpected ... function fetchMsgs (line 1341) | func fetchMsgs(t *testing.T, sub *nats.Subscription, numExpected int, to... function addStreamPedanticWithError (line 1788) | func addStreamPedanticWithError(t *testing.T, nc *nats.Conn, cfg *Stream... function updateStreamPedanticWithError (line 1803) | func updateStreamPedanticWithError(t *testing.T, nc *nats.Conn, cfg *Str... function addStream (line 1818) | func addStream(t *testing.T, nc *nats.Conn, cfg *StreamConfig) *StreamIn... function addStreamWithError (line 1827) | func addStreamWithError(t *testing.T, nc *nats.Conn, cfg *StreamConfig) ... function updateStream (line 1842) | func updateStream(t *testing.T, nc *nats.Conn, cfg *StreamConfig) *Strea... method setInActiveDeleteThreshold (line 1862) | func (o *consumer) setInActiveDeleteThreshold(dthresh time.Duration) err... type netProxy (line 1877) | type netProxy struct method start (line 1927) | func (np *netProxy) start() { method clientURL (line 1961) | func (np *netProxy) clientURL() string { method routeURL (line 1965) | func (np *netProxy) routeURL() string { method leafURL (line 1969) | func (np *netProxy) leafURL() string { method loop (line 1973) | func (np *netProxy) loop(tbw int, r, w net.Conn) { method updateRTT (line 2003) | func (np *netProxy) updateRTT(rtt time.Duration) { method stop (line 2009) | func (np *netProxy) stop() { function newNetProxy (line 1889) | func newNetProxy(rtt time.Duration, upRate, downRate int, serverURL stri... function createNetProxy (line 1893) | func createNetProxy(rtt time.Duration, upRate, downRate int, serverURL s... type bitset (line 2020) | type bitset struct method get (line 2039) | func (b *bitset) get(index uint64) bool { method set (line 2049) | func (b *bitset) set(index uint64, value bool) { method count (line 2070) | func (b *bitset) count() uint64 { method String (line 2074) | func (b *bitset) String() string { function NewBitset (line 2029) | func NewBitset(size uint64) *bitset { function copyDir (line 2098) | func copyDir(t *testing.T, dst, src string) error { function getStreamDetails (line 2125) | func getStreamDetails(t *testing.T, c *cluster, accountName, streamName ... function checkState (line 2146) | func checkState(t *testing.T, c *cluster, accountName, streamName string... function checkStateAndErr (line 2152) | func checkStateAndErr(t *testing.T, c *cluster, accountName, streamName ... FILE: server/jetstream_jwt_test.go function TestJetStreamJWTLimits (line 36) | func TestJetStreamJWTLimits(t *testing.T) { function TestJetStreamJWTDisallowBearer (line 211) | func TestJetStreamJWTDisallowBearer(t *testing.T) { function TestJetStreamJWTMove (line 279) | func TestJetStreamJWTMove(t *testing.T) { function TestJetStreamJWTClusteredTiers (line 416) | func TestJetStreamJWTClusteredTiers(t *testing.T) { function TestJetStreamJWTClusteredTiersChange (line 573) | func TestJetStreamJWTClusteredTiersChange(t *testing.T) { function TestJetStreamJWTClusteredDeleteTierWithStreamAndMove (line 662) | func TestJetStreamJWTClusteredDeleteTierWithStreamAndMove(t *testing.T) { function TestJetStreamJWTSysAccUpdateMixedMode (line 776) | func TestJetStreamJWTSysAccUpdateMixedMode(t *testing.T) { function TestJetStreamJWTExpiredAccountNotCountedTowardLimits (line 908) | func TestJetStreamJWTExpiredAccountNotCountedTowardLimits(t *testing.T) { function TestJetStreamJWTExpiredAccountWorksAfterExpirationUpdated (line 1004) | func TestJetStreamJWTExpiredAccountWorksAfterExpirationUpdated(t *testin... function TestJetStreamJWTDeletedAccountDoesNotLeakSubscriptions (line 1122) | func TestJetStreamJWTDeletedAccountDoesNotLeakSubscriptions(t *testing.T) { function TestJetStreamJWTDeletedAccountIsReEnabled (line 1242) | func TestJetStreamJWTDeletedAccountIsReEnabled(t *testing.T) { function TestJetStreamJWTHAStorageLimitsAndAccounting (line 1414) | func TestJetStreamJWTHAStorageLimitsAndAccounting(t *testing.T) { function TestJetStreamJWTHAStorageLimitsOnScaleAndUpdate (line 1514) | func TestJetStreamJWTHAStorageLimitsOnScaleAndUpdate(t *testing.T) { function TestJetStreamJWTClusteredTiersR3StreamWithR1ConsumersAndAccounting (line 1632) | func TestJetStreamJWTClusteredTiersR3StreamWithR1ConsumersAndAccounting(... function TestJetStreamJWTClusterAccountNRG (line 1707) | func TestJetStreamJWTClusterAccountNRG(t *testing.T) { function TestJetStreamJWTClusterAccountNRGPersistsAfterRestart (line 1834) | func TestJetStreamJWTClusterAccountNRGPersistsAfterRestart(t *testing.T) { function TestJetStreamJWTUpdateWithPreExistingStream (line 1923) | func TestJetStreamJWTUpdateWithPreExistingStream(t *testing.T) { function TestJetStreamAccountResolverNoFetchIfNotMember (line 2049) | func TestJetStreamAccountResolverNoFetchIfNotMember(t *testing.T) { FILE: server/jetstream_leafnode_test.go function TestJetStreamLeafNodeUniqueServerNameCrossJSDomain (line 31) | func TestJetStreamLeafNodeUniqueServerNameCrossJSDomain(t *testing.T) { function TestJetStreamLeafNodeJwtPermsAndJSDomains (line 132) | func TestJetStreamLeafNodeJwtPermsAndJSDomains(t *testing.T) { function TestJetStreamLeafNodeClusterExtensionWithSystemAccount (line 255) | func TestJetStreamLeafNodeClusterExtensionWithSystemAccount(t *testing.T) { function TestJetStreamLeafNodeClusterMixedModeExtensionWithSystemAccount (line 538) | func TestJetStreamLeafNodeClusterMixedModeExtensionWithSystemAccount(t *... function TestJetStreamLeafNodeCredsDenies (line 729) | func TestJetStreamLeafNodeCredsDenies(t *testing.T) { function TestJetStreamLeafNodeDefaultDomainCfg (line 796) | func TestJetStreamLeafNodeDefaultDomainCfg(t *testing.T) { function TestJetStreamLeafNodeDefaultDomainJwtExplicit (line 942) | func TestJetStreamLeafNodeDefaultDomainJwtExplicit(t *testing.T) { function TestJetStreamLeafNodeDefaultDomainClusterBothEnds (line 1043) | func TestJetStreamLeafNodeDefaultDomainClusterBothEnds(t *testing.T) { function TestJetStreamLeafNodeSvcImportExportCycle (line 1166) | func TestJetStreamLeafNodeSvcImportExportCycle(t *testing.T) { function TestJetStreamLeafNodeJSClusterMigrateRecovery (line 1247) | func TestJetStreamLeafNodeJSClusterMigrateRecovery(t *testing.T) { function TestJetStreamLeafNodeJSClusterMigrateRecoveryWithDelay (line 1329) | func TestJetStreamLeafNodeJSClusterMigrateRecoveryWithDelay(t *testing.T) { function TestJetStreamLeafNodeAndMirrorResyncAfterConnectionDown (line 1435) | func TestJetStreamLeafNodeAndMirrorResyncAfterConnectionDown(t *testing.... function TestJetStreamLeafNodeAndMirrorResyncAfterLeafEstablished (line 1688) | func TestJetStreamLeafNodeAndMirrorResyncAfterLeafEstablished(t *testing... FILE: server/jetstream_meta_benchmark_test.go function BenchmarkJetStreamCreate (line 27) | func BenchmarkJetStreamCreate(b *testing.B) { function BenchmarkJetStreamCreateConsumers (line 193) | func BenchmarkJetStreamCreateConsumers(b *testing.B) { FILE: server/jetstream_sourcing_scaling_test.go function createMyLocalCluster (line 81) | func createMyLocalCluster(t *testing.T) *cluster { function TestStreamSourcingScalingSourcingManyBenchmark (line 110) | func TestStreamSourcingScalingSourcingManyBenchmark(t *testing.T) { FILE: server/jetstream_super_cluster_test.go function TestJetStreamSuperClusterMetaStepDown (line 38) | func TestJetStreamSuperClusterMetaStepDown(t *testing.T) { function TestJetStreamSuperClusterStreamStepDown (line 242) | func TestJetStreamSuperClusterStreamStepDown(t *testing.T) { function TestJetStreamSuperClusterConsumerStepDown (line 473) | func TestJetStreamSuperClusterConsumerStepDown(t *testing.T) { function TestJetStreamSuperClusterUniquePlacementTag (line 748) | func TestJetStreamSuperClusterUniquePlacementTag(t *testing.T) { function TestJetStreamSuperClusterBasics (line 883) | func TestJetStreamSuperClusterBasics(t *testing.T) { function TestJetStreamSuperClusterCrossClusterConsumerInterest (line 951) | func TestJetStreamSuperClusterCrossClusterConsumerInterest(t *testing.T) { function TestJetStreamSuperClusterPeerReassign (line 996) | func TestJetStreamSuperClusterPeerReassign(t *testing.T) { function TestJetStreamSuperClusterInterestOnlyMode (line 1067) | func TestJetStreamSuperClusterInterestOnlyMode(t *testing.T) { function TestJetStreamSuperClusterConnectionCount (line 1170) | func TestJetStreamSuperClusterConnectionCount(t *testing.T) { function TestJetStreamSuperClusterConsumersBrokenGateways (line 1242) | func TestJetStreamSuperClusterConsumersBrokenGateways(t *testing.T) { function TestJetStreamSuperClusterLeafNodesWithSharedSystemAccountAndSameDomain (line 1359) | func TestJetStreamSuperClusterLeafNodesWithSharedSystemAccountAndSameDom... function TestJetStreamSuperClusterLeafNodesWithSharedSystemAccountAndDifferentDomain (line 1438) | func TestJetStreamSuperClusterLeafNodesWithSharedSystemAccountAndDiffere... function TestJetStreamSuperClusterSingleLeafNodeWithSharedSystemAccount (line 1512) | func TestJetStreamSuperClusterSingleLeafNodeWithSharedSystemAccount(t *t... function TestJetStreamSuperClusterGetNextRewrite (line 1559) | func TestJetStreamSuperClusterGetNextRewrite(t *testing.T) { function TestJetStreamSuperClusterEphemeralCleanup (line 1594) | func TestJetStreamSuperClusterEphemeralCleanup(t *testing.T) { function TestJetStreamSuperClusterGetNextSubRace (line 1693) | func TestJetStreamSuperClusterGetNextSubRace(t *testing.T) { function TestJetStreamSuperClusterPullConsumerAndHeaders (line 1775) | func TestJetStreamSuperClusterPullConsumerAndHeaders(t *testing.T) { function TestJetStreamSuperClusterStatszActiveServers (line 1836) | func TestJetStreamSuperClusterStatszActiveServers(t *testing.T) { function TestJetStreamSuperClusterSourceAndMirrorConsumersLeaderChange (line 1874) | func TestJetStreamSuperClusterSourceAndMirrorConsumersLeaderChange(t *te... function TestJetStreamSuperClusterPushConsumerInterest (line 1958) | func TestJetStreamSuperClusterPushConsumerInterest(t *testing.T) { function TestJetStreamSuperClusterOverflowPlacement (line 2006) | func TestJetStreamSuperClusterOverflowPlacement(t *testing.T) { function TestJetStreamSuperClusterConcurrentOverflow (line 2081) | func TestJetStreamSuperClusterConcurrentOverflow(t *testing.T) { function TestJetStreamSuperClusterStreamTagPlacement (line 2118) | func TestJetStreamSuperClusterStreamTagPlacement(t *testing.T) { function TestJetStreamSuperClusterRemovedPeersAndStreamsListAndDelete (line 2164) | func TestJetStreamSuperClusterRemovedPeersAndStreamsListAndDelete(t *tes... function TestJetStreamSuperClusterConsumerDeliverNewBug (line 2261) | func TestJetStreamSuperClusterConsumerDeliverNewBug(t *testing.T) { function TestJetStreamSuperClusterMovingStreamsAndConsumers (line 2349) | func TestJetStreamSuperClusterMovingStreamsAndConsumers(t *testing.T) { function TestJetStreamSuperClusterMovingStreamsWithMirror (line 2616) | func TestJetStreamSuperClusterMovingStreamsWithMirror(t *testing.T) { function TestJetStreamSuperClusterMovingStreamAndMoveBack (line 2732) | func TestJetStreamSuperClusterMovingStreamAndMoveBack(t *testing.T) { function TestJetStreamSuperClusterImportConsumerStreamSubjectRemap (line 2814) | func TestJetStreamSuperClusterImportConsumerStreamSubjectRemap(t *testin... function TestJetStreamSuperClusterMaxHaAssets (line 3000) | func TestJetStreamSuperClusterMaxHaAssets(t *testing.T) { function TestJetStreamSuperClusterStreamAlternates (line 3105) | func TestJetStreamSuperClusterStreamAlternates(t *testing.T) { function TestJetStreamSuperClusterStateOnRestartPreventsConsumerRecovery (line 3170) | func TestJetStreamSuperClusterStateOnRestartPreventsConsumerRecovery(t *... function TestJetStreamSuperClusterStreamDirectGetMirrorQueueGroup (line 3233) | func TestJetStreamSuperClusterStreamDirectGetMirrorQueueGroup(t *testing... function TestJetStreamSuperClusterTagInducedMoveCancel (line 3341) | func TestJetStreamSuperClusterTagInducedMoveCancel(t *testing.T) { function TestJetStreamSuperClusterMoveCancel (line 3408) | func TestJetStreamSuperClusterMoveCancel(t *testing.T) { function TestJetStreamSuperClusterDoubleStreamMove (line 3564) | func TestJetStreamSuperClusterDoubleStreamMove(t *testing.T) { function TestJetStreamSuperClusterPeerEvacuationAndStreamReassignment (line 3758) | func TestJetStreamSuperClusterPeerEvacuationAndStreamReassignment(t *tes... function TestJetStreamSuperClusterMirrorInheritsAllowDirect (line 3961) | func TestJetStreamSuperClusterMirrorInheritsAllowDirect(t *testing.T) { function TestJetStreamSuperClusterSystemLimitsPlacement (line 3996) | func TestJetStreamSuperClusterSystemLimitsPlacement(t *testing.T) { function TestJetStreamSuperClusterMixedModeSwitchToInterestOnlyStaticConfig (line 4235) | func TestJetStreamSuperClusterMixedModeSwitchToInterestOnlyStaticConfig(... function TestJetStreamSuperClusterMixedModeSwitchToInterestOnlyOperatorConfig (line 4328) | func TestJetStreamSuperClusterMixedModeSwitchToInterestOnlyOperatorConfi... type captureGWRewriteLogger (line 4445) | type captureGWRewriteLogger struct method Tracef (line 4450) | func (l *captureGWRewriteLogger) Tracef(format string, args ...any) { function TestJetStreamSuperClusterGWReplyRewrite (line 4460) | func TestJetStreamSuperClusterGWReplyRewrite(t *testing.T) { function TestJetStreamSuperClusterGWOfflineSatus (line 4519) | func TestJetStreamSuperClusterGWOfflineSatus(t *testing.T) { function TestJetStreamSuperClusterMovingR1Stream (line 4637) | func TestJetStreamSuperClusterMovingR1Stream(t *testing.T) { function TestJetStreamSuperClusterR1StreamPeerRemove (line 4701) | func TestJetStreamSuperClusterR1StreamPeerRemove(t *testing.T) { function TestJetStreamSuperClusterConsumerPauseAdvisories (line 4731) | func TestJetStreamSuperClusterConsumerPauseAdvisories(t *testing.T) { function TestJetStreamSuperClusterConsumerAckSubjectWithStreamImportProtocolError (line 4815) | func TestJetStreamSuperClusterConsumerAckSubjectWithStreamImportProtocol... FILE: server/jetstream_test.go function TestJetStreamBasicNilConfig (line 51) | func TestJetStreamBasicNilConfig(t *testing.T) { function RunBasicJetStreamServer (line 92) | func RunBasicJetStreamServer(t testing.TB) *Server { function RunJetStreamServerOnPort (line 100) | func RunJetStreamServerOnPort(port int, sd string) *Server { function clientConnectToServer (line 108) | func clientConnectToServer(t *testing.T, s *Server) *nats.Conn { function clientConnectWithOldRequest (line 120) | func clientConnectWithOldRequest(t *testing.T, s *Server) *nats.Conn { function TestJetStreamEnableAndDisableAccount (line 128) | func TestJetStreamEnableAndDisableAccount(t *testing.T) { function TestJetStreamAddStream (line 178) | func TestJetStreamAddStream(t *testing.T) { function TestJetStreamAddStreamDiscardNew (line 236) | func TestJetStreamAddStreamDiscardNew(t *testing.T) { function TestJetStreamAutoTuneFSConfig (line 303) | func TestJetStreamAutoTuneFSConfig(t *testing.T) { function TestJetStreamPubAck (line 354) | func TestJetStreamPubAck(t *testing.T) { function TestJetStreamNextReqFromMsg (line 396) | func TestJetStreamNextReqFromMsg(t *testing.T) { function TestJetStreamNoPanicOnRaceBetweenShutdownAndConsumerDelete (line 406) | func TestJetStreamNoPanicOnRaceBetweenShutdownAndConsumerDelete(t *testi... function TestJetStreamAddStreamMaxMsgSize (line 450) | func TestJetStreamAddStreamMaxMsgSize(t *testing.T) { function TestJetStreamAddStreamCanonicalNames (line 502) | func TestJetStreamAddStreamCanonicalNames(t *testing.T) { function TestJetStreamAddStreamBadSubjects (line 524) | func TestJetStreamAddStreamBadSubjects(t *testing.T) { function TestJetStreamMaxConsumers (line 553) | func TestJetStreamMaxConsumers(t *testing.T) { function TestJetStreamAddStreamOverlappingSubjects (line 615) | func TestJetStreamAddStreamOverlappingSubjects(t *testing.T) { function TestJetStreamAddStreamOverlapWithJSAPISubjects (line 651) | func TestJetStreamAddStreamOverlapWithJSAPISubjects(t *testing.T) { function TestJetStreamAddStreamSameConfigOK (line 701) | func TestJetStreamAddStreamSameConfigOK(t *testing.T) { function sendStreamMsg (line 724) | func sendStreamMsg(t *testing.T, nc *nats.Conn, subject, msg string) *Pu... function TestJetStreamBasicAckPublish (line 737) | func TestJetStreamBasicAckPublish(t *testing.T) { function TestJetStreamStateTimestamps (line 770) | func TestJetStreamStateTimestamps(t *testing.T) { function TestJetStreamNoAckStream (line 809) | func TestJetStreamNoAckStream(t *testing.T) { function TestJetStreamBasicDeliverSubject (line 844) | func TestJetStreamBasicDeliverSubject(t *testing.T) { function workerModeConfig (line 996) | func workerModeConfig(name string) *ConsumerConfig { function TestJetStreamBasicWorkQueue (line 1000) | func TestJetStreamBasicWorkQueue(t *testing.T) { function TestJetStreamWorkQueueMaxWaiting (line 1094) | func TestJetStreamWorkQueueMaxWaiting(t *testing.T) { function TestJetStreamWorkQueueWrapWaiting (line 1185) | func TestJetStreamWorkQueueWrapWaiting(t *testing.T) { function TestJetStreamWorkQueueRequest (line 1267) | func TestJetStreamWorkQueueRequest(t *testing.T) { function TestJetStreamSubjectFiltering (line 1385) | func TestJetStreamSubjectFiltering(t *testing.T) { function TestJetStreamWorkQueueSubjectFiltering (line 1455) | func TestJetStreamWorkQueueSubjectFiltering(t *testing.T) { function TestJetStreamWildcardSubjectFiltering (line 1522) | func TestJetStreamWildcardSubjectFiltering(t *testing.T) { function TestJetStreamWorkQueueAckAndNext (line 1634) | func TestJetStreamWorkQueueAckAndNext(t *testing.T) { function TestJetStreamWorkQueueRequestBatch (line 1703) | func TestJetStreamWorkQueueRequestBatch(t *testing.T) { function TestJetStreamWorkQueueRetentionStream (line 1788) | func TestJetStreamWorkQueueRetentionStream(t *testing.T) { function TestJetStreamAckAllRedelivery (line 1921) | func TestJetStreamAckAllRedelivery(t *testing.T) { function TestJetStreamAckReplyStreamPending (line 1993) | func TestJetStreamAckReplyStreamPending(t *testing.T) { function TestJetStreamAckReplyStreamPendingWithAcks (line 2138) | func TestJetStreamAckReplyStreamPendingWithAcks(t *testing.T) { function TestJetStreamWorkQueueAckWaitRedelivery (line 2213) | func TestJetStreamWorkQueueAckWaitRedelivery(t *testing.T) { function TestJetStreamWorkQueueNakRedelivery (line 2311) | func TestJetStreamWorkQueueNakRedelivery(t *testing.T) { function TestJetStreamWorkQueueWorkingIndicator (line 2384) | func TestJetStreamWorkQueueWorkingIndicator(t *testing.T) { function TestJetStreamWorkQueueTerminateDelivery (line 2465) | func TestJetStreamWorkQueueTerminateDelivery(t *testing.T) { function TestJetStreamAckNext (line 2565) | func TestJetStreamAckNext(t *testing.T) { function TestJetStreamPublishDeDupe (line 2657) | func TestJetStreamPublishDeDupe(t *testing.T) { function getPubAckResponse (line 2809) | func getPubAckResponse(msg []byte) *JSPubAckResponse { function TestJetStreamPublishExpect (line 2817) | func TestJetStreamPublishExpect(t *testing.T) { function TestJetStreamRedeliveryAfterServerRestart (line 2907) | func TestJetStreamRedeliveryAfterServerRestart(t *testing.T) { function TestJetStreamUsageNoReservation (line 2978) | func TestJetStreamUsageNoReservation(t *testing.T) { function TestJetStreamUsageReservationNegativeMaxBytes (line 3015) | func TestJetStreamUsageReservationNegativeMaxBytes(t *testing.T) { function TestJetStreamSnapshots (line 3097) | func TestJetStreamSnapshots(t *testing.T) { function TestJetStreamSnapshotsAPI (line 3224) | func TestJetStreamSnapshotsAPI(t *testing.T) { function TestJetStreamPubAckPerf (line 3595) | func TestJetStreamPubAckPerf(t *testing.T) { function TestJetStreamPubPerfWithFullStream (line 3620) | func TestJetStreamPubPerfWithFullStream(t *testing.T) { function TestJetStreamSnapshotsAPIPerf (line 3655) | func TestJetStreamSnapshotsAPIPerf(t *testing.T) { function TestJetStreamActiveDelivery (line 3726) | func TestJetStreamActiveDelivery(t *testing.T) { function TestJetStreamEphemeralConsumers (line 3781) | func TestJetStreamEphemeralConsumers(t *testing.T) { function TestJetStreamMetadata (line 3855) | func TestJetStreamMetadata(t *testing.T) { function TestJetStreamRedeliverCount (line 3959) | func TestJetStreamRedeliverCount(t *testing.T) { function TestJetStreamRedeliverAndLateAck (line 4028) | func TestJetStreamRedeliverAndLateAck(t *testing.T) { function TestJetStreamPendingNextTimer (line 4065) | func TestJetStreamPendingNextTimer(t *testing.T) { function TestJetStreamCanNotNakAckd (line 4109) | func TestJetStreamCanNotNakAckd(t *testing.T) { function TestJetStreamStreamPurge (line 4182) | func TestJetStreamStreamPurge(t *testing.T) { function TestJetStreamStreamPurgeWithConsumer (line 4238) | func TestJetStreamStreamPurgeWithConsumer(t *testing.T) { function TestJetStreamStreamPurgeWithConsumerAndRedelivery (line 4328) | func TestJetStreamStreamPurgeWithConsumerAndRedelivery(t *testing.T) { function TestJetStreamInterestRetentionStream (line 4411) | func TestJetStreamInterestRetentionStream(t *testing.T) { function TestJetStreamInterestRetentionStreamWithFilteredConsumers (line 4553) | func TestJetStreamInterestRetentionStreamWithFilteredConsumers(t *testin... function TestJetStreamInterestRetentionWithWildcardsAndFilteredConsumers (line 4630) | func TestJetStreamInterestRetentionWithWildcardsAndFilteredConsumers(t *... function TestJetStreamInterestRetentionStreamWithDurableRestart (line 4691) | func TestJetStreamInterestRetentionStreamWithDurableRestart(t *testing.T) { function TestJetStreamSystemLimits (line 4837) | func TestJetStreamSystemLimits(t *testing.T) { function TestJetStreamSystemLimitsPlacement (line 5004) | func TestJetStreamSystemLimitsPlacement(t *testing.T) { function TestJetStreamStreamLimitUpdate (line 5234) | func TestJetStreamStreamLimitUpdate(t *testing.T) { function TestJetStreamStreamStorageTrackingAndLimits (line 5273) | func TestJetStreamStreamStorageTrackingAndLimits(t *testing.T) { function TestJetStreamStreamFileTrackingAndLimits (line 5406) | func TestJetStreamStreamFileTrackingAndLimits(t *testing.T) { function TestJetStreamTieredLimits (line 5525) | func TestJetStreamTieredLimits(t *testing.T) { type obsi (line 5564) | type obsi struct type info (line 5569) | type info struct function TestJetStreamSimpleFileRecovery (line 5575) | func TestJetStreamSimpleFileRecovery(t *testing.T) { function TestJetStreamPushConsumerFlowControl (line 5690) | func TestJetStreamPushConsumerFlowControl(t *testing.T) { function TestJetStreamFlowControlRequiresHeartbeats (line 5784) | func TestJetStreamFlowControlRequiresHeartbeats(t *testing.T) { function TestJetStreamPushConsumerIdleHeartbeats (line 5804) | func TestJetStreamPushConsumerIdleHeartbeats(t *testing.T) { function TestJetStreamPushConsumerIdleHeartbeatsWithFilterSubject (line 5864) | func TestJetStreamPushConsumerIdleHeartbeatsWithFilterSubject(t *testing... function TestJetStreamPushConsumerIdleHeartbeatsWithNoInterest (line 5917) | func TestJetStreamPushConsumerIdleHeartbeatsWithNoInterest(t *testing.T) { function TestJetStreamInfoAPIWithHeaders (line 5970) | func TestJetStreamInfoAPIWithHeaders(t *testing.T) { function TestJetStreamRequestAPI (line 5995) | func TestJetStreamRequestAPI(t *testing.T) { function TestJetStreamFilteredStreamNames (line 6361) | func TestJetStreamFilteredStreamNames(t *testing.T) { function TestJetStreamUpdateStream (line 6409) | func TestJetStreamUpdateStream(t *testing.T) { function TestJetStreamDeleteMsg (line 6616) | func TestJetStreamDeleteMsg(t *testing.T) { function TestJetStreamLimitLockBug (line 6777) | func TestJetStreamLimitLockBug(t *testing.T) { function TestJetStreamNextMsgNoInterest (line 6826) | func TestJetStreamNextMsgNoInterest(t *testing.T) { function TestJetStreamMsgHeaders (line 6915) | func TestJetStreamMsgHeaders(t *testing.T) { function TestJetStreamSingleInstanceRemoteAccess (line 7021) | func TestJetStreamSingleInstanceRemoteAccess(t *testing.T) { function clientConnectToServerWithUP (line 7115) | func clientConnectToServerWithUP(t *testing.T, opts *Options, user, pass... function TestJetStreamCanNotEnableOnSystemAccount (line 7124) | func TestJetStreamCanNotEnableOnSystemAccount(t *testing.T) { function TestJetStreamMultipleAccountsBasics (line 7134) | func TestJetStreamMultipleAccountsBasics(t *testing.T) { function TestJetStreamServerResourcesConfig (line 7296) | func TestJetStreamServerResourcesConfig(t *testing.T) { function TestJetStreamStoreDirectoryFix (line 7323) | func TestJetStreamStoreDirectoryFix(t *testing.T) { function TestJetStreamPushConsumersPullError (line 7382) | func TestJetStreamPushConsumersPullError(t *testing.T) { function TestJetStreamChangeConsumerType (line 7410) | func TestJetStreamChangeConsumerType(t *testing.T) { function TestJetStreamPubPerf (line 7456) | func TestJetStreamPubPerf(t *testing.T) { function TestJetStreamPubWithAsyncResponsePerf (line 7518) | func TestJetStreamPubWithAsyncResponsePerf(t *testing.T) { function TestJetStreamPubWithSyncPerf (line 7554) | func TestJetStreamPubWithSyncPerf(t *testing.T) { function TestJetStreamPubSubPerf (line 7580) | func TestJetStreamPubSubPerf(t *testing.T) { function TestJetStreamAckExplicitMsgRemoval (line 7639) | func TestJetStreamAckExplicitMsgRemoval(t *testing.T) { function TestJetStreamStoredMsgsDontDisappearAfterCacheExpiration (line 7841) | func TestJetStreamStoredMsgsDontDisappearAfterCacheExpiration(t *testing... function TestJetStreamDeliveryAfterServerRestart (line 7922) | func TestJetStreamDeliveryAfterServerRestart(t *testing.T) { function TestJetStreamAccountImportBasics (line 8025) | func TestJetStreamAccountImportBasics(t *testing.T) { function TestJetStreamAccountImportJSAdvisoriesAsService (line 8166) | func TestJetStreamAccountImportJSAdvisoriesAsService(t *testing.T) { function TestJetStreamAccountImportJSAdvisoriesAsStream (line 8279) | func TestJetStreamAccountImportJSAdvisoriesAsStream(t *testing.T) { function TestJetStreamAccountImportAll (line 8390) | func TestJetStreamAccountImportAll(t *testing.T) { function TestJetStreamServerReload (line 8453) | func TestJetStreamServerReload(t *testing.T) { function TestJetStreamConfigReloadWithGlobalAccount (line 8525) | func TestJetStreamConfigReloadWithGlobalAccount(t *testing.T) { function TestJetStreamMaxMsgsPerSubject (line 8594) | func TestJetStreamMaxMsgsPerSubject(t *testing.T) { function TestJetStreamGetLastMsgBySubject (line 8664) | func TestJetStreamGetLastMsgBySubject(t *testing.T) { function TestJetStreamGetLastMsgBySubjectAfterUpdate (line 8765) | func TestJetStreamGetLastMsgBySubjectAfterUpdate(t *testing.T) { function TestJetStreamLastSequenceBySubject (line 8826) | func TestJetStreamLastSequenceBySubject(t *testing.T) { function TestJetStreamLastSequenceBySubjectWithSubject (line 8892) | func TestJetStreamLastSequenceBySubjectWithSubject(t *testing.T) { function TestJetStreamFilteredConsumersWithWiderFilter (line 8999) | func TestJetStreamFilteredConsumersWithWiderFilter(t *testing.T) { function TestJetStreamMirrorAndSourcesFilteredConsumers (line 9047) | func TestJetStreamMirrorAndSourcesFilteredConsumers(t *testing.T) { function TestJetStreamMirrorBasics (line 9115) | func TestJetStreamMirrorBasics(t *testing.T) { function TestJetStreamMirrorStripExpectedHeaders (line 9361) | func TestJetStreamMirrorStripExpectedHeaders(t *testing.T) { function TestJetStreamMirrorUpdatePreventsSubjects (line 9412) | func TestJetStreamMirrorUpdatePreventsSubjects(t *testing.T) { function TestJetStreamSourceBasics (line 9432) | func TestJetStreamSourceBasics(t *testing.T) { function TestJetStreamSourceWorkingQueueWithLimit (line 9677) | func TestJetStreamSourceWorkingQueueWithLimit(t *testing.T) { function TestJetStreamStreamSourceFromKV (line 9749) | func TestJetStreamStreamSourceFromKV(t *testing.T) { function TestJetStreamInputTransform (line 9803) | func TestJetStreamInputTransform(t *testing.T) { function TestJetStreamOperatorAccounts (line 9843) | func TestJetStreamOperatorAccounts(t *testing.T) { function TestJetStreamServerDomainBadConfig (line 9883) | func TestJetStreamServerDomainBadConfig(t *testing.T) { function TestJetStreamServerDomainConfig (line 9903) | func TestJetStreamServerDomainConfig(t *testing.T) { function TestJetStreamServerDomainConfigButDisabled (line 9922) | func TestJetStreamServerDomainConfigButDisabled(t *testing.T) { function TestJetStreamDomainInPubAck (line 9941) | func TestJetStreamDomainInPubAck(t *testing.T) { function TestJetStreamDirectConsumersBeingReported (line 9973) | func TestJetStreamDirectConsumersBeingReported(t *testing.T) { function TestJetStreamTemplatedErrorsBug (line 10037) | func TestJetStreamTemplatedErrorsBug(t *testing.T) { function TestJetStreamServerEncryption (line 10057) | func TestJetStreamServerEncryption(t *testing.T) { function TestJetStreamServerEncryptionServerRestarts (line 10263) | func TestJetStreamServerEncryptionServerRestarts(t *testing.T) { function TestJetStreamDeliverLastPerSubject (line 10343) | func TestJetStreamDeliverLastPerSubject(t *testing.T) { function TestJetStreamDeliverLastPerSubjectNumPending (line 10481) | func TestJetStreamDeliverLastPerSubjectNumPending(t *testing.T) { function TestJetStreamPurgeEffectsConsumerDelivery (line 10525) | func TestJetStreamPurgeEffectsConsumerDelivery(t *testing.T) { function TestJetStreamExpireCausesDeadlock (line 10570) | func TestJetStreamExpireCausesDeadlock(t *testing.T) { function TestJetStreamDefaultMaxMsgsPer (line 10614) | func TestJetStreamDefaultMaxMsgsPer(t *testing.T) { function TestJetStreamExpireAllWhileServerDown (line 10637) | func TestJetStreamExpireAllWhileServerDown(t *testing.T) { function TestJetStreamLongStreamNamesAndPubAck (line 10688) | func TestJetStreamLongStreamNamesAndPubAck(t *testing.T) { function TestJetStreamPerSubjectPending (line 10705) | func TestJetStreamPerSubjectPending(t *testing.T) { function TestJetStreamPublishExpectNoMsg (line 10761) | func TestJetStreamPublishExpectNoMsg(t *testing.T) { function TestJetStreamNegativeDupeWindow (line 10805) | func TestJetStreamNegativeDupeWindow(t *testing.T) { function TestJetStreamMirroredConsumerFailAfterRestart (line 10835) | func TestJetStreamMirroredConsumerFailAfterRestart(t *testing.T) { function TestJetStreamDisabledLimitsEnforcementJWT (line 10892) | func TestJetStreamDisabledLimitsEnforcementJWT(t *testing.T) { function TestJetStreamDisabledLimitsEnforcement (line 10947) | func TestJetStreamDisabledLimitsEnforcement(t *testing.T) { function TestJetStreamPurgeAndFilteredConsumers (line 10982) | func TestJetStreamPurgeAndFilteredConsumers(t *testing.T) { function TestJetStreamLargeExpiresAndServerRestart (line 11060) | func TestJetStreamLargeExpiresAndServerRestart(t *testing.T) { function TestJetStreamMessagePerSubjectKeepBug (line 11108) | func TestJetStreamMessagePerSubjectKeepBug(t *testing.T) { function TestJetStreamInvalidDeliverSubject (line 11147) | func TestJetStreamInvalidDeliverSubject(t *testing.T) { function TestJetStreamMemoryCorruption (line 11163) | func TestJetStreamMemoryCorruption(t *testing.T) { function TestJetStreamRecoverBadStreamSubjects (line 11227) | func TestJetStreamRecoverBadStreamSubjects(t *testing.T) { function TestJetStreamRecoverBadMirrorConfigWithSubjects (line 11255) | func TestJetStreamRecoverBadMirrorConfigWithSubjects(t *testing.T) { function TestJetStreamCrossAccountsDeliverSubjectInterest (line 11297) | func TestJetStreamCrossAccountsDeliverSubjectInterest(t *testing.T) { function TestJetStreamEphemeralPullConsumers (line 11373) | func TestJetStreamEphemeralPullConsumers(t *testing.T) { function TestJetStreamEphemeralPullConsumersInactiveThresholdAndNoWait (line 11438) | func TestJetStreamEphemeralPullConsumersInactiveThresholdAndNoWait(t *te... function TestJetStreamNakRedeliveryWithNoWait (line 11470) | func TestJetStreamNakRedeliveryWithNoWait(t *testing.T) { function TestJetStreamMaxMsgsPerSubjectWithDiscardNew (line 11537) | func TestJetStreamMaxMsgsPerSubjectWithDiscardNew(t *testing.T) { function TestJetStreamStreamInfoSubjectsDetails (line 11610) | func TestJetStreamStreamInfoSubjectsDetails(t *testing.T) { function TestJetStreamStreamInfoSubjectsDetailsWithDeleteAndPurge (line 11670) | func TestJetStreamStreamInfoSubjectsDetailsWithDeleteAndPurge(t *testing... function TestJetStreamStreamInfoSubjectsDetailsAfterRestart (line 11756) | func TestJetStreamStreamInfoSubjectsDetailsAfterRestart(t *testing.T) { function TestJetStreamInterestRetentionBug (line 11813) | func TestJetStreamInterestRetentionBug(t *testing.T) { function TestJetStreamFlowControlStall (line 11858) | func TestJetStreamFlowControlStall(t *testing.T) { function TestJetStreamStorageReservedBytes (line 11884) | func TestJetStreamStorageReservedBytes(t *testing.T) { function TestJetStreamRestoreBadStream (line 12093) | func TestJetStreamRestoreBadStream(t *testing.T) { function TestJetStreamRemoveExternalSource (line 12150) | func TestJetStreamRemoveExternalSource(t *testing.T) { function TestJetStreamAddStreamWithFilestoreFailure (line 12333) | func TestJetStreamAddStreamWithFilestoreFailure(t *testing.T) { type checkFastState (line 12347) | type checkFastState struct method FastState (line 12352) | func (s *checkFastState) FastState(state *StreamState) { function TestJetStreamBackOffCheckPending (line 12360) | func TestJetStreamBackOffCheckPending(t *testing.T) { function TestJetStreamCrossAccounts (line 12422) | func TestJetStreamCrossAccounts(t *testing.T) { function TestJetStreamInvalidRestoreRequests (line 12603) | func TestJetStreamInvalidRestoreRequests(t *testing.T) { function TestJetStreamLimits (line 12679) | func TestJetStreamLimits(t *testing.T) { function TestJetStreamImportReload (line 12799) | func TestJetStreamImportReload(t *testing.T) { function TestJetStreamRecoverSealedAfterServerRestart (line 12866) | func TestJetStreamRecoverSealedAfterServerRestart(t *testing.T) { function TestJetStreamImportConsumerStreamSubjectRemapSingle (line 12901) | func TestJetStreamImportConsumerStreamSubjectRemapSingle(t *testing.T) { function TestJetStreamWorkQueueSourceRestart (line 13010) | func TestJetStreamWorkQueueSourceRestart(t *testing.T) { function TestJetStreamWorkQueueSourceNamingRestart (line 13111) | func TestJetStreamWorkQueueSourceNamingRestart(t *testing.T) { function TestJetStreamDisabledHealthz (line 13212) | func TestJetStreamDisabledHealthz(t *testing.T) { function TestJetStreamStreamRepublishCycle (line 13230) | func TestJetStreamStreamRepublishCycle(t *testing.T) { function TestJetStreamStreamRepublishOneTokenMatch (line 13283) | func TestJetStreamStreamRepublishOneTokenMatch(t *testing.T) { function TestJetStreamStreamRepublishMultiTokenMatch (line 13325) | func TestJetStreamStreamRepublishMultiTokenMatch(t *testing.T) { function TestJetStreamStreamRepublishAnySubjectMatch (line 13367) | func TestJetStreamStreamRepublishAnySubjectMatch(t *testing.T) { function TestJetStreamStreamRepublishMultiTokenNoMatch (line 13408) | func TestJetStreamStreamRepublishMultiTokenNoMatch(t *testing.T) { function TestJetStreamStreamRepublishOneTokenNoMatch (line 13445) | func TestJetStreamStreamRepublishOneTokenNoMatch(t *testing.T) { function TestJetStreamStreamRepublishHeadersOnly (line 13482) | func TestJetStreamStreamRepublishHeadersOnly(t *testing.T) { function TestJetStreamMsgGetNoAdvisory (line 13533) | func TestJetStreamMsgGetNoAdvisory(t *testing.T) { function TestJetStreamDirectMsgGet (line 13561) | func TestJetStreamDirectMsgGet(t *testing.T) { function TestJetStreamDirectMsgGetNext (line 13653) | func TestJetStreamDirectMsgGetNext(t *testing.T) { function Benchmark__JetStreamPubWithAck (line 13715) | func Benchmark__JetStreamPubWithAck(b *testing.B) { function Benchmark____JetStreamPubNoAck (line 13743) | func Benchmark____JetStreamPubNoAck(b *testing.B) { function Benchmark_JetStreamPubAsyncAck (line 13774) | func Benchmark_JetStreamPubAsyncAck(b *testing.B) { function Benchmark____JetStreamSubNoAck (line 13823) | func Benchmark____JetStreamSubNoAck(b *testing.B) { function benchJetStreamWorkersAndBatch (line 13880) | func benchJetStreamWorkersAndBatch(b *testing.B, numWorkers, batchSize i... function Benchmark___JetStream1x1Worker (line 13957) | func Benchmark___JetStream1x1Worker(b *testing.B) { function Benchmark__JetStream1x1kWorker (line 13961) | func Benchmark__JetStream1x1kWorker(b *testing.B) { function Benchmark_JetStream10x1kWorker (line 13965) | func Benchmark_JetStream10x1kWorker(b *testing.B) { function Benchmark_JetStream4x512Worker (line 13969) | func Benchmark_JetStream4x512Worker(b *testing.B) { function TestJetStreamKVMemoryStorePerf (line 13973) | func TestJetStreamKVMemoryStorePerf(t *testing.T) { function TestJetStreamKVMemoryStoreDirectGetPerf (line 14008) | func TestJetStreamKVMemoryStoreDirectGetPerf(t *testing.T) { function TestJetStreamMultiplePullPerf (line 14047) | func TestJetStreamMultiplePullPerf(t *testing.T) { function TestJetStreamMirrorUpdatesNotSupported (line 14127) | func TestJetStreamMirrorUpdatesNotSupported(t *testing.T) { function TestJetStreamMirrorFirstSeqNotSupported (line 14150) | func TestJetStreamMirrorFirstSeqNotSupported(t *testing.T) { function TestJetStreamDirectGetBySubject (line 14166) | func TestJetStreamDirectGetBySubject(t *testing.T) { function TestJetStreamProperErrorDueToOverlapSubjects (line 14265) | func TestJetStreamProperErrorDueToOverlapSubjects(t *testing.T) { function TestJetStreamServerCipherConvert (line 14304) | func TestJetStreamServerCipherConvert(t *testing.T) { function TestJetStreamAllowDirectAfterUpdate (line 14383) | func TestJetStreamAllowDirectAfterUpdate(t *testing.T) { function TestJetStreamSubjectBasedFilteredConsumers (line 14421) | func TestJetStreamSubjectBasedFilteredConsumers(t *testing.T) { function TestJetStreamStreamSubjectsOverlap (line 14543) | func TestJetStreamStreamSubjectsOverlap(t *testing.T) { function TestJetStreamStreamTransformOverlap (line 14578) | func TestJetStreamStreamTransformOverlap(t *testing.T) { function TestJetStreamSuppressAllowDirect (line 14610) | func TestJetStreamSuppressAllowDirect(t *testing.T) { function TestJetStreamAccountPurge (line 14641) | func TestJetStreamAccountPurge(t *testing.T) { function TestJetStreamDanglingMessageAutoCleanup (line 14733) | func TestJetStreamDanglingMessageAutoCleanup(t *testing.T) { function TestJetStreamMsgIDHeaderCollision (line 14802) | func TestJetStreamMsgIDHeaderCollision(t *testing.T) { function TestJetStreamServerCrashOnPullConsumerDeleteWithInactiveThresholdAfterAck (line 14855) | func TestJetStreamServerCrashOnPullConsumerDeleteWithInactiveThresholdAf... function createConsumer (line 14887) | func createConsumer(t *testing.T, nc *nats.Conn, stream string, config C... function TestJetStreamBothFiltersSet (line 14900) | func TestJetStreamBothFiltersSet(t *testing.T) { function TestJetStreamMultipleSubjectsPushBasic (line 14925) | func TestJetStreamMultipleSubjectsPushBasic(t *testing.T) { function TestJetStreamMultipleSubjectsBasic (line 14972) | func TestJetStreamMultipleSubjectsBasic(t *testing.T) { function TestJetStreamKVDelete (line 15019) | func TestJetStreamKVDelete(t *testing.T) { function TestJetStreamDeliverLastPerSubjectWithKV (line 15088) | func TestJetStreamDeliverLastPerSubjectWithKV(t *testing.T) { function TestJetStreamStreamUpdateSubjectsOverlapOthers (line 15144) | func TestJetStreamStreamUpdateSubjectsOverlapOthers(t *testing.T) { function TestJetStreamMetaDataFailOnKernelFault (line 15179) | func TestJetStreamMetaDataFailOnKernelFault(t *testing.T) { function TestJetStreamMsgBlkFailOnKernelFault (line 15257) | func TestJetStreamMsgBlkFailOnKernelFault(t *testing.T) { function TestJetStreamPurgeExAndAccounting (line 15337) | func TestJetStreamPurgeExAndAccounting(t *testing.T) { function TestJetStreamRollup (line 15398) | func TestJetStreamRollup(t *testing.T) { function TestJetStreamPartialPurgeWithAckPending (line 15454) | func TestJetStreamPartialPurgeWithAckPending(t *testing.T) { function TestJetStreamPurgeWithRedeliveredPending (line 15560) | func TestJetStreamPurgeWithRedeliveredPending(t *testing.T) { function TestJetStreamStreamUpdateWithExternalSource (line 15607) | func TestJetStreamStreamUpdateWithExternalSource(t *testing.T) { function TestJetStreamKVHistoryRegression (line 15687) | func TestJetStreamKVHistoryRegression(t *testing.T) { function TestJetStreamSnapshotRestoreStallAndHealthz (line 15743) | func TestJetStreamSnapshotRestoreStallAndHealthz(t *testing.T) { function TestJetStreamMaxBytesIgnored (line 15778) | func TestJetStreamMaxBytesIgnored(t *testing.T) { function TestJetStreamLastSequenceBySubjectConcurrent (line 15830) | func TestJetStreamLastSequenceBySubjectConcurrent(t *testing.T) { function TestJetStreamServerReencryption (line 15913) | func TestJetStreamServerReencryption(t *testing.T) { function TestJetStreamLimitsToInterestPolicy (line 16048) | func TestJetStreamLimitsToInterestPolicy(t *testing.T) { function TestJetStreamLimitsToInterestPolicyWhileAcking (line 16159) | func TestJetStreamLimitsToInterestPolicyWhileAcking(t *testing.T) { function TestJetStreamUsageSyncDeadlock (line 16252) | func TestJetStreamUsageSyncDeadlock(t *testing.T) { function TestJetStreamChangeMaxMessagesPerSubject (line 16281) | func TestJetStreamChangeMaxMessagesPerSubject(t *testing.T) { function TestJetStreamSyncInterval (line 16341) | func TestJetStreamSyncInterval(t *testing.T) { function TestJetStreamFilteredSubjectUsesNewConsumerCreateSubject (line 16390) | func TestJetStreamFilteredSubjectUsesNewConsumerCreateSubject(t *testing... function TestJetStreamKVReductionInHistory (line 16468) | func TestJetStreamKVReductionInHistory(t *testing.T) { function TestJetStreamDirectGetBatch (line 16524) | func TestJetStreamDirectGetBatch(t *testing.T) { function TestJetStreamDirectGetBatchMaxBytes (line 16660) | func TestJetStreamDirectGetBatchMaxBytes(t *testing.T) { function TestJetStreamMsgGetAsOfTime (line 16715) | func TestJetStreamMsgGetAsOfTime(t *testing.T) { function TestJetStreamMsgDirectGetAsOfTime (line 16776) | func TestJetStreamMsgDirectGetAsOfTime(t *testing.T) { function TestJetStreamSubjectFilteredPurgeClearsPendingAcks (line 16836) | func TestJetStreamSubjectFilteredPurgeClearsPendingAcks(t *testing.T) { function jsTestPause_CreateOrUpdateConsumer (line 16901) | func jsTestPause_CreateOrUpdateConsumer(t *testing.T, nc *nats.Conn, act... function jsTestPause_PauseConsumer (line 16919) | func jsTestPause_PauseConsumer(t *testing.T, nc *nats.Conn, stream, cons... function TestJetStreamDirectGetMulti (line 16933) | func TestJetStreamDirectGetMulti(t *testing.T) { function TestJetStreamDirectGetMultiUpToTime (line 17060) | func TestJetStreamDirectGetMultiUpToTime(t *testing.T) { function TestJetStreamDirectGetMultiMaxAllowed (line 17145) | func TestJetStreamDirectGetMultiMaxAllowed(t *testing.T) { function TestJetStreamDirectGetMultiPaging (line 17183) | func TestJetStreamDirectGetMultiPaging(t *testing.T) { function TestJetStreamInterestStreamConsumerFilterEdit (line 17278) | func TestJetStreamInterestStreamConsumerFilterEdit(t *testing.T) { function TestJetStreamInterestStreamWithFilterSubjectsConsumer (line 17329) | func TestJetStreamInterestStreamWithFilterSubjectsConsumer(t *testing.T) { function TestJetStreamAckAllWithLargeFirstSequenceAndNoAckFloor (line 17364) | func TestJetStreamAckAllWithLargeFirstSequenceAndNoAckFloor(t *testing.T) { function TestJetStreamAckAllWithLargeFirstSequenceAndNoAckFloorWithInterestPolicy (line 17431) | func TestJetStreamAckAllWithLargeFirstSequenceAndNoAckFloorWithInterestP... function TestJetStreamAuditStreams (line 17475) | func TestJetStreamAuditStreams(t *testing.T) { function TestJetStreamBadSubjectMappingStream (line 17597) | func TestJetStreamBadSubjectMappingStream(t *testing.T) { function TestJetStreamInterestStreamWithDuplicateMessages (line 17687) | func TestJetStreamInterestStreamWithDuplicateMessages(t *testing.T) { function TestJetStreamStreamCreatePedanticMode (line 17716) | func TestJetStreamStreamCreatePedanticMode(t *testing.T) { function TestJetStreamStrictMode (line 17814) | func TestJetStreamStrictMode(t *testing.T) { function addConsumerWithError (line 17915) | func addConsumerWithError(t *testing.T, nc *nats.Conn, cfg *CreateConsum... function TestJetStreamSourceRemovalAndReAdd (line 17931) | func TestJetStreamSourceRemovalAndReAdd(t *testing.T) { function TestJetStreamRateLimitHighStreamIngest (line 18019) | func TestJetStreamRateLimitHighStreamIngest(t *testing.T) { function TestJetStreamRateLimitHighStreamIngestDefaults (line 18075) | func TestJetStreamRateLimitHighStreamIngestDefaults(t *testing.T) { function TestJetStreamStreamConfigClone (line 18095) | func TestJetStreamStreamConfigClone(t *testing.T) { function TestIsJSONObjectOrArray (line 18130) | func TestIsJSONObjectOrArray(t *testing.T) { function TestJetStreamSourcingClipStartSeq (line 18160) | func TestJetStreamSourcingClipStartSeq(t *testing.T) { function TestJetStreamMirroringClipStartSeq (line 18203) | func TestJetStreamMirroringClipStartSeq(t *testing.T) { function TestJetStreamDelayedAPIResponses (line 18244) | func TestJetStreamDelayedAPIResponses(t *testing.T) { function TestJetStreamMemoryPurgeClearsSubjectsState (line 18331) | func TestJetStreamMemoryPurgeClearsSubjectsState(t *testing.T) { function TestJetStreamWouldExceedLimits (line 18364) | func TestJetStreamWouldExceedLimits(t *testing.T) { function TestJetStreamMessageTTL (line 18380) | func TestJetStreamMessageTTL(t *testing.T) { function TestJetStreamMessageTTLRestart (line 18424) | func TestJetStreamMessageTTLRestart(t *testing.T) { function TestJetStreamMessageTTLRecovered (line 18479) | func TestJetStreamMessageTTLRecovered(t *testing.T) { function TestJetStreamMessageTTLInvalid (line 18537) | func TestJetStreamMessageTTLInvalid(t *testing.T) { function TestJetStreamMessageTTLNotUpdatable (line 18569) | func TestJetStreamMessageTTLNotUpdatable(t *testing.T) { function TestJetStreamMessageTTLNeverExpire (line 18592) | func TestJetStreamMessageTTLNeverExpire(t *testing.T) { function TestJetStreamMessageTTLDisabled (line 18644) | func TestJetStreamMessageTTLDisabled(t *testing.T) { function TestJetStreamMessageTTLWhenSourcing (line 18671) | func TestJetStreamMessageTTLWhenSourcing(t *testing.T) { function TestJetStreamMessageTTLWhenMirroring (line 18753) | func TestJetStreamMessageTTLWhenMirroring(t *testing.T) { function TestJetStreamSubjectDeleteMarkers (line 18834) | func TestJetStreamSubjectDeleteMarkers(t *testing.T) { function TestJetStreamSubjectDeleteMarkersAfterRestart (line 18874) | func TestJetStreamSubjectDeleteMarkersAfterRestart(t *testing.T) { function TestJetStreamSubjectDeleteMarkersTTLRollupWithMaxAge (line 18928) | func TestJetStreamSubjectDeleteMarkersTTLRollupWithMaxAge(t *testing.T) { function TestJetStreamSubjectDeleteMarkersTTLRollupWithoutMaxAge (line 18989) | func TestJetStreamSubjectDeleteMarkersTTLRollupWithoutMaxAge(t *testing.... function TestJetStreamSubjectDeleteMarkersWithMirror (line 19052) | func TestJetStreamSubjectDeleteMarkersWithMirror(t *testing.T) { function TestJetStreamInterestMaxDeliveryReached (line 19080) | func TestJetStreamInterestMaxDeliveryReached(t *testing.T) { function TestJetStreamWQMaxDeliveryReached (line 19185) | func TestJetStreamWQMaxDeliveryReached(t *testing.T) { function TestJetStreamMaxDeliveryRedeliveredReporting (line 19258) | func TestJetStreamMaxDeliveryRedeliveredReporting(t *testing.T) { function TestJetStreamRecoversStreamFirstSeqWhenNotEmpty (line 19336) | func TestJetStreamRecoversStreamFirstSeqWhenNotEmpty(t *testing.T) { function TestJetStreamRecoversStreamFirstSeqWhenEmpty (line 19411) | func TestJetStreamRecoversStreamFirstSeqWhenEmpty(t *testing.T) { function TestJetStreamUpgradeStreamVersioning (line 19474) | func TestJetStreamUpgradeStreamVersioning(t *testing.T) { function TestJetStreamUpgradeConsumerVersioning (line 19521) | func TestJetStreamUpgradeConsumerVersioning(t *testing.T) { function TestJetStreamMirrorCrossAccountWithFilteredSubjectAndSubjectTransform (line 19608) | func TestJetStreamMirrorCrossAccountWithFilteredSubjectAndSubjectTransfo... function TestJetStreamFileStoreFirstSeqAfterRestart (line 19747) | func TestJetStreamFileStoreFirstSeqAfterRestart(t *testing.T) { function TestJetStreamCreateStreamWithSubjectDeleteMarkersOptions (line 19797) | func TestJetStreamCreateStreamWithSubjectDeleteMarkersOptions(t *testing... function TestJetStreamTHWExpireTasksRace (line 19887) | func TestJetStreamTHWExpireTasksRace(t *testing.T) { function TestJetStreamRejectLargePublishes (line 19981) | func TestJetStreamRejectLargePublishes(t *testing.T) { function TestJetStreamDirectGetSubjectDeleteMarker (line 20013) | func TestJetStreamDirectGetSubjectDeleteMarker(t *testing.T) { function TestJetStreamPurgeExSeqSimple (line 20050) | func TestJetStreamPurgeExSeqSimple(t *testing.T) { function TestJetStreamPurgeExSeqInInteriorDeleteGap (line 20088) | func TestJetStreamPurgeExSeqInInteriorDeleteGap(t *testing.T) { function TestJetStreamDirectGetUpToTime (line 20137) | func TestJetStreamDirectGetUpToTime(t *testing.T) { function TestJetStreamDirectGetStartTimeSingleMsg (line 20209) | func TestJetStreamDirectGetStartTimeSingleMsg(t *testing.T) { function TestJetStreamStreamRetentionUpdatesConsumers (line 20253) | func TestJetStreamStreamRetentionUpdatesConsumers(t *testing.T) { function TestJetStreamMaxMsgsPerSubjectAndDeliverLastPerSubject (line 20299) | func TestJetStreamMaxMsgsPerSubjectAndDeliverLastPerSubject(t *testing.T) { function TestJetStreamAllowMsgCounter (line 20392) | func TestJetStreamAllowMsgCounter(t *testing.T) { function TestJetStreamAllowMsgCounterMaxPayloadAndSize (line 20556) | func TestJetStreamAllowMsgCounterMaxPayloadAndSize(t *testing.T) { function TestJetStreamAllowMsgCounterIncompatibleSettings (line 20649) | func TestJetStreamAllowMsgCounterIncompatibleSettings(t *testing.T) { function TestJetStreamAllowMsgCounterMirror (line 20689) | func TestJetStreamAllowMsgCounterMirror(t *testing.T) { function TestJetStreamAllowMsgCounterSourceAggregates (line 20759) | func TestJetStreamAllowMsgCounterSourceAggregates(t *testing.T) { function TestJetStreamAllowMsgCounterSourceVerbatim (line 20844) | func TestJetStreamAllowMsgCounterSourceVerbatim(t *testing.T) { function TestJetStreamAllowMsgCounterSourceStartingAboveZero (line 20944) | func TestJetStreamAllowMsgCounterSourceStartingAboveZero(t *testing.T) { function TestJetStreamGetNoHeaders (line 21094) | func TestJetStreamGetNoHeaders(t *testing.T) { function TestJetStreamKVNoSubjectDeleteMarkerOnPurgeMarker (line 21187) | func TestJetStreamKVNoSubjectDeleteMarkerOnPurgeMarker(t *testing.T) { function TestJetStreamInvalidConfigValues (line 21247) | func TestJetStreamInvalidConfigValues(t *testing.T) { function TestJetStreamPromoteMirrorDeletingOrigin (line 21462) | func TestJetStreamPromoteMirrorDeletingOrigin(t *testing.T) { function TestJetStreamPromoteMirrorUpdatingOrigin (line 21550) | func TestJetStreamPromoteMirrorUpdatingOrigin(t *testing.T) { function TestJetStreamScheduledMirrorOrSource (line 21643) | func TestJetStreamScheduledMirrorOrSource(t *testing.T) { function TestJetStreamOfflineStreamAndConsumerAfterDowngrade (line 21667) | func TestJetStreamOfflineStreamAndConsumerAfterDowngrade(t *testing.T) { function TestJetStreamPersistModeAsync (line 21776) | func TestJetStreamPersistModeAsync(t *testing.T) { function TestJetStreamRemoveTTLOnRemoveMsg (line 21814) | func TestJetStreamRemoveTTLOnRemoveMsg(t *testing.T) { function TestJetStreamMessageTTLNotExpiring (line 21860) | func TestJetStreamMessageTTLNotExpiring(t *testing.T) { function TestJetStreamScheduledMessageNotTriggering (line 21921) | func TestJetStreamScheduledMessageNotTriggering(t *testing.T) { function TestJetStreamScheduledMessageNotDeactivated (line 21994) | func TestJetStreamScheduledMessageNotDeactivated(t *testing.T) { function TestJetStreamScheduledMessageParse (line 22048) | func TestJetStreamScheduledMessageParse(t *testing.T) { function TestJetStreamDirectGetBatchParallelWriteDeadlock (line 22158) | func TestJetStreamDirectGetBatchParallelWriteDeadlock(t *testing.T) { function TestJetStreamReloadMetaCompact (line 22221) | func TestJetStreamReloadMetaCompact(t *testing.T) { function TestJetStreamImplicitRePublishAfterSubjectTransform (line 22263) | func TestJetStreamImplicitRePublishAfterSubjectTransform(t *testing.T) { function TestJetStreamStreamMirrorWithoutDuplicateWindow (line 22303) | func TestJetStreamStreamMirrorWithoutDuplicateWindow(t *testing.T) { function TestJetStreamStreamSourceWithoutDuplicateWindow (line 22353) | func TestJetStreamStreamSourceWithoutDuplicateWindow(t *testing.T) { function TestJetStreamServerEncryptionRecoveryWithoutStreamStateFile (line 22403) | func TestJetStreamServerEncryptionRecoveryWithoutStreamStateFile(t *test... function TestJetStreamFileStoreErrorOpeningBlockAfterTruncate (line 22483) | func TestJetStreamFileStoreErrorOpeningBlockAfterTruncate(t *testing.T) { function TestJetStreamSourceConfigValidation (line 22532) | func TestJetStreamSourceConfigValidation(t *testing.T) { function TestJetStreamCleanupNoInterestAboveThreshold (line 22547) | func TestJetStreamCleanupNoInterestAboveThreshold(t *testing.T) { function TestJetStreamStoreFilterIsAll (line 22594) | func TestJetStreamStoreFilterIsAll(t *testing.T) { function TestJetStreamFlowControlCrossAccountFanOut (line 22628) | func TestJetStreamFlowControlCrossAccountFanOut(t *testing.T) { function TestJetStreamStreamCheckSourcesWithExternal (line 22755) | func TestJetStreamStreamCheckSourcesWithExternal(t *testing.T) { function TestJetStreamMirrorProcessMsgsNilQuitChannel (line 22824) | func TestJetStreamMirrorProcessMsgsNilQuitChannel(t *testing.T) { function TestJetStreamMirrorSetupStartGoRoutineFailMissingWgDone (line 22906) | func TestJetStreamMirrorSetupStartGoRoutineFailMissingWgDone(t *testing.... function TestJetStreamSourcingIntoDiscardNewPerSubject (line 22981) | func TestJetStreamSourcingIntoDiscardNewPerSubject(t *testing.T) { FILE: server/jetstream_tpm_test.go function getTPMFileName (line 88) | func getTPMFileName(t *testing.T) string { function checkSendMessage (line 92) | func checkSendMessage(t *testing.T, s *Server) { function checkReceiveMessage (line 106) | func checkReceiveMessage(t *testing.T, s *Server) { function TestJetStreamTPMBasic (line 125) | func TestJetStreamTPMBasic(t *testing.T) { function TestJetStreamTPMKeyBadPassword (line 165) | func TestJetStreamTPMKeyBadPassword(t *testing.T) { function TestJetStreamTPMKeyWithPCR (line 193) | func TestJetStreamTPMKeyWithPCR(t *testing.T) { function TestJetStreamTPMAll (line 210) | func TestJetStreamTPMAll(t *testing.T) { function TestJetStreamInvalidConfig (line 233) | func TestJetStreamInvalidConfig(t *testing.T) { FILE: server/jetstream_versioning.go constant JSApiLevel (line 20) | JSApiLevel int = 4 constant JSRequiredLevelMetadataKey (line 22) | JSRequiredLevelMetadataKey = "_nats.req.level" constant JSServerVersionMetadataKey (line 23) | JSServerVersionMetadataKey = "_nats.ver" constant JSServerLevelMetadataKey (line 24) | JSServerLevelMetadataKey = "_nats.level" function getRequiredApiLevel (line 28) | func getRequiredApiLevel(metadata map[string]string) string { function supportsRequiredApiLevel (line 36) | func supportsRequiredApiLevel(metadata map[string]string) bool { function setStaticStreamMetadata (line 46) | func setStaticStreamMetadata(cfg *StreamConfig) { function setDynamicStreamMetadata (line 94) | func setDynamicStreamMetadata(cfg *StreamConfig) *StreamConfig { function copyStreamMetadata (line 115) | func copyStreamMetadata(cfg *StreamConfig, prevCfg *StreamConfig) { function setOrDeleteInStreamMetadata (line 123) | func setOrDeleteInStreamMetadata(cfg *StreamConfig, prevCfg *StreamConfi... function setStaticConsumerMetadata (line 141) | func setStaticConsumerMetadata(cfg *ConsumerConfig) { function setDynamicConsumerMetadata (line 170) | func setDynamicConsumerMetadata(cfg *ConsumerConfig) *ConsumerConfig { function setDynamicConsumerInfoMetadata (line 187) | func setDynamicConsumerInfoMetadata(info *ConsumerInfo) *ConsumerInfo { function copyConsumerMetadata (line 203) | func copyConsumerMetadata(cfg *ConsumerConfig, prevCfg *ConsumerConfig) { function setOrDeleteInConsumerMetadata (line 211) | func setOrDeleteInConsumerMetadata(cfg *ConsumerConfig, prevCfg *Consume... function deleteDynamicMetadata (line 228) | func deleteDynamicMetadata(metadata map[string]string) { function errorOnRequiredApiLevel (line 234) | func errorOnRequiredApiLevel(hdr []byte) bool { FILE: server/jetstream_versioning_test.go function TestGetAndSupportsRequiredApiLevel (line 34) | func TestGetAndSupportsRequiredApiLevel(t *testing.T) { function metadataAtLevel (line 47) | func metadataAtLevel(featureLevel string) map[string]string { function metadataPrevious (line 53) | func metadataPrevious() map[string]string { function TestJetStreamSetStaticStreamMetadata (line 59) | func TestJetStreamSetStaticStreamMetadata(t *testing.T) { function TestJetStreamSetStaticStreamMetadataRemoveDynamicFields (line 129) | func TestJetStreamSetStaticStreamMetadataRemoveDynamicFields(t *testing.... function TestJetStreamSetDynamicStreamMetadata (line 142) | func TestJetStreamSetDynamicStreamMetadata(t *testing.T) { function TestJetStreamCopyStreamMetadata (line 154) | func TestJetStreamCopyStreamMetadata(t *testing.T) { function TestJetStreamCopyStreamMetadataRemoveDynamicFields (line 206) | func TestJetStreamCopyStreamMetadataRemoveDynamicFields(t *testing.T) { function TestJetStreamSetStaticConsumerMetadata (line 224) | func TestJetStreamSetStaticConsumerMetadata(t *testing.T) { function TestJetStreamSetStaticConsumerMetadataRemoveDynamicFields (line 271) | func TestJetStreamSetStaticConsumerMetadataRemoveDynamicFields(t *testin... function TestJetStreamSetDynamicConsumerMetadata (line 284) | func TestJetStreamSetDynamicConsumerMetadata(t *testing.T) { function TestJetStreamSetDynamicConsumerInfoMetadata (line 296) | func TestJetStreamSetDynamicConsumerInfoMetadata(t *testing.T) { function TestJetStreamCopyConsumerMetadata (line 311) | func TestJetStreamCopyConsumerMetadata(t *testing.T) { function TestJetStreamCopyConsumerMetadataRemoveDynamicFields (line 363) | func TestJetStreamCopyConsumerMetadataRemoveDynamicFields(t *testing.T) { type server (line 381) | type server struct constant streamName (line 388) | streamName = "STREAM" constant consumerName (line 389) | consumerName = "CONSUMER" function TestJetStreamMetadataMutations (line 392) | func TestJetStreamMetadataMutations(t *testing.T) { function validateMetadata (line 415) | func validateMetadata(metadata map[string]string, expectedFeatureLevel s... function streamMetadataChecks (line 421) | func streamMetadataChecks(t *testing.T, s server) { function consumerMetadataChecks (line 446) | func consumerMetadataChecks(t *testing.T, s server) { function TestJetStreamMetadataStreamRestoreAndRestart (line 513) | func TestJetStreamMetadataStreamRestoreAndRestart(t *testing.T) { function TestJetStreamMetadataStreamRestoreAndRestartCluster (line 547) | func TestJetStreamMetadataStreamRestoreAndRestartCluster(t *testing.T) { function restoreEmptyStream (line 580) | func restoreEmptyStream(t *testing.T, nc *nats.Conn, replicas int) { function TestJetStreamApiErrorOnRequiredApiLevel (line 647) | func TestJetStreamApiErrorOnRequiredApiLevel(t *testing.T) { function TestJetStreamApiErrorOnRequiredApiLevelDirectGet (line 677) | func TestJetStreamApiErrorOnRequiredApiLevelDirectGet(t *testing.T) { function TestJetStreamApiErrorOnRequiredApiLevelPullConsumerNextMsg (line 705) | func TestJetStreamApiErrorOnRequiredApiLevelPullConsumerNextMsg(t *testi... FILE: server/jwt.go constant jwtPrefix (line 29) | jwtPrefix = "eyJ" function ReadOperatorJWT (line 32) | func ReadOperatorJWT(jwtfile string) (*jwt.OperatorClaims, error) { function readOperatorJWT (line 37) | func readOperatorJWT(jwtfile string) (string, *jwt.OperatorClaims, error) { function wipeSlice (line 61) | func wipeSlice(buf []byte) { function validateTrustedOperators (line 70) | func validateTrustedOperators(o *Options) error { function validateSrc (line 182) | func validateSrc(claims *jwt.UserClaims, host string) bool { function validateTimes (line 204) | func validateTimes(claims *jwt.UserClaims) (bool, time.Duration) { FILE: server/jwt_test.go function init (line 48) | func init() { function chanRecv (line 56) | func chanRecv(t *testing.T, recvChan <-chan struct{}, limit time.Duratio... function opTrustBasicSetup (line 65) | func opTrustBasicSetup() *Server { function buildMemAccResolver (line 75) | func buildMemAccResolver(s *Server) { function addAccountToMemResolver (line 80) | func addAccountToMemResolver(s *Server, pub, jwtclaim string) { function createClient (line 84) | func createClient(t *testing.T, s *Server, akp nkeys.KeyPair) (*testAsyn... function createClientWithIssuer (line 88) | func createClientWithIssuer(t *testing.T, s *Server, akp nkeys.KeyPair, ... function setupJWTTestWithClaims (line 112) | func setupJWTTestWithClaims(t *testing.T, nac *jwt.AccountClaims, nuc *j... function setupJWTTestWitAccountClaims (line 168) | func setupJWTTestWitAccountClaims(t *testing.T, nac *jwt.AccountClaims, ... function newJWTTestAccountClaims (line 175) | func newJWTTestAccountClaims() *jwt.AccountClaims { function setupJWTTestWithUserClaims (line 183) | func setupJWTTestWithUserClaims(t *testing.T, nuc *jwt.UserClaims, expec... function newJWTTestUserClaims (line 191) | func newJWTTestUserClaims() *jwt.UserClaims { function TestJWTUser (line 200) | func TestJWTUser(t *testing.T) { function TestJWTUserBadTrusted (line 256) | func TestJWTUserBadTrusted(t *testing.T) { function TestJWTUserExpired (line 293) | func TestJWTUserExpired(t *testing.T) { function TestJWTUserExpiresAfterConnect (line 302) | func TestJWTUserExpiresAfterConnect(t *testing.T) { function TestJWTUserPermissionClaims (line 332) | func TestJWTUserPermissionClaims(t *testing.T) { function TestJWTUserResponsePermissionClaims (line 367) | func TestJWTUserResponsePermissionClaims(t *testing.T) { function TestJWTUserResponsePermissionClaimsDefaultValues (line 403) | func TestJWTUserResponsePermissionClaimsDefaultValues(t *testing.T) { function TestJWTUserResponsePermissionClaimsNegativeValues (line 437) | func TestJWTUserResponsePermissionClaimsNegativeValues(t *testing.T) { function TestJWTAccountExpired (line 474) | func TestJWTAccountExpired(t *testing.T) { function TestJWTAccountExpiresAfterConnect (line 483) | func TestJWTAccountExpiresAfterConnect(t *testing.T) { function TestJWTAccountRenew (line 528) | func TestJWTAccountRenew(t *testing.T) { function TestJWTAccountRenewFromResolver (line 566) | func TestJWTAccountRenewFromResolver(t *testing.T) { function TestJWTAccountBasicImportExport (line 630) | func TestJWTAccountBasicImportExport(t *testing.T) { function TestJWTAccountExportWithResponseType (line 794) | func TestJWTAccountExportWithResponseType(t *testing.T) { function expectPong (line 882) | func expectPong(t *testing.T, cr *bufio.Reader) { function expectMsg (line 890) | func expectMsg(t *testing.T, cr *bufio.Reader, sub, payload string) { function TestJWTAccountImportExportUpdates (line 904) | func TestJWTAccountImportExportUpdates(t *testing.T) { function TestJWTAccountImportActivationExpires (line 1005) | func TestJWTAccountImportActivationExpires(t *testing.T) { function TestJWTAccountLimitsSubs (line 1089) | func TestJWTAccountLimitsSubs(t *testing.T) { function TestJWTAccountLimitsSubsButServerOverrides (line 1157) | func TestJWTAccountLimitsSubsButServerOverrides(t *testing.T) { function TestJWTAccountLimitsMaxPayload (line 1206) | func TestJWTAccountLimitsMaxPayload(t *testing.T) { function TestJWTAccountLimitsMaxPayloadButServerOverrides (line 1252) | func TestJWTAccountLimitsMaxPayloadButServerOverrides(t *testing.T) { function TestJWTAccountLimitsMaxConns (line 1291) | func TestJWTAccountLimitsMaxConns(t *testing.T) { function TestJWTAccountServiceImportAuthSwitch (line 1324) | func TestJWTAccountServiceImportAuthSwitch(t *testing.T) { function TestJWTAccountServiceImportExpires (line 1411) | func TestJWTAccountServiceImportExpires(t *testing.T) { function TestJWTAccountURLResolver (line 1535) | func TestJWTAccountURLResolver(t *testing.T) { function TestJWTAccountURLResolverTimeout (line 1603) | func TestJWTAccountURLResolverTimeout(t *testing.T) { function TestJWTAccountURLResolverNoFetchOnReload (line 1646) | func TestJWTAccountURLResolverNoFetchOnReload(t *testing.T) { function TestJWTAccountURLResolverFetchFailureInServer1 (line 1710) | func TestJWTAccountURLResolverFetchFailureInServer1(t *testing.T) { function TestJWTAccountURLResolverFetchFailurePushReorder (line 1799) | func TestJWTAccountURLResolverFetchFailurePushReorder(t *testing.T) { type captureDebugLogger (line 1900) | type captureDebugLogger struct method Debugf (line 1905) | func (l *captureDebugLogger) Debugf(format string, v ...any) { function TestJWTAccountURLResolverPermanentFetchFailure (line 1912) | func TestJWTAccountURLResolverPermanentFetchFailure(t *testing.T) { function TestJWTAccountURLResolverFetchFailureInCluster (line 2005) | func TestJWTAccountURLResolverFetchFailureInCluster(t *testing.T) { function TestJWTAccountURLResolverReturnDifferentOperator (line 2185) | func TestJWTAccountURLResolverReturnDifferentOperator(t *testing.T) { function TestJWTUserSigningKey (line 2242) | func TestJWTUserSigningKey(t *testing.T) { function TestJWTAccountImportSignerRemoved (line 2339) | func TestJWTAccountImportSignerRemoved(t *testing.T) { function TestJWTAccountImportSignerDeadlock (line 2471) | func TestJWTAccountImportSignerDeadlock(t *testing.T) { function TestJWTAccountImportWrongIssuerAccount (line 2559) | func TestJWTAccountImportWrongIssuerAccount(t *testing.T) { function TestJWTUserRevokedOnAccountUpdate (line 2632) | func TestJWTUserRevokedOnAccountUpdate(t *testing.T) { function TestJWTUserRevoked (line 2674) | func TestJWTUserRevoked(t *testing.T) { function TestJWTImportTokenRevokedAfter (line 2727) | func TestJWTImportTokenRevokedAfter(t *testing.T) { function TestJWTImportTokenRevokedBefore (line 2798) | func TestJWTImportTokenRevokedBefore(t *testing.T) { function TestJWTCircularAccountServiceImport (line 2864) | func TestJWTCircularAccountServiceImport(t *testing.T) { function TestJWTAccountLimitsMaxConnsAfterExpired (line 2920) | func TestJWTAccountLimitsMaxConnsAfterExpired(t *testing.T) { function TestJWTBearerToken (line 2998) | func TestJWTBearerToken(t *testing.T) { function TestJWTBearerWithIssuerSameAsAccountToken (line 3044) | func TestJWTBearerWithIssuerSameAsAccountToken(t *testing.T) { function TestJWTBearerWithBadIssuerToken (line 3094) | func TestJWTBearerWithBadIssuerToken(t *testing.T) { function TestJWTExpiredUserCredentialsRenewal (line 3143) | func TestJWTExpiredUserCredentialsRenewal(t *testing.T) { function updateJwt (line 3254) | func updateJwt(t *testing.T, url string, creds string, jwt string, respC... function require_JWTAbsent (line 3291) | func require_JWTAbsent(t *testing.T, dir string, pub string) { function require_JWTPresent (line 3298) | func require_JWTPresent(t *testing.T, dir string, pub string) { function require_JWTEqual (line 3304) | func require_JWTEqual(t *testing.T, dir string, pub string, jwt string) { function createTempFile (line 3311) | func createTempFile(t testing.TB, prefix string) *os.File { function removeDir (line 3319) | func removeDir(t testing.TB, dir string) { function removeFile (line 3326) | func removeFile(t testing.TB, p string) { function writeJWT (line 3333) | func writeJWT(t *testing.T, dir string, pub string, jwt string) { function TestJWTAccountNATSResolverFetch (line 3339) | func TestJWTAccountNATSResolverFetch(t *testing.T) { function TestJWTAccountNATSResolverCrossClusterFetch (line 3624) | func TestJWTAccountNATSResolverCrossClusterFetch(t *testing.T) { function newTimeRange (line 3825) | func newTimeRange(start time.Time, dur time.Duration) jwt.TimeRange { function createUserWithLimit (line 3829) | func createUserWithLimit(t *testing.T, accKp nkeys.KeyPair, expiration t... function TestJWTUserLimits (line 3850) | func TestJWTUserLimits(t *testing.T) { function TestJWTTimeExpiration (line 3917) | func TestJWTTimeExpiration(t *testing.T) { function NewJwtAccountClaim (line 4053) | func NewJwtAccountClaim(name string) (nkeys.KeyPair, string, *jwt.Accoun... function TestJWTSysImportForDifferentAccount (line 4061) | func TestJWTSysImportForDifferentAccount(t *testing.T) { function TestJWTSysImportFromNothing (line 4104) | func TestJWTSysImportFromNothing(t *testing.T) { function TestJWTSysImportOverwritePublic (line 4164) | func TestJWTSysImportOverwritePublic(t *testing.T) { function TestJWTSysImportOverwriteToken (line 4225) | func TestJWTSysImportOverwriteToken(t *testing.T) { function TestJWTLimits (line 4262) | func TestJWTLimits(t *testing.T) { function TestJWTTemplates (line 4316) | func TestJWTTemplates(t *testing.T) { function TestJWTInLineTemplates (line 4367) | func TestJWTInLineTemplates(t *testing.T) { function TestJWTTemplateGoodTagAfterBadTag (line 4397) | func TestJWTTemplateGoodTagAfterBadTag(t *testing.T) { function TestJWTLimitsTemplate (line 4418) | func TestJWTLimitsTemplate(t *testing.T) { function TestJWTNoOperatorMode (line 4484) | func TestJWTNoOperatorMode(t *testing.T) { function TestJWTUserRevocation (line 4515) | func TestJWTUserRevocation(t *testing.T) { function TestJWTActivationRevocation (line 4621) | func TestJWTActivationRevocation(t *testing.T) { function TestJWTAccountFetchTimeout (line 4750) | func TestJWTAccountFetchTimeout(t *testing.T) { function TestJWTAccountOps (line 4806) | func TestJWTAccountOps(t *testing.T) { function createKey (line 4917) | func createKey(t *testing.T) (nkeys.KeyPair, string) { function encodeClaim (line 4924) | func encodeClaim(t *testing.T, claim *jwt.AccountClaims, _ string) string { function newUserEx (line 4932) | func newUserEx(t *testing.T, accKp nkeys.KeyPair, scoped bool, issuerAcc... function newUser (line 4948) | func newUser(t *testing.T, accKp nkeys.KeyPair) string { function TestJWTHeader (line 4952) | func TestJWTHeader(t *testing.T) { function TestJWTAccountImportsWithWildcardSupport (line 5059) | func TestJWTAccountImportsWithWildcardSupport(t *testing.T) { function TestJWTAccountTokenImportMisuse (line 5206) | func TestJWTAccountTokenImportMisuse(t *testing.T) { function TestJWTResponseThreshold (line 5332) | func TestJWTResponseThreshold(t *testing.T) { function TestJWTJetStreamTiers (line 5401) | func TestJWTJetStreamTiers(t *testing.T) { function TestJWTJetStreamMaxAckPending (line 5527) | func TestJWTJetStreamMaxAckPending(t *testing.T) { function TestJWTJetStreamMaxStore (line 5605) | func TestJWTJetStreamMaxStore(t *testing.T) { function TestJWTQueuePermissions (line 5709) | func TestJWTQueuePermissions(t *testing.T) { function TestJWTScopedSigningKeys (line 5796) | func TestJWTScopedSigningKeys(t *testing.T) { function TestJWTStrictSigningKeys (line 5949) | func TestJWTStrictSigningKeys(t *testing.T) { function TestJWTAccountProtectedImport (line 6057) | func TestJWTAccountProtectedImport(t *testing.T) { function TestJWTClaimsUpdateWithHeaders (line 6238) | func TestJWTClaimsUpdateWithHeaders(t *testing.T) { function TestJWTMappings (line 6314) | func TestJWTMappings(t *testing.T) { function TestJWTOperatorPinnedAccounts (line 6374) | func TestJWTOperatorPinnedAccounts(t *testing.T) { function TestJWTNoSystemAccountButNatsResolver (line 6434) | func TestJWTNoSystemAccountButNatsResolver(t *testing.T) { function TestJWTAccountConnzAccessAfterClaimUpdate (line 6457) | func TestJWTAccountConnzAccessAfterClaimUpdate(t *testing.T) { function TestJWTAccountWeightedMappingInSuperCluster (line 6541) | func TestJWTAccountWeightedMappingInSuperCluster(t *testing.T) { function TestJWTServerOperatorModeNoAuthRequired (line 6671) | func TestJWTServerOperatorModeNoAuthRequired(t *testing.T) { function TestJWTServerOperatorModeUserInfoExpiration (line 6720) | func TestJWTServerOperatorModeUserInfoExpiration(t *testing.T) { function TestJWTAccountNATSResolverWrongCreds (line 6774) | func TestJWTAccountNATSResolverWrongCreds(t *testing.T) { function TestJWTImportsOnServerRestartAndClientsReconnect (line 6956) | func TestJWTImportsOnServerRestartAndClientsReconnect(t *testing.T) { function TestDefaultSentinelUser (line 7144) | func TestDefaultSentinelUser(t *testing.T) { function TestJWTUpdateAccountClaimsStreamAndServiceImportDeadlock (line 7269) | func TestJWTUpdateAccountClaimsStreamAndServiceImportDeadlock(t *testing... function TestJWTJetStreamClientsExcludedForMaxConnsUpdate (line 7373) | func TestJWTJetStreamClientsExcludedForMaxConnsUpdate(t *testing.T) { function TestJWTClusterUserInfoContainsPermissions (line 7433) | func TestJWTClusterUserInfoContainsPermissions(t *testing.T) { function TestJWTAccountLimitsOverflowInt32 (line 7490) | func TestJWTAccountLimitsOverflowInt32(t *testing.T) { function TestJWTUserLimitsOverflowInt32SubPub (line 7546) | func TestJWTUserLimitsOverflowInt32SubPub(t *testing.T) { FILE: server/leafnode.go constant leafnodeTLSInsecureWarning (line 47) | leafnodeTLSInsecureWarning = "TLS certificate chain and hostname of soli... constant leafNodeReconnectDelayAfterLoopDetected (line 50) | leafNodeReconnectDelayAfterLoopDetected = 30 * time.Second constant leafNodeReconnectAfterPermViolation (line 54) | leafNodeReconnectAfterPermViolation = 30 * time.Second constant leafNodeReconnectDelayAfterClusterNameSame (line 57) | leafNodeReconnectDelayAfterClusterNameSame = 30 * time.Second constant leafNodeLoopDetectionSubjectPrefix (line 60) | leafNodeLoopDetectionSubjectPrefix = "$LDS." constant leafNodeWSPath (line 64) | leafNodeWSPath = "/leafnode" constant leafNodeMinVersionReconnectDelay (line 68) | leafNodeMinVersionReconnectDelay = 5 * time.Second type leaf (line 71) | type leaf struct type leafNodeCfg (line 107) | type leafNodeCfg struct method pickNextURL (line 510) | func (cfg *leafNodeCfg) pickNextURL() *url.URL { method getCurrentURL (line 525) | func (cfg *leafNodeCfg) getCurrentURL() *url.URL { method getConnectDelay (line 533) | func (cfg *leafNodeCfg) getConnectDelay() time.Duration { method setConnectDelay (line 541) | func (cfg *leafNodeCfg) setConnectDelay(delay time.Duration) { method cancelMigrateTimer (line 760) | func (cfg *leafNodeCfg) cancelMigrateTimer() { method saveTLSHostname (line 857) | func (cfg *leafNodeCfg) saveTLSHostname(u *url.URL) { method saveUserPassword (line 865) | func (cfg *leafNodeCfg) saveUserPassword(u *url.URL) { method isSolicitedLeafNode (line 121) | func (c *client) isSolicitedLeafNode() bool { method isSpokeLeafNode (line 127) | func (c *client) isSpokeLeafNode() bool { method isHubLeafNode (line 131) | func (c *client) isHubLeafNode() bool { method isIsolatedLeafNode (line 135) | func (c *client) isIsolatedLeafNode() bool { method solicitLeafNodeRemotes (line 144) | func (s *Server) solicitLeafNodeRemotes(remotes []*RemoteLeafOpts) { method remoteLeafNodeStillValid (line 200) | func (s *Server) remoteLeafNodeStillValid(remote *leafNodeCfg) bool { function validateLeafNode (line 214) | func validateLeafNode(o *Options) error { function checkLeafMinVersionConfig (line 343) | func checkLeafMinVersionConfig(mv string) error { function validateLeafNodeAuthOptions (line 357) | func validateLeafNodeAuthOptions(o *Options) error { function validateLeafNodeProxyOptions (line 377) | func validateLeafNodeProxyOptions(remote *RemoteLeafOpts) ([]string, err... method updateRemoteLeafNodesTLSConfig (line 432) | func (s *Server) updateRemoteLeafNodesTLSConfig(opts *Options) { method reConnectToRemoteLeafNode (line 458) | func (s *Server) reConnectToRemoteLeafNode(remote *leafNodeCfg) { function newLeafNodeCfg (line 470) | func newLeafNodeCfg(remote *RemoteLeafOpts) *leafNodeCfg { method setLeafNodeNonExportedOptions (line 549) | func (s *Server) setLeafNodeNonExportedOptions() { constant sharedSysAccDelay (line 562) | sharedSysAccDelay = 250 * time.Millisecond function establishHTTPProxyTunnel (line 565) | func establishHTTPProxyTunnel(proxyURL, targetHost string, timeout time.... method connectToRemoteLeafNode (line 625) | func (s *Server) connectToRemoteLeafNode(remote *leafNodeCfg, firstConne... method clearObserverState (line 767) | func (s *Server) clearObserverState(remote *leafNodeCfg) { method checkJetStreamMigrate (line 801) | func (s *Server) checkJetStreamMigrate(remote *leafNodeCfg) { method isLeafConnectDisabled (line 843) | func (s *Server) isLeafConnectDisabled() bool { method startLeafNodeAcceptLoop (line 874) | func (s *Server) startLeafNodeAcceptLoop() { method sendLeafConnect (line 968) | func (c *client) sendLeafConnect(clusterName string, headers bool) error { method copyLeafNodeInfo (line 1082) | func (s *Server) copyLeafNodeInfo() *Info { method addLeafNodeURL (line 1095) | func (s *Server) addLeafNodeURL(urlStr string) bool { method removeLeafNodeURL (line 1107) | func (s *Server) removeLeafNodeURL(urlStr string) bool { method generateLeafNodeInfoJSON (line 1121) | func (s *Server) generateLeafNodeInfoJSON() { method sendAsyncLeafNodeInfo (line 1130) | func (s *Server) sendAsyncLeafNodeInfo() { method createLeafNode (line 1139) | func (s *Server) createLeafNode(conn net.Conn, rURL *url.URL, remote *le... method leafClientHandshakeIfNeeded (line 1401) | func (c *client) leafClientHandshakeIfNeeded(remote *leafNodeCfg, opts *... method processLeafnodeInfo (line 1425) | func (c *client) processLeafnodeInfo(info *Info) { method negotiateLeafCompression (line 1647) | func (s *Server) negotiateLeafCompression(c *client, didSolicit bool, in... method updateLeafNodeURLs (line 1710) | func (c *client) updateLeafNodeURLs(info *Info) { method doUpdateLNURLs (line 1731) | func (c *client) doUpdateLNURLs(cfg *leafNodeCfg, scheme string, URLs []... method setLeafNodeInfoHostPortAndIP (line 1762) | func (s *Server) setLeafNodeInfoHostPortAndIP() error { method addLeafNodeConnection (line 1810) | func (s *Server) addLeafNodeConnection(c *client, srvName, clusterName s... method removeLeafNodeConnection (line 1974) | func (s *Server) removeLeafNodeConnection(c *client) { type leafConnectInfo (line 2000) | type leafConnectInfo struct method processLeafNodeConnect (line 2042) | func (c *client) processLeafNodeConnect(s *Server, arg []byte, lang stri... method checkInternalSyncConsumers (line 2186) | func (s *Server) checkInternalSyncConsumers(acc *Account) { method remoteCluster (line 2228) | func (c *client) remoteCluster() string { method sendPermsAndAccountInfo (line 2237) | func (s *Server) sendPermsAndAccountInfo(c *client) { method initLeafNodeSmapAndSendSubs (line 2257) | func (s *Server) initLeafNodeSmapAndSendSubs(c *client) { method updateInterestForAccountOnGateway (line 2421) | func (s *Server) updateInterestForAccountOnGateway(accName string, sub *... method updateLeafNodesEx (line 2435) | func (acc *Account) updateLeafNodesEx(sub *subscription, delta int32, hu... method updateLeafNodes (line 2508) | func (acc *Account) updateLeafNodes(sub *subscription, delta int32) { method updateSmap (line 2515) | func (c *client) updateSmap(sub *subscription, delta int32, isLDS bool) { method forceAddToSmap (line 2560) | func (c *client) forceAddToSmap(subj string) { method forceRemoveFromSmap (line 2577) | func (c *client) forceRemoveFromSmap(subj string) { method sendLeafNodeSubUpdate (line 2600) | func (c *client) sendLeafNodeSubUpdate(key string, n int32) { function keyFromSub (line 2631) | func keyFromSub(sub *subscription) string { constant keyRoutedSub (line 2644) | keyRoutedSub = "R" constant keyRoutedSubByte (line 2645) | keyRoutedSubByte = 'R' constant keyRoutedLeafSub (line 2646) | keyRoutedLeafSub = "L" constant keyRoutedLeafSubByte (line 2647) | keyRoutedLeafSubByte = 'L' function keyFromSubWithOrigin (line 2657) | func keyFromSubWithOrigin(sub *subscription) string { method writeLeafSub (line 2680) | func (c *client) writeLeafSub(w *bytes.Buffer, key string, n int32) { method processLeafSub (line 2713) | func (c *client) processLeafSub(argo []byte) (err error) { method handleLeafNodeLoop (line 2861) | func (c *client) handleLeafNodeLoop(sendErr bool) { method processLeafUnsub (line 2876) | func (c *client) processLeafUnsub(arg []byte) error { method processLeafHeaderMsgArgs (line 2926) | func (c *client) processLeafHeaderMsgArgs(arg []byte) error { method processLeafMsgArgs (line 3009) | func (c *client) processLeafMsgArgs(arg []byte) error { method processInboundLeafMsg (line 3079) | func (c *client) processInboundLeafMsg(msg []byte) { method leafSubPermViolation (line 3155) | func (c *client) leafSubPermViolation(subj []byte) { method leafPermViolation (line 3162) | func (c *client) leafPermViolation(pub bool, subj []byte) { method leafProcessErr (line 3184) | func (c *client) leafProcessErr(errStr string) { method setLeafConnectDelayIfSoliciting (line 3208) | func (c *client) setLeafConnectDelayIfSoliciting(delay time.Duration) (s... method leafNodeGetTLSConfigForSolicit (line 3227) | func (c *client) leafNodeGetTLSConfigForSolicit(remote *leafNodeCfg) (bo... method leafNodeSolicitWSConnection (line 3265) | func (c *client) leafNodeSolicitWSConnection(opts *Options, rURL *url.UR... constant connectProcessTimeout (line 3377) | connectProcessTimeout = 2 * time.Second method leafNodeResumeConnectProcess (line 3381) | func (s *Server) leafNodeResumeConnectProcess(c *client) { method leafNodeFinishConnectProcess (line 3421) | func (s *Server) leafNodeFinishConnectProcess(c *client) { FILE: server/leafnode_proxy_test.go type testHTTPProxy (line 27) | type testHTTPProxy struct method setCloseDelay (line 56) | func (p *testHTTPProxy) setCloseDelay(delay time.Duration) { method start (line 60) | func (p *testHTTPProxy) start() { method handleConnection (line 78) | func (p *testHTTPProxy) handleConnection(conn net.Conn) { method stop (line 191) | func (p *testHTTPProxy) stop() { method url (line 206) | func (p *testHTTPProxy) url() string { function createTestHTTPProxy (line 37) | func createTestHTTPProxy(username, password string) *testHTTPProxy { function TestLeafNodeHttpProxyConfigParsing (line 210) | func TestLeafNodeHttpProxyConfigParsing(t *testing.T) { function TestLeafNodeHttpProxyConfigWarnings (line 254) | func TestLeafNodeHttpProxyConfigWarnings(t *testing.T) { function TestLeafNodeHttpProxyConnection (line 343) | func TestLeafNodeHttpProxyConnection(t *testing.T) { function TestLeafNodeHttpProxyConnectionToTCP (line 391) | func TestLeafNodeHttpProxyConnectionToTCP(t *testing.T) { function TestLeafNodeHttpProxyWithAuthentication (line 435) | func TestLeafNodeHttpProxyWithAuthentication(t *testing.T) { function TestLeafNodeHttpProxyTLSMismatchDetection (line 485) | func TestLeafNodeHttpProxyTLSMismatchDetection(t *testing.T) { function TestLeafNodeHttpProxyTunnelBasic (line 542) | func TestLeafNodeHttpProxyTunnelBasic(t *testing.T) { function TestLeafNodeHttpProxyTunnelWithAuth (line 636) | func TestLeafNodeHttpProxyTunnelWithAuth(t *testing.T) { function TestLeafNodeHttpProxyTunnelFailsWithoutAuth (line 721) | func TestLeafNodeHttpProxyTunnelFailsWithoutAuth(t *testing.T) { function TestLeafNodeHttpProxyValidationProgrammatic (line 745) | func TestLeafNodeHttpProxyValidationProgrammatic(t *testing.T) { FILE: server/leafnode_test.go type captureLeafNodeRandomIPLogger (line 45) | type captureLeafNodeRandomIPLogger struct method Debugf (line 51) | func (c *captureLeafNodeRandomIPLogger) Debugf(format string, v ...any) { function TestLeafNodeRandomIP (line 69) | func TestLeafNodeRandomIP(t *testing.T) { function TestLeafNodeRandomRemotes (line 98) | func TestLeafNodeRandomRemotes(t *testing.T) { type testLoopbackResolver (line 160) | type testLoopbackResolver struct method LookupHost (line 162) | func (r *testLoopbackResolver) LookupHost(ctx context.Context, host st... function TestLeafNodeTLSWithCerts (line 166) | func TestLeafNodeTLSWithCerts(t *testing.T) { function TestLeafNodeTLSRemoteWithNoCerts (line 219) | func TestLeafNodeTLSRemoteWithNoCerts(t *testing.T) { type captureErrorLogger (line 340) | type captureErrorLogger struct method Errorf (line 345) | func (l *captureErrorLogger) Errorf(format string, v ...any) { function TestLeafNodeAccountNotFound (line 352) | func TestLeafNodeAccountNotFound(t *testing.T) { function TestLeafNodeBasicAuthFailover (line 416) | func TestLeafNodeBasicAuthFailover(t *testing.T) { function TestLeafNodeRTT (line 488) | func TestLeafNodeRTT(t *testing.T) { function TestLeafNodeValidateAuthOptions (line 583) | func TestLeafNodeValidateAuthOptions(t *testing.T) { function TestLeafNodeBasicAuthSingleton (line 602) | func TestLeafNodeBasicAuthSingleton(t *testing.T) { function TestLeafNodeBasicAuthMultiple (line 704) | func TestLeafNodeBasicAuthMultiple(t *testing.T) { type loopDetectedLogger (line 822) | type loopDetectedLogger struct method Errorf (line 827) | func (l *loopDetectedLogger) Errorf(format string, v ...any) { function TestLeafNodeLoop (line 837) | func TestLeafNodeLoop(t *testing.T) { function TestLeafNodeLoopFromDAG (line 899) | func TestLeafNodeLoopFromDAG(t *testing.T) { function TestLeafNodeCloseTLSConnection (line 968) | func TestLeafNodeCloseTLSConnection(t *testing.T) { function TestLeafNodeTLSSaveName (line 1050) | func TestLeafNodeTLSSaveName(t *testing.T) { function TestLeafNodeRemoteWrongPort (line 1095) | func TestLeafNodeRemoteWrongPort(t *testing.T) { function TestLeafNodeRemoteIsHub (line 1177) | func TestLeafNodeRemoteIsHub(t *testing.T) { function TestLeafNodePermissions (line 1267) | func TestLeafNodePermissions(t *testing.T) { function TestLeafNodePermissionsConcurrentAccess (line 1389) | func TestLeafNodePermissionsConcurrentAccess(t *testing.T) { function TestLeafNodePubAllowedPruning (line 1452) | func TestLeafNodePubAllowedPruning(t *testing.T) { function TestLeafNodeExportPermissionsNotForSpecialSubs (line 1484) | func TestLeafNodeExportPermissionsNotForSpecialSubs(t *testing.T) { function TestLeafNodeLoopDetectedOnAcceptSide (line 1522) | func TestLeafNodeLoopDetectedOnAcceptSide(t *testing.T) { function TestLeafNodeHubWithGateways (line 1584) | func TestLeafNodeHubWithGateways(t *testing.T) { function TestLeafNodeTmpClients (line 1663) | func TestLeafNodeTmpClients(t *testing.T) { function TestLeafNodeTLSVerifyAndMap (line 1714) | func TestLeafNodeTLSVerifyAndMap(t *testing.T) { type chanLogger (line 1811) | type chanLogger struct method Warnf (line 1816) | func (l *chanLogger) Warnf(format string, v ...any) { method Errorf (line 1820) | func (l *chanLogger) Errorf(format string, v ...any) { constant testLeafNodeTLSVerifyAndMapSrvA (line 1825) | testLeafNodeTLSVerifyAndMapSrvA = ` constant testLeafNodeTLSVerifyAndMapSrvB (line 1843) | testLeafNodeTLSVerifyAndMapSrvB = ` function TestLeafNodeTLSVerifyAndMapCfgPass (line 1859) | func TestLeafNodeTLSVerifyAndMapCfgPass(t *testing.T) { function TestLeafNodeTLSVerifyAndMapCfgFail (line 1903) | func TestLeafNodeTLSVerifyAndMapCfgFail(t *testing.T) { function TestLeafNodeOriginClusterInfo (line 1942) | func TestLeafNodeOriginClusterInfo(t *testing.T) { type proxyAcceptDetectFailureLate (line 2033) | type proxyAcceptDetectFailureLate struct method run (line 2043) | func (p *proxyAcceptDetectFailureLate) run(t *testing.T) int { method runEx (line 2047) | func (p *proxyAcceptDetectFailureLate) runEx(t *testing.T, needStart b... method start (line 2109) | func (p *proxyAcceptDetectFailureLate) start() { method close (line 2118) | func (p *proxyAcceptDetectFailureLate) close() { type oldConnReplacedLogger (line 2130) | type oldConnReplacedLogger struct method Errorf (line 2136) | func (l *oldConnReplacedLogger) Errorf(format string, v ...any) { method Warnf (line 2143) | func (l *oldConnReplacedLogger) Warnf(format string, v ...any) { function TestLeafNodeLoopDetectedDueToReconnect (line 2153) | func TestLeafNodeLoopDetectedDueToReconnect(t *testing.T) { function TestLeafNodeTwoRemotesBindToSameHubAccount (line 2210) | func TestLeafNodeTwoRemotesBindToSameHubAccount(t *testing.T) { function TestLeafNodeNoDuplicateWithinCluster (line 2286) | func TestLeafNodeNoDuplicateWithinCluster(t *testing.T) { function TestLeafNodeLMsgSplit (line 2387) | func TestLeafNodeLMsgSplit(t *testing.T) { type parseRouteLSUnsubLogger (line 2465) | type parseRouteLSUnsubLogger struct method Errorf (line 2471) | func (l *parseRouteLSUnsubLogger) Errorf(format string, v ...any) { method Tracef (line 2479) | func (l *parseRouteLSUnsubLogger) Tracef(format string, v ...any) { function TestLeafNodeRouteParseLSUnsub (line 2486) | func TestLeafNodeRouteParseLSUnsub(t *testing.T) { function TestLeafNodeOperatorBadCfg (line 2543) | func TestLeafNodeOperatorBadCfg(t *testing.T) { function TestLeafNodeTLSConfigReload (line 2614) | func TestLeafNodeTLSConfigReload(t *testing.T) { function TestLeafNodeTLSConfigReloadForRemote (line 2688) | func TestLeafNodeTLSConfigReloadForRemote(t *testing.T) { function testDefaultLeafNodeWSOptions (line 2751) | func testDefaultLeafNodeWSOptions() *Options { function testDefaultRemoteLeafNodeWSOptions (line 2761) | func testDefaultRemoteLeafNodeWSOptions(t *testing.T, o *Options, tls bo... function TestLeafNodeWSMixURLs (line 2788) | func TestLeafNodeWSMixURLs(t *testing.T) { type testConnTrackSize (line 2825) | type testConnTrackSize struct method Write (line 2831) | func (c *testConnTrackSize) Write(p []byte) (int, error) { function TestLeafNodeWSBasic (line 2839) | func TestLeafNodeWSBasic(t *testing.T) { function TestLeafNodeWSRemoteCompressAndMaskingOptions (line 2960) | func TestLeafNodeWSRemoteCompressAndMaskingOptions(t *testing.T) { function TestLeafNodeWSNoMaskingRejected (line 3000) | func TestLeafNodeWSNoMaskingRejected(t *testing.T) { function TestLeafNodeWSSubPath (line 3033) | func TestLeafNodeWSSubPath(t *testing.T) { function TestLeafNodeWSFailedConnection (line 3076) | func TestLeafNodeWSFailedConnection(t *testing.T) { function TestLeafNodeWSAuth (line 3157) | func TestLeafNodeWSAuth(t *testing.T) { function TestLeafNodeWSGossip (line 3228) | func TestLeafNodeWSGossip(t *testing.T) { function TestLeafNodeWSNoBufferCorruption (line 3280) | func TestLeafNodeWSNoBufferCorruption(t *testing.T) { function TestLeafNodeWSRemoteNoTLSBlockWithWSSProto (line 3332) | func TestLeafNodeWSRemoteNoTLSBlockWithWSSProto(t *testing.T) { function TestLeafNodeWSNoAuthUser (line 3381) | func TestLeafNodeWSNoAuthUser(t *testing.T) { function TestLeafNodeStreamImport (line 3441) | func TestLeafNodeStreamImport(t *testing.T) { function TestLeafNodeRouteSubWithOrigin (line 3492) | func TestLeafNodeRouteSubWithOrigin(t *testing.T) { function TestLeafNodeLoopDetectionWithMultipleClusters (line 3546) | func TestLeafNodeLoopDetectionWithMultipleClusters(t *testing.T) { function TestLeafNodeUnsubOnRouteDisconnect (line 3621) | func TestLeafNodeUnsubOnRouteDisconnect(t *testing.T) { function TestLeafNodeNoPingBeforeConnect (line 3713) | func TestLeafNodeNoPingBeforeConnect(t *testing.T) { function TestLeafNodeNoMsgLoop (line 3800) | func TestLeafNodeNoMsgLoop(t *testing.T) { function TestLeafNodeInterestPropagationDaisychain (line 3953) | func TestLeafNodeInterestPropagationDaisychain(t *testing.T) { function TestLeafNodeQueueGroupDistribution (line 4021) | func TestLeafNodeQueueGroupDistribution(t *testing.T) { function TestLeafNodeQueueGroupDistributionVariant (line 4129) | func TestLeafNodeQueueGroupDistributionVariant(t *testing.T) { function TestLeafNodeQueueGroupDistributionWithDaisyChainAndGateway (line 4245) | func TestLeafNodeQueueGroupDistributionWithDaisyChainAndGateway(t *testi... function TestLeafNodeAndGatewaysSingleMsgPerQueueGroup (line 4564) | func TestLeafNodeAndGatewaysSingleMsgPerQueueGroup(t *testing.T) { function TestLeafNodeQueueGroupWeightCorrectOnConnectionCloseInSuperCluster (line 4847) | func TestLeafNodeQueueGroupWeightCorrectOnConnectionCloseInSuperCluster(... function TestLeafNodeQueueInterestAndWeightCorrectAfterServerRestartOrConnectionClose (line 5284) | func TestLeafNodeQueueInterestAndWeightCorrectAfterServerRestartOrConnec... function TestLeafNodeQueueWeightCorrectOnRestart (line 5507) | func TestLeafNodeQueueWeightCorrectOnRestart(t *testing.T) { function TestLeafNodeRoutedSubKeyDifferentBetweenLeafSubAndRoutedSub (line 5602) | func TestLeafNodeRoutedSubKeyDifferentBetweenLeafSubAndRoutedSub(t *test... function TestLeafNodeQueueGroupWithLateLNJoin (line 5810) | func TestLeafNodeQueueGroupWithLateLNJoin(t *testing.T) { function TestLeafNodeJetStreamDomainMapCrossTalk (line 5948) | func TestLeafNodeJetStreamDomainMapCrossTalk(t *testing.T) { type checkLeafMinVersionLogger (line 6041) | type checkLeafMinVersionLogger struct method Errorf (line 6047) | func (l *checkLeafMinVersionLogger) Errorf(format string, args ...any) { method Noticef (line 6057) | func (l *checkLeafMinVersionLogger) Noticef(format string, args ...any) { function TestLeafNodeMinVersion (line 6067) | func TestLeafNodeMinVersion(t *testing.T) { function TestLeafNodeStreamAndShadowSubs (line 6178) | func TestLeafNodeStreamAndShadowSubs(t *testing.T) { function TestLeafNodeAuthConfigReload (line 6286) | func TestLeafNodeAuthConfigReload(t *testing.T) { function TestLeafNodeSignatureCB (line 6315) | func TestLeafNodeSignatureCB(t *testing.T) { type testLeafTraceLogger (line 6418) | type testLeafTraceLogger struct method Tracef (line 6423) | func (l *testLeafTraceLogger) Tracef(format string, v ...any) { function TestLeafNodePermsSuppressSubs (line 6435) | func TestLeafNodePermsSuppressSubs(t *testing.T) { function TestLeafNodeDuplicateMsg (line 6515) | func TestLeafNodeDuplicateMsg(t *testing.T) { function TestLeafNodeTLSHandshakeFirstVerifyNoInfoSent (line 6720) | func TestLeafNodeTLSHandshakeFirstVerifyNoInfoSent(t *testing.T) { function TestLeafNodeTLSHandshakeFirstFallbackDelayConfigValues (line 6757) | func TestLeafNodeTLSHandshakeFirstFallbackDelayConfigValues(t *testing.T) { function TestLeafNodeTLSHandshakeFirst (line 6810) | func TestLeafNodeTLSHandshakeFirst(t *testing.T) { function TestLeafNodeTLSHandshakeEvenForRemoteWithNoTLSBlock (line 6919) | func TestLeafNodeTLSHandshakeEvenForRemoteWithNoTLSBlock(t *testing.T) { function TestLeafNodeCompressionOptions (line 6968) | func TestLeafNodeCompressionOptions(t *testing.T) { function TestLeafNodeCompression (line 7249) | func TestLeafNodeCompression(t *testing.T) { function BenchmarkLeafNodeCompression (line 7400) | func BenchmarkLeafNodeCompression(b *testing.B) { function TestLeafNodeCompressionMatrixModes (line 7493) | func TestLeafNodeCompressionMatrixModes(t *testing.T) { function TestLeafNodeCompressionWithOlderServer (line 7592) | func TestLeafNodeCompressionWithOlderServer(t *testing.T) { function TestLeafNodeCompressionAuto (line 7657) | func TestLeafNodeCompressionAuto(t *testing.T) { function TestLeafNodeCompressionWithWSCompression (line 7823) | func TestLeafNodeCompressionWithWSCompression(t *testing.T) { function TestLeafNodeCompressionWithWSGetNeedsData (line 7881) | func TestLeafNodeCompressionWithWSGetNeedsData(t *testing.T) { function TestLeafNodeCompressionAuthTimeout (line 7967) | func TestLeafNodeCompressionAuthTimeout(t *testing.T) { function TestLeafNodeWithWeightedDQRequestsToSuperClusterWithSeparateAccounts (line 8036) | func TestLeafNodeWithWeightedDQRequestsToSuperClusterWithSeparateAccount... function TestLeafNodeWithWeightedDQRequestsToSuperClusterWithStreamImportAccounts (line 8259) | func TestLeafNodeWithWeightedDQRequestsToSuperClusterWithStreamImportAcc... function TestLeafNodeWithWeightedDQResponsesWithStreamImportAccountsWithUnsub (line 8579) | func TestLeafNodeWithWeightedDQResponsesWithStreamImportAccountsWithUnsu... function TestLeafNodeTwoRemotesToSameHubAccount (line 8760) | func TestLeafNodeTwoRemotesToSameHubAccount(t *testing.T) { function TestLeafNodeTwoRemotesToSameHubAccountWithClusters (line 8854) | func TestLeafNodeTwoRemotesToSameHubAccountWithClusters(t *testing.T) { function TestLeafNodeSameLocalAccountToMultipleHubs (line 8985) | func TestLeafNodeSameLocalAccountToMultipleHubs(t *testing.T) { function TestLeafNodeSlowConsumer (line 9105) | func TestLeafNodeSlowConsumer(t *testing.T) { function TestLeafNodeDQMultiAccountExportImport (line 9160) | func TestLeafNodeDQMultiAccountExportImport(t *testing.T) { function TestLeafNodeServerReloadSubjectMappings (line 9235) | func TestLeafNodeServerReloadSubjectMappings(t *testing.T) { function TestLeafNodeServerReloadSubjectMappingsWithSameSubject (line 9293) | func TestLeafNodeServerReloadSubjectMappingsWithSameSubject(t *testing.T) { function TestLeafNodeNkeyAuth (line 9349) | func TestLeafNodeNkeyAuth(t *testing.T) { function TestLeafNodeAccountNkeysAuth (line 9379) | func TestLeafNodeAccountNkeysAuth(t *testing.T) { function TestLeafNodeLoopDetectionOnActualLoop (line 9412) | func TestLeafNodeLoopDetectionOnActualLoop(t *testing.T) { function TestLeafNodeConnectionSucceedsEvenWithDelayedFirstINFO (line 9491) | func TestLeafNodeConnectionSucceedsEvenWithDelayedFirstINFO(t *testing.T) { type captureLeafConnClosed (line 9551) | type captureLeafConnClosed struct method Noticef (line 9556) | func (l *captureLeafConnClosed) Noticef(format string, v ...any) { function TestLeafNodeDetectsStaleConnectionIfNoInfo (line 9566) | func TestLeafNodeDetectsStaleConnectionIfNoInfo(t *testing.T) { function TestLeafNodeDupeDeliveryQueueSubAndPlainSub (line 9636) | func TestLeafNodeDupeDeliveryQueueSubAndPlainSub(t *testing.T) { function TestLeafNodeServerKickClient (line 9761) | func TestLeafNodeServerKickClient(t *testing.T) { function TestLeafNodeBannerNoClusterNameIfNoCluster (line 9805) | func TestLeafNodeBannerNoClusterNameIfNoCluster(t *testing.T) { function TestLeafNodeCredFormatting (line 9840) | func TestLeafNodeCredFormatting(t *testing.T) { function TestLeafNodePermissionWithLiteralSubjectAndQueueInterest (line 9937) | func TestLeafNodePermissionWithLiteralSubjectAndQueueInterest(t *testing... function TestLeafNodePermissionWithGateways (line 9999) | func TestLeafNodePermissionWithGateways(t *testing.T) { function TestLeafNodesDisableRemote (line 10111) | func TestLeafNodesDisableRemote(t *testing.T) { function TestLeafNodeIsolatedLeafSubjectPropagationGlobal (line 10282) | func TestLeafNodeIsolatedLeafSubjectPropagationGlobal(t *testing.T) { function TestLeafNodeIsolatedLeafSubjectPropagationRequestIsolation (line 10379) | func TestLeafNodeIsolatedLeafSubjectPropagationRequestIsolation(t *testi... function TestLeafNodeIsolatedLeafSubjectPropagationLocalIsolation (line 10476) | func TestLeafNodeIsolatedLeafSubjectPropagationLocalIsolation(t *testing... function TestLeafNodeDaisyChainWithAccountImportExport (line 10581) | func TestLeafNodeDaisyChainWithAccountImportExport(t *testing.T) { function TestLeafNodeConfigureWriteDeadline (line 10804) | func TestLeafNodeConfigureWriteDeadline(t *testing.T) { function TestLeafNodeConfigureWriteTimeoutPolicy (line 10829) | func TestLeafNodeConfigureWriteTimeoutPolicy(t *testing.T) { function TestLeafNodesBasicTokenAuth (line 10864) | func TestLeafNodesBasicTokenAuth(t *testing.T) { function TestLeafNodeNoAccPanicOnLeafSubBeforeConnect (line 10897) | func TestLeafNodeNoAccPanicOnLeafSubBeforeConnect(t *testing.T) { function TestLeafNodeNoAccPanicOnLeafUnsubBeforeConnect (line 10943) | func TestLeafNodeNoAccPanicOnLeafUnsubBeforeConnect(t *testing.T) { function TestLeafNodeLeafSubBeforeConnectCompressionEffect (line 10986) | func TestLeafNodeLeafSubBeforeConnectCompressionEffect(t *testing.T) { function TestLeafNodeNoAccPanicOnLeafSubBeforeConnectOperatorMode (line 11046) | func TestLeafNodeNoAccPanicOnLeafSubBeforeConnectOperatorMode(t *testing... FILE: server/log.go type Logger (line 27) | type Logger interface method ConfigureLogger (line 49) | func (s *Server) ConfigureLogger() { method Logger (line 104) | func (s *Server) Logger() Logger { method SetLogger (line 111) | func (s *Server) SetLogger(logger Logger, debugFlag, traceFlag bool) { method SetLoggerV2 (line 116) | func (s *Server) SetLoggerV2(logger Logger, debugFlag, traceFlag, sysTra... method ReOpenLogFile (line 150) | func (s *Server) ReOpenLogFile() { method Noticef (line 181) | func (s *Server) Noticef(format string, v ...any) { method Errorf (line 188) | func (s *Server) Errorf(format string, v ...any) { method Errors (line 195) | func (s *Server) Errors(scope any, e error) { method Errorc (line 202) | func (s *Server) Errorc(ctx string, e error) { method Errorsc (line 209) | func (s *Server) Errorsc(scope any, ctx string, e error) { method Warnf (line 216) | func (s *Server) Warnf(format string, v ...any) { method rateLimitFormatWarnf (line 222) | func (s *Server) rateLimitFormatWarnf(format string, v ...any) { method RateLimitErrorf (line 230) | func (s *Server) RateLimitErrorf(format string, v ...any) { method RateLimitWarnf (line 238) | func (s *Server) RateLimitWarnf(format string, v ...any) { method RateLimitDebugf (line 246) | func (s *Server) RateLimitDebugf(format string, v ...any) { method Fatalf (line 255) | func (s *Server) Fatalf(format string, v ...any) { method Debugf (line 266) | func (s *Server) Debugf(format string, v ...any) { method Tracef (line 277) | func (s *Server) Tracef(format string, v ...any) { method executeLogCall (line 287) | func (s *Server) executeLogCall(f func(logger Logger, format string, v .... FILE: server/log_test.go function TestSetLogger (line 29) | func TestSetLogger(t *testing.T) { function TestReOpenLogFile (line 84) | func TestReOpenLogFile(t *testing.T) { function TestFileLoggerSizeLimitAndReopen (line 142) | func TestFileLoggerSizeLimitAndReopen(t *testing.T) { function TestNoPasswordsFromConnectTrace (line 194) | func TestNoPasswordsFromConnectTrace(t *testing.T) { function TestRemovePassFromTrace (line 224) | func TestRemovePassFromTrace(t *testing.T) { function TestRemoveAuthTokenFromTrace (line 352) | func TestRemoveAuthTokenFromTrace(t *testing.T) { function TestRemoveAdditionalAuthFieldsFromTrace (line 480) | func TestRemoveAdditionalAuthFieldsFromTrace(t *testing.T) { FILE: server/memstore.go type memStore (line 33) | type memStore struct method UpdateConfig (line 86) | func (ms *memStore) UpdateConfig(cfg *StreamConfig) error { method recoverTTLState (line 147) | func (ms *memStore) recoverTTLState() { method recoverMsgSchedulingState (line 171) | func (ms *memStore) recoverMsgSchedulingState() { method storeRawMsg (line 195) | func (ms *memStore) storeRawMsg(subj string, hdr, msg []byte, seq uint... method StoreRawMsg (line 329) | func (ms *memStore) StoreRawMsg(subj string, hdr, msg []byte, seq uint... method StoreMsg (line 350) | func (ms *memStore) StoreMsg(subj string, hdr, msg []byte, ttl int64) ... method SkipMsg (line 368) | func (ms *memStore) SkipMsg(seq uint64) (uint64, error) { method SkipMsgs (line 395) | func (ms *memStore) SkipMsgs(seq uint64, num uint64) error { method FlushAllPending (line 424) | func (ms *memStore) FlushAllPending() error { method RegisterStorageUpdates (line 432) | func (ms *memStore) RegisterStorageUpdates(cb StorageUpdateHandler) { method RegisterStorageRemoveMsg (line 440) | func (ms *memStore) RegisterStorageRemoveMsg(cb StorageRemoveMsgHandle... method RegisterProcessJetStreamMsg (line 447) | func (ms *memStore) RegisterProcessJetStreamMsg(cb ProcessJetStreamMsg... method GetSeqFromTime (line 455) | func (ms *memStore) GetSeqFromTime(t time.Time) uint64 { method FilteredState (line 532) | func (ms *memStore) FilteredState(sseq uint64, subj string) (SimpleSta... method filteredStateLocked (line 541) | func (ms *memStore) filteredStateLocked(sseq uint64, filter string, la... method SubjectsState (line 749) | func (ms *memStore) SubjectsState(subject string) map[string]SimpleSta... method AllLastSeqs (line 781) | func (ms *memStore) AllLastSeqs() ([]uint64, error) { method allLastSeqsLocked (line 790) | func (ms *memStore) allLastSeqsLocked() ([]uint64, error) { method filterIsAll (line 812) | func (ms *memStore) filterIsAll(filters []string) bool { method MultiLastSeqs (line 829) | func (ms *memStore) MultiLastSeqs(filters []string, maxSeq uint64, max... method SubjectsTotals (line 885) | func (ms *memStore) SubjectsTotals(filterSubject string) map[string]ui... method subjectsTotalsLocked (line 892) | func (ms *memStore) subjectsTotalsLocked(filterSubject string) map[str... method NumPending (line 917) | func (ms *memStore) NumPending(sseq uint64, filter string, lastPerSubj... method NumPendingMulti (line 927) | func (ms *memStore) NumPendingMulti(sseq uint64, sl *gsl.SimpleSublist... method enforcePerSubjectLimit (line 1076) | func (ms *memStore) enforcePerSubjectLimit(subj string, ss *SimpleStat... method enforceMsgLimit (line 1092) | func (ms *memStore) enforceMsgLimit() { method enforceBytesLimit (line 1106) | func (ms *memStore) enforceBytesLimit() { method startAgeChk (line 1120) | func (ms *memStore) startAgeChk() { method resetAgeChk (line 1130) | func (ms *memStore) resetAgeChk(delta int64) { method cancelAgeChk (line 1198) | func (ms *memStore) cancelAgeChk() { method expireMsgs (line 1207) | func (ms *memStore) expireMsgs() { method shouldProcessSdm (line 1326) | func (ms *memStore) shouldProcessSdm(seq uint64, subj string) (bool, b... method shouldProcessSdmLocked (line 1333) | func (ms *memStore) shouldProcessSdmLocked(seq uint64, subj string) (b... method handleRemovalOrSdm (line 1366) | func (ms *memStore) handleRemovalOrSdm(seq uint64, subj string, sdm bo... method runMsgScheduling (line 1387) | func (ms *memStore) runMsgScheduling() { method PurgeEx (line 1426) | func (ms *memStore) PurgeEx(subject string, sequence, keep uint64) (pu... method Purge (line 1475) | func (ms *memStore) Purge() (uint64, error) { method purge (line 1479) | func (ms *memStore) purge(fseq uint64) (uint64, error) { method Compact (line 1513) | func (ms *memStore) Compact(seq uint64) (uint64, error) { method compact (line 1517) | func (ms *memStore) compact(seq uint64) (uint64, error) { method reset (line 1587) | func (ms *memStore) reset() error { method Truncate (line 1622) | func (ms *memStore) Truncate(seq uint64) error { method deleteFirstMsgOrPanic (line 1671) | func (ms *memStore) deleteFirstMsgOrPanic() { method deleteFirstMsg (line 1677) | func (ms *memStore) deleteFirstMsg() bool { method SubjectForSeq (line 1682) | func (ms *memStore) SubjectForSeq(seq uint64) (string, error) { method LoadMsg (line 1696) | func (ms *memStore) LoadMsg(seq uint64, smp *StoreMsg) (*StoreMsg, err... method loadMsgLocked (line 1701) | func (ms *memStore) loadMsgLocked(seq uint64, smp *StoreMsg, needMSLoc... method LoadLastMsg (line 1728) | func (ms *memStore) LoadLastMsg(subject string, smp *StoreMsg) (*Store... method loadLastLocked (line 1737) | func (ms *memStore) loadLastLocked(subject string, smp *StoreMsg) (*St... method LoadNextMsgMulti (line 1767) | func (ms *memStore) LoadNextMsgMulti(sl *gsl.SimpleSublist, start uint... method LoadNextMsg (line 1802) | func (ms *memStore) LoadNextMsg(filter string, wc bool, start uint64, ... method nextWildcardMatchLocked (line 1814) | func (ms *memStore) nextWildcardMatchLocked(filter string, start uint6... method nextLiteralMatchLocked (line 1856) | func (ms *memStore) nextLiteralMatchLocked(filter string, start uint64... method shouldLinearScan (line 1872) | func (ms *memStore) shouldLinearScan(filter string, wc bool, start uin... method loadNextMsgLocked (line 1881) | func (ms *memStore) loadNextMsgLocked(filter string, wc bool, start ui... method LoadPrevMsg (line 1929) | func (ms *memStore) LoadPrevMsg(start uint64, smp *StoreMsg) (sm *Stor... method LoadPrevMsgMulti (line 1956) | func (ms *memStore) LoadPrevMsgMulti(sl *gsl.SimpleSublist, start uint... method RemoveMsg (line 1991) | func (ms *memStore) RemoveMsg(seq uint64) (bool, error) { method EraseMsg (line 1999) | func (ms *memStore) EraseMsg(seq uint64) (bool, error) { method updateFirstSeq (line 2008) | func (ms *memStore) updateFirstSeq(seq uint64) { method removeSeqPerSubject (line 2041) | func (ms *memStore) removeSeqPerSubject(subj string, seq uint64) { method recalculateForSubj (line 2074) | func (ms *memStore) recalculateForSubj(subj string, ss *SimpleState) { method removeMsg (line 2114) | func (ms *memStore) removeMsg(seq uint64, secure bool) bool { method Type (line 2171) | func (ms *memStore) Type() StorageType { method FastState (line 2177) | func (ms *memStore) FastState(state *StreamState) { method State (line 2196) | func (ms *memStore) State() StreamState { method Utilization (line 2225) | func (ms *memStore) Utilization() (total, reported uint64, err error) { method ResetState (line 2240) | func (ms *memStore) ResetState() { method Delete (line 2249) | func (ms *memStore) Delete(_ bool) error { method Stop (line 2253) | func (ms *memStore) Stop() error { method isClosed (line 2276) | func (ms *memStore) isClosed() bool { method ConsumerStore (line 2290) | func (ms *memStore) ConsumerStore(name string, _ time.Time, cfg *Consu... method AddConsumer (line 2305) | func (ms *memStore) AddConsumer(o ConsumerStore) error { method RemoveConsumer (line 2312) | func (ms *memStore) RemoveConsumer(o ConsumerStore) error { method Snapshot (line 2321) | func (ms *memStore) Snapshot(_ time.Duration, _, _ bool) (*SnapshotRes... method EncodedStreamState (line 2326) | func (ms *memStore) EncodedStreamState(failed uint64) ([]byte, error) { method SyncDeleted (line 2358) | func (ms *memStore) SyncDeleted(dbs DeleteBlocks) error { function newMemStore (line 54) | func newMemStore(cfg *StreamConfig) (*memStore, error) { function memStoreMsgSizeRaw (line 2231) | func memStoreMsgSizeRaw(slen, hlen, mlen int) uint64 { function memStoreMsgSize (line 2235) | func memStoreMsgSize(subj string, hdr, msg []byte) uint64 { type consumerMemStore (line 2282) | type consumerMemStore struct method Update (line 2388) | func (o *consumerMemStore) Update(state *ConsumerState) error { method ForceUpdate (line 2433) | func (o *consumerMemStore) ForceUpdate(state *ConsumerState) error { method SetStarting (line 2474) | func (o *consumerMemStore) SetStarting(sseq uint64) error { method UpdateStarting (line 2483) | func (o *consumerMemStore) UpdateStarting(sseq uint64) { method Reset (line 2497) | func (o *consumerMemStore) Reset(sseq uint64) error { method HasState (line 2505) | func (o *consumerMemStore) HasState() bool { method UpdateDelivered (line 2512) | func (o *consumerMemStore) UpdateDelivered(dseq, sseq, dc uint64, ts i... method UpdateAcks (line 2578) | func (o *consumerMemStore) UpdateAcks(dseq, sseq uint64) error { method UpdateConfig (line 2652) | func (o *consumerMemStore) UpdateConfig(cfg *ConsumerConfig) error { method Stop (line 2661) | func (o *consumerMemStore) Stop() error { method Delete (line 2670) | func (o *consumerMemStore) Delete() error { method StreamDelete (line 2674) | func (o *consumerMemStore) StreamDelete() error { method State (line 2678) | func (o *consumerMemStore) State() (*ConsumerState, error) { method BorrowState (line 2684) | func (o *consumerMemStore) BorrowState() (*ConsumerState, error) { method stateWithCopy (line 2688) | func (o *consumerMemStore) stateWithCopy(doCopy bool) (*ConsumerState,... method EncodedState (line 2718) | func (o *consumerMemStore) EncodedState() ([]byte, error) { method copyPending (line 2729) | func (o *consumerMemStore) copyPending() map[uint64]*Pending { method copyRedelivered (line 2737) | func (o *consumerMemStore) copyRedelivered() map[uint64]uint64 { method Type (line 2746) | func (o *consumerMemStore) Type() StorageType { return MemoryStorage } FILE: server/memstore_test.go function TestMemStoreBasics (line 32) | func TestMemStoreBasics(t *testing.T) { function TestMemStoreMsgLimit (line 67) | func TestMemStoreMsgLimit(t *testing.T) { function TestMemStoreBytesLimit (line 99) | func TestMemStoreBytesLimit(t *testing.T) { function TestMemStoreBytesLimitWithDiscardNew (line 143) | func TestMemStoreBytesLimitWithDiscardNew(t *testing.T) { function TestMemStoreAgeLimit (line 174) | func TestMemStoreAgeLimit(t *testing.T) { function TestMemStoreTimeStamps (line 216) | func TestMemStoreTimeStamps(t *testing.T) { function TestMemStorePurge (line 241) | func TestMemStorePurge(t *testing.T) { function TestMemStoreCompact (line 259) | func TestMemStoreCompact(t *testing.T) { function TestMemStoreEraseMsg (line 298) | func TestMemStoreEraseMsg(t *testing.T) { function TestMemStoreMsgHeaders (line 317) | func TestMemStoreMsgHeaders(t *testing.T) { function TestMemStoreStreamStateDeleted (line 342) | func TestMemStoreStreamStateDeleted(t *testing.T) { function TestMemStoreStreamTruncate (line 385) | func TestMemStoreStreamTruncate(t *testing.T) { function TestMemStorePurgeExWithSubject (line 437) | func TestMemStorePurgeExWithSubject(t *testing.T) { function TestMemStoreUpdateMaxMsgsPerSubject (line 452) | func TestMemStoreUpdateMaxMsgsPerSubject(t *testing.T) { function TestMemStoreStreamTruncateReset (line 490) | func TestMemStoreStreamTruncateReset(t *testing.T) { function TestMemStoreStreamCompactMultiBlockSubjectInfo (line 531) | func TestMemStoreStreamCompactMultiBlockSubjectInfo(t *testing.T) { function TestMemStoreSubjectsTotals (line 557) | func TestMemStoreSubjectsTotals(t *testing.T) { function TestMemStoreNumPending (line 637) | func TestMemStoreNumPending(t *testing.T) { function TestMemStoreInitialFirstSeq (line 766) | func TestMemStoreInitialFirstSeq(t *testing.T) { function TestMemStoreDeleteBlocks (line 800) | func TestMemStoreDeleteBlocks(t *testing.T) { function TestMemStoreGetSeqFromTimeWithLastDeleted (line 840) | func TestMemStoreGetSeqFromTimeWithLastDeleted(t *testing.T) { function TestMemStoreSkipMsgs (line 872) | func TestMemStoreSkipMsgs(t *testing.T) { function TestMemStoreMultiLastSeqs (line 924) | func TestMemStoreMultiLastSeqs(t *testing.T) { function TestMemStoreMultiLastSeqsMaxAllowed (line 1011) | func TestMemStoreMultiLastSeqsMaxAllowed(t *testing.T) { function TestMemStorePurgeExWithDeletedMsgs (line 1032) | func TestMemStorePurgeExWithDeletedMsgs(t *testing.T) { function TestMemStoreDeleteAllFirstSequenceCheck (line 1061) | func TestMemStoreDeleteAllFirstSequenceCheck(t *testing.T) { function TestMemStoreNumPendingMulti (line 1085) | func TestMemStoreNumPendingMulti(t *testing.T) { function TestMemStoreNumPendingBug (line 1138) | func TestMemStoreNumPendingBug(t *testing.T) { function TestMemStorePurgeLeaksDmap (line 1169) | func TestMemStorePurgeLeaksDmap(t *testing.T) { function TestMemStoreMessageTTL (line 1203) | func TestMemStoreMessageTTL(t *testing.T) { function TestMemStoreSubjectDeleteMarkers (line 1231) | func TestMemStoreSubjectDeleteMarkers(t *testing.T) { function TestMemStoreAllLastSeqs (line 1267) | func TestMemStoreAllLastSeqs(t *testing.T) { function TestMemStoreUpdateConfigTTLState (line 1300) | func TestMemStoreUpdateConfigTTLState(t *testing.T) { function TestMemStoreSubjectForSeq (line 1320) | func TestMemStoreSubjectForSeq(t *testing.T) { function TestMemStoreMessageSchedule (line 1344) | func TestMemStoreMessageSchedule(t *testing.T) { function TestMemStoreNextWildcardMatch (line 1374) | func TestMemStoreNextWildcardMatch(t *testing.T) { function TestMemStoreNextLiteralMatch (line 1455) | func TestMemStoreNextLiteralMatch(t *testing.T) { function TestMemStoreMultiLastSeqsDoesNotUseStaleLastValue (line 1517) | func TestMemStoreMultiLastSeqsDoesNotUseStaleLastValue(t *testing.T) { function Benchmark_MemStoreNumPendingWithLargeInteriorDeletesScan (line 1557) | func Benchmark_MemStoreNumPendingWithLargeInteriorDeletesScan(b *testing... function Benchmark_MemStoreNumPendingWithLargeInteriorDeletesExclude (line 1585) | func Benchmark_MemStoreNumPendingWithLargeInteriorDeletesExclude(b *test... function Benchmark_MemStoreSubjectStateConsistencyOptimizationPerf (line 1613) | func Benchmark_MemStoreSubjectStateConsistencyOptimizationPerf(b *testin... function Benchmark_MemStoreLoadNextMsgFiltered (line 1644) | func Benchmark_MemStoreLoadNextMsgFiltered(b *testing.B) { FILE: server/monitor.go type Connz (line 48) | type Connz struct type ConnzOptions (line 59) | type ConnzOptions struct type ConnState (line 102) | type ConnState constant ConnOpen (line 106) | ConnOpen = ConnState(iota) constant ConnClosed (line 108) | ConnClosed constant ConnAll (line 110) | ConnAll type ConnInfo (line 114) | type ConnInfo struct method fill (line 556) | func (ci *ConnInfo) fill(client *client, nc net.Conn, now time.Time, a... type ProxyInfo (line 157) | type ProxyInfo struct type TLSPeerCert (line 162) | type TLSPeerCert struct constant DefaultConnListSize (line 169) | DefaultConnListSize = 1024 constant DefaultSubListSize (line 172) | DefaultSubListSize = 1024 constant defaultStackBufSize (line 174) | defaultStackBufSize = 10000 function newSubsDetailList (line 176) | func newSubsDetailList(client *client) []SubDetail { function newSubsList (line 184) | func newSubsList(client *client) []string { method Connz (line 193) | func (s *Server) Connz(opts *ConnzOptions) (*Connz, error) { function createProxyInfo (line 609) | func createProxyInfo(c *client) *ProxyInfo { function makePeerCerts (line 616) | func makePeerCerts(pc []*x509.Certificate) []*TLSPeerCert { method getRTT (line 629) | func (c *client) getRTT() time.Duration { function decodeBool (line 647) | func decodeBool(w http.ResponseWriter, r *http.Request, param string) (b... function decodeUint64 (line 661) | func decodeUint64(w http.ResponseWriter, r *http.Request, param string) ... function decodeInt (line 675) | func decodeInt(w http.ResponseWriter, r *http.Request, param string) (in... function decodeState (line 689) | func decodeState(w http.ResponseWriter, r *http.Request) (ConnState, err... function decodeSubs (line 709) | func decodeSubs(w http.ResponseWriter, r *http.Request) (subs bool, subs... method HandleConnz (line 718) | func (s *Server) HandleConnz(w http.ResponseWriter, r *http.Request) { type Routez (line 783) | type Routez struct type RoutezOptions (line 794) | type RoutezOptions struct type RouteInfo (line 802) | type RouteInfo struct method Routez (line 830) | func (s *Server) Routez(routezOpts *RoutezOptions) (*Routez, error) { method HandleRoutez (line 905) | func (s *Server) HandleRoutez(w http.ResponseWriter, r *http.Request) { type Subsz (line 929) | type Subsz struct type SubszOptions (line 941) | type SubszOptions struct type SubDetail (line 961) | type SubDetail struct function newSubDetail (line 973) | func newSubDetail(sub *subscription) SubDetail { function newClientSubDetail (line 981) | func newClientSubDetail(sub *subscription) SubDetail { method Subsz (line 993) | func (s *Server) Subsz(opts *SubszOptions) (*Subsz, error) { method HandleSubsz (line 1096) | func (s *Server) HandleSubsz(w http.ResponseWriter, r *http.Request) { method HandleStacksz (line 1143) | func (s *Server) HandleStacksz(w http.ResponseWriter, r *http.Request) { type IpqueueszStatusIPQ (line 1162) | type IpqueueszStatusIPQ struct type IpqueueszStatus (line 1167) | type IpqueueszStatus method Ipqueuesz (line 1169) | func (s *Server) Ipqueuesz(opts *IpqueueszOptions) *IpqueueszStatus { method HandleIPQueuesz (line 1194) | func (s *Server) HandleIPQueuesz(w http.ResponseWriter, r *http.Request) { type Varz (line 1211) | type Varz struct type JetStreamVarz (line 1286) | type JetStreamVarz struct type ClusterOptsVarz (line 1294) | type ClusterOptsVarz struct type GatewayOptsVarz (line 1310) | type GatewayOptsVarz struct type RemoteGatewayOptsVarz (line 1328) | type RemoteGatewayOptsVarz struct type LeafNodeOptsVarz (line 1335) | type LeafNodeOptsVarz struct type DenyRules (line 1350) | type DenyRules struct type RemoteLeafOptsVarz (line 1356) | type RemoteLeafOptsVarz struct type MQTTOptsVarz (line 1365) | type MQTTOptsVarz struct type WebsocketOptsVarz (line 1381) | type WebsocketOptsVarz struct type OCSPResponseCacheVarz (line 1400) | type OCSPResponseCacheVarz struct type ProxiesOptsVarz (line 1411) | type ProxiesOptsVarz struct type ProxyOptsVarz (line 1416) | type ProxyOptsVarz struct type VarzOptions (line 1422) | type VarzOptions struct type SlowConsumersStats (line 1425) | type SlowConsumersStats struct type StaleConnectionStats (line 1433) | type StaleConnectionStats struct function myUptime (line 1440) | func myUptime(d time.Duration) string { function tlsCertNotAfter (line 1463) | func tlsCertNotAfter(config *tls.Config) time.Time { method HandleRoot (line 1480) | func (s *Server) HandleRoot(w http.ResponseWriter, r *http.Request) { method updateJszVarz (line 1555) | func (s *Server) updateJszVarz(js *jetStream, v *JetStreamVarz, doConfig... method Varz (line 1585) | func (s *Server) Varz(varzOpts *VarzOptions) (*Varz, error) { method createVarz (line 1608) | func (s *Server) createVarz(pcpu float64, rss int64) *Varz { function urlsToStrings (line 1761) | func urlsToStrings(urls []*url.URL) []string { method updateVarzConfigReloadableFields (line 1773) | func (s *Server) updateVarzConfigReloadableFields(v *Varz) { function getPinnedCertsAsSlice (line 1830) | func getPinnedCertsAsSlice(certs PinnedCertSet) []string { method updateVarzRuntimeFields (line 1845) | func (s *Server) updateVarzRuntimeFields(v *Varz, forceUpdate bool, pcpu... method HandleVarz (line 1951) | func (s *Server) HandleVarz(w http.ResponseWriter, r *http.Request) { type GatewayzOptions (line 2010) | type GatewayzOptions struct type Gatewayz (line 2030) | type Gatewayz struct type RemoteGatewayz (line 2041) | type RemoteGatewayz struct type AccountGatewayz (line 2048) | type AccountGatewayz struct method Gatewayz (line 2060) | func (s *Server) Gatewayz(opts *GatewayzOptions) (*Gatewayz, error) { function getMonitorGWOptions (line 2095) | func getMonitorGWOptions(opts *GatewayzOptions) (string, bool) { method createOutboundsRemoteGatewayz (line 2113) | func (s *Server) createOutboundsRemoteGatewayz(opts *GatewayzOptions, no... function createOutboundRemoteGatewayz (line 2143) | func createOutboundRemoteGatewayz(c *client, opts *GatewayzOptions, now ... function createOutboundAccountsGatewayz (line 2168) | func createOutboundAccountsGatewayz(opts *GatewayzOptions, gw *gateway) ... function createAccountOutboundGatewayz (line 2197) | func createAccountOutboundGatewayz(opts *GatewayzOptions, name string, e... method createInboundsRemoteGatewayz (line 2238) | func (s *Server) createInboundsRemoteGatewayz(opts *GatewayzOptions, now... function createInboundAccountsGatewayz (line 2270) | func createInboundAccountsGatewayz(opts *GatewayzOptions, gw *gateway) [... function createInboundAccountGatewayz (line 2297) | func createInboundAccountGatewayz(name string, e *insie) *AccountGatewayz { method HandleGatewayz (line 2312) | func (s *Server) HandleGatewayz(w http.ResponseWriter, r *http.Request) { type Leafz (line 2354) | type Leafz struct type LeafzOptions (line 2362) | type LeafzOptions struct type LeafInfo (line 2369) | type LeafInfo struct method Leafz (line 2389) | func (s *Server) Leafz(opts *LeafzOptions) (*Leafz, error) { method HandleLeafz (line 2451) | func (s *Server) HandleLeafz(w http.ResponseWriter, r *http.Request) { type AccountStatz (line 2476) | type AccountStatz struct type AccountStatzOptions (line 2483) | type AccountStatzOptions struct method AccountStatz (line 2489) | func (s *Server) AccountStatz(opts *AccountStatzOptions) (*AccountStatz,... method HandleAccountStatz (line 2521) | func (s *Server) HandleAccountStatz(w http.ResponseWriter, r *http.Reque... function ResponseHandler (line 2548) | func ResponseHandler(w http.ResponseWriter, r *http.Request, data []byte) { function handleResponse (line 2553) | func handleResponse(code int, w http.ResponseWriter, r *http.Request, da... method String (line 2570) | func (reason ClosedState) String() string { type AccountzOptions (line 2652) | type AccountzOptions struct function newExtServiceLatency (line 2657) | func newExtServiceLatency(l *serviceLatency) *jwt.ServiceLatency { type ExtImport (line 2667) | type ExtImport struct type ExtExport (line 2677) | type ExtExport struct type ExtVrIssues (line 2683) | type ExtVrIssues struct type ExtMap (line 2689) | type ExtMap type AccountInfo (line 2691) | type AccountInfo struct type Accountz (line 2715) | type Accountz struct method HandleAccountz (line 2724) | func (s *Server) HandleAccountz(w http.ResponseWriter, r *http.Request) { method Accountz (line 2740) | func (s *Server) Accountz(optz *AccountzOptions) (*Accountz, error) { function newExtImport (line 2764) | func newExtImport(v *serviceImport) ExtImport { method accountInfo (line 2791) | func (s *Server) accountInfo(accName string) (*AccountInfo, error) { type JSzOptions (line 2934) | type JSzOptions struct type HealthzOptions (line 2949) | type HealthzOptions struct type ProfilezOptions (line 2962) | type ProfilezOptions struct type IpqueueszOptions (line 2969) | type IpqueueszOptions struct type RaftzOptions (line 2975) | type RaftzOptions struct type StreamDetail (line 2981) | type StreamDetail struct type RaftGroupDetail (line 2996) | type RaftGroupDetail struct type AccountDetail (line 3001) | type AccountDetail struct type MetaSnapshotStats (line 3009) | type MetaSnapshotStats struct method metaClusterSnapshotStats (line 3017) | func (s *Server) metaClusterSnapshotStats(js *jetStream, mg RaftNode) *M... type MetaClusterInfo (line 3043) | type MetaClusterInfo struct type JSInfo (line 3056) | type JSInfo struct method accountDetail (line 3074) | func (s *Server) accountDetail(jsa *jsAccount, optStreams, optConsumers,... method JszAccount (line 3175) | func (s *Server) JszAccount(opts *JSzOptions) (*AccountDetail, error) { method raftNodeToClusterInfo (line 3195) | func (s *Server) raftNodeToClusterInfo(node RaftNode) *ClusterInfo { method Jsz (line 3213) | func (s *Server) Jsz(opts *JSzOptions) (*JSInfo, error) { method HandleJsz (line 3354) | func (s *Server) HandleJsz(w http.ResponseWriter, r *http.Request) { type HealthStatus (line 3427) | type HealthStatus struct type HealthzError (line 3434) | type HealthzError struct type HealthZErrorType (line 3442) | type HealthZErrorType method String (line 3453) | func (t HealthZErrorType) String() string { method MarshalJSON (line 3472) | func (t HealthZErrorType) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 3476) | func (t *HealthZErrorType) UnmarshalJSON(data []byte) error { constant HealthzErrorConn (line 3445) | HealthzErrorConn HealthZErrorType = iota constant HealthzErrorBadRequest (line 3446) | HealthzErrorBadRequest constant HealthzErrorJetStream (line 3447) | HealthzErrorJetStream constant HealthzErrorAccount (line 3448) | HealthzErrorAccount constant HealthzErrorStream (line 3449) | HealthzErrorStream constant HealthzErrorConsumer (line 3450) | HealthzErrorConsumer method HandleHealthz (line 3497) | func (s *Server) HandleHealthz(w http.ResponseWriter, r *http.Request) { method healthz (line 3556) | func (s *Server) healthz(opts *HealthzOptions) *HealthStatus { method Healthz (line 4036) | func (s *Server) Healthz(opts *HealthzOptions) *HealthStatus { type ExpvarzStatus (line 4040) | type ExpvarzStatus struct method expvarz (line 4045) | func (s *Server) expvarz(_ *ExpvarzEventOptions) *ExpvarzStatus { type ProfilezStatus (line 4064) | type ProfilezStatus struct method profilez (line 4069) | func (s *Server) profilez(opts *ProfilezOptions) *ProfilezStatus { type RaftzGroup (line 4107) | type RaftzGroup struct type RaftzGroupPeer (line 4135) | type RaftzGroupPeer struct type RaftzStatus (line 4142) | type RaftzStatus method HandleRaftz (line 4144) | func (s *Server) HandleRaftz(w http.ResponseWriter, r *http.Request) { method Raftz (line 4166) | func (s *Server) Raftz(opts *RaftzOptions) *RaftzStatus { FILE: server/monitor_sort_opts.go type ConnInfos (line 21) | type ConnInfos method Len (line 25) | func (cl ConnInfos) Len() int { return len(cl) } method Swap (line 28) | func (cl ConnInfos) Swap(i, j int) { cl[i], cl[j] = cl[j], cl[i] } type SortOpt (line 31) | type SortOpt method IsValid (line 149) | func (s SortOpt) IsValid() bool { constant ByCid (line 35) | ByCid SortOpt = "cid" constant ByStart (line 36) | ByStart SortOpt = "start" constant BySubs (line 37) | BySubs SortOpt = "subs" constant ByPending (line 38) | ByPending SortOpt = "pending" constant ByOutMsgs (line 39) | ByOutMsgs SortOpt = "msgs_to" constant ByInMsgs (line 40) | ByInMsgs SortOpt = "msgs_from" constant ByOutBytes (line 41) | ByOutBytes SortOpt = "bytes_to" constant ByInBytes (line 42) | ByInBytes SortOpt = "bytes_from" constant ByLast (line 43) | ByLast SortOpt = "last" constant ByIdle (line 44) | ByIdle SortOpt = "idle" constant ByUptime (line 45) | ByUptime SortOpt = "uptime" constant ByStop (line 46) | ByStop SortOpt = "stop" constant ByReason (line 47) | ByReason SortOpt = "reason" constant ByRTT (line 48) | ByRTT SortOpt = "rtt" type SortByCid (line 53) | type SortByCid struct method Less (line 55) | func (l SortByCid) Less(i, j int) bool { return l.ConnInfos[i].Cid < l... type SortBySubs (line 58) | type SortBySubs struct method Less (line 60) | func (l SortBySubs) Less(i, j int) bool { return l.ConnInfos[i].NumSub... type SortByPending (line 63) | type SortByPending struct method Less (line 65) | func (l SortByPending) Less(i, j int) bool { return l.ConnInfos[i].Pen... type SortByOutMsgs (line 68) | type SortByOutMsgs struct method Less (line 70) | func (l SortByOutMsgs) Less(i, j int) bool { return l.ConnInfos[i].Out... type SortByInMsgs (line 73) | type SortByInMsgs struct method Less (line 75) | func (l SortByInMsgs) Less(i, j int) bool { return l.ConnInfos[i].InMs... type SortByOutBytes (line 78) | type SortByOutBytes struct method Less (line 80) | func (l SortByOutBytes) Less(i, j int) bool { return l.ConnInfos[i].Ou... type SortByInBytes (line 83) | type SortByInBytes struct method Less (line 85) | func (l SortByInBytes) Less(i, j int) bool { return l.ConnInfos[i].InB... type SortByLast (line 88) | type SortByLast struct method Less (line 90) | func (l SortByLast) Less(i, j int) bool { type SortByIdle (line 95) | type SortByIdle struct method Less (line 100) | func (l SortByIdle) Less(i, j int) bool { type SortByUptime (line 105) | type SortByUptime struct method Less (line 110) | func (l SortByUptime) Less(i, j int) bool { type SortByStop (line 128) | type SortByStop struct method Less (line 130) | func (l SortByStop) Less(i, j int) bool { type SortByReason (line 137) | type SortByReason struct method Less (line 139) | func (l SortByReason) Less(i, j int) bool { type SortByRTT (line 144) | type SortByRTT struct method Less (line 146) | func (l SortByRTT) Less(i, j int) bool { return l.ConnInfos[i].rtt < l... FILE: server/monitor_test.go constant CLIENT_PORT (line 43) | CLIENT_PORT = -1 constant MONITOR_PORT (line 44) | MONITOR_PORT = -1 constant CLUSTER_PORT (line 45) | CLUSTER_PORT = -1 function DefaultMonitorOptions (line 47) | func DefaultMonitorOptions() *Options { function runMonitorJSServer (line 62) | func runMonitorJSServer(t *testing.T, clientPort int, monitorPort int, c... function runMonitorServer (line 103) | func runMonitorServer() *Server { function runMonitorServerWithAccounts (line 110) | func runMonitorServerWithAccounts() *Server { function runMonitorServerNoHTTPPort (line 123) | func runMonitorServerNoHTTPPort() *Server { function resetPreviousHTTPConnections (line 131) | func resetPreviousHTTPConnections() { function TestMyUptime (line 135) | func TestMyUptime(t *testing.T) { function TestMonitorNoPort (line 168) | func TestMonitorNoPort(t *testing.T) { function readBodyEx (line 192) | func readBodyEx(t *testing.T, url string, status int, content string) []... function TestMonitorHTTPBasePath (line 220) | func TestMonitorHTTPBasePath(t *testing.T) { function readBody (line 233) | func readBody(t *testing.T, url string) []byte { function pollVarz (line 238) | func pollVarz(t *testing.T, s *Server, mode int, url string, opts *VarzO... function TestMonitorVarzSubscriptionsResetProperly (line 257) | func TestMonitorVarzSubscriptionsResetProperly(t *testing.T) { function TestMonitorHandleVarz (line 275) | func TestMonitorHandleVarz(t *testing.T) { function pollConnz (line 350) | func pollConnz(t *testing.T, s *Server, mode int, url string, opts *Conn... function TestMonitorConnz (line 367) | func TestMonitorConnz(t *testing.T) { function TestMonitorConnzBadParams (line 430) | func TestMonitorConnzBadParams(t *testing.T) { function TestMonitorConnzWithSubs (line 442) | func TestMonitorConnzWithSubs(t *testing.T) { function TestMonitorConnzWithSubsDetail (line 463) | func TestMonitorConnzWithSubsDetail(t *testing.T) { function TestMonitorClosedConnzWithSubsDetail (line 484) | func TestMonitorClosedConnzWithSubsDetail(t *testing.T) { function TestMonitorConnzWithCID (line 514) | func TestMonitorConnzWithCID(t *testing.T) { function createConnMap (line 563) | func createConnMap(cz *Connz) map[string]*ConnInfo { function getFooAndBar (line 571) | func getFooAndBar(cm map[string]*ConnInfo) (*ConnInfo, *ConnInfo) { function ensureServerActivityRecorded (line 575) | func ensureServerActivityRecorded(t *testing.T, nc *nats.Conn) { function TestMonitorConnzRTT (line 583) | func TestMonitorConnzRTT(t *testing.T) { function TestMonitorConnzLastActivity (line 638) | func TestMonitorConnzLastActivity(t *testing.T) { function TestMonitorConnzWithOffsetAndLimit (line 732) | func TestMonitorConnzWithOffsetAndLimit(t *testing.T) { function TestMonitorConnzDefaultSorted (line 806) | func TestMonitorConnzDefaultSorted(t *testing.T) { function TestMonitorConnzSortedByCid (line 827) | func TestMonitorConnzSortedByCid(t *testing.T) { function TestMonitorConnzSortedByStart (line 849) | func TestMonitorConnzSortedByStart(t *testing.T) { function TestMonitorConnzSortedByBytesAndMsgs (line 871) | func TestMonitorConnzSortedByBytesAndMsgs(t *testing.T) { function TestMonitorConnzSortedByPending (line 925) | func TestMonitorConnzSortedByPending(t *testing.T) { function TestMonitorConnzSortedBySubs (line 950) | func TestMonitorConnzSortedBySubs(t *testing.T) { function TestMonitorConnzSortedByLast (line 976) | func TestMonitorConnzSortedByLast(t *testing.T) { function TestMonitorConnzSortedByUptime (line 1007) | func TestMonitorConnzSortedByUptime(t *testing.T) { function TestMonitorConnzSortedByUptimeClosedConn (line 1036) | func TestMonitorConnzSortedByUptimeClosedConn(t *testing.T) { function TestMonitorConnzSortedByStopOnOpen (line 1074) | func TestMonitorConnzSortedByStopOnOpen(t *testing.T) { function TestMonitorConnzSortedByStopTimeClosedConn (line 1096) | func TestMonitorConnzSortedByStopTimeClosedConn(t *testing.T) { function TestMonitorConnzSortedByReason (line 1141) | func TestMonitorConnzSortedByReason(t *testing.T) { function TestMonitorConnzSortedByReasonOnOpen (line 1180) | func TestMonitorConnzSortedByReasonOnOpen(t *testing.T) { function TestMonitorConnzSortedByIdle (line 1202) | func TestMonitorConnzSortedByIdle(t *testing.T) { function getConnsIdleDurations (line 1264) | func getConnsIdleDurations(t *testing.T, conns []*ConnInfo) []time.Durat... function sortedDurationsDesc (line 1281) | func sortedDurationsDesc(durations []time.Duration) bool { function TestMonitorConnzSortByIdleTime (line 1288) | func TestMonitorConnzSortByIdleTime(t *testing.T) { function getIdleDurations (line 1350) | func getIdleDurations(conns ConnInfos, now time.Time) []time.Duration { function sortedDurationsAsc (line 1361) | func sortedDurationsAsc(durations []time.Duration) bool { function TestMonitorConnzSortBadRequest (line 1367) | func TestMonitorConnzSortBadRequest(t *testing.T) { function pollRoutez (line 1388) | func pollRoutez(t *testing.T, s *Server, mode int, url string, opts *Rou... function TestMonitorConnzWithRoutes (line 1405) | func TestMonitorConnzWithRoutes(t *testing.T) { function TestMonitorRoutezWithBadParams (line 1513) | func TestMonitorRoutezWithBadParams(t *testing.T) { function pollSubsz (line 1521) | func pollSubsz(t *testing.T, s *Server, mode int, url string, opts *Subs... function TestSubsz (line 1538) | func TestSubsz(t *testing.T) { function TestSubszOperatorMode (line 1570) | func TestSubszOperatorMode(t *testing.T) { function TestMonitorSubszDetails (line 1609) | func TestMonitorSubszDetails(t *testing.T) { function TestMonitorSubszWithOffsetAndLimit (line 1642) | func TestMonitorSubszWithOffsetAndLimit(t *testing.T) { function TestMonitorSubszTestPubSubject (line 1675) | func TestMonitorSubszTestPubSubject(t *testing.T) { function TestMonitorSubszMultiAccount (line 1709) | func TestMonitorSubszMultiAccount(t *testing.T) { function TestMonitorSubszMultiAccountWithOffsetAndLimit (line 1777) | func TestMonitorSubszMultiAccountWithOffsetAndLimit(t *testing.T) { function TestMonitorHandleRoot (line 1819) | func TestMonitorHandleRoot(t *testing.T) { function TestMonitorConnzWithNamedClient (line 1851) | func TestMonitorConnzWithNamedClient(t *testing.T) { function TestMonitorConnzWithStateForClosedConns (line 1876) | func TestMonitorConnzWithStateForClosedConns(t *testing.T) { function TestMonitorConnzClosedConnsRace (line 1970) | func TestMonitorConnzClosedConnsRace(t *testing.T) { function TestMonitorConnzClosedConnsBadClient (line 2005) | func TestMonitorConnzClosedConnsBadClient(t *testing.T) { function TestMonitorConnzClosedConnsBadTLSClient (line 2039) | func TestMonitorConnzClosedConnsBadTLSClient(t *testing.T) { function createClientConnWithUserSubscribeAndPublish (line 2089) | func createClientConnWithUserSubscribeAndPublish(t *testing.T, s *Server... function createClientConnSubscribeAndPublish (line 2118) | func createClientConnSubscribeAndPublish(t *testing.T, s *Server) *nats.... function createClientConnWithName (line 2122) | func createClientConnWithName(t *testing.T, name string, s *Server) *nat... function TestMonitorStacksz (line 2135) | func TestMonitorStacksz(t *testing.T) { function TestMonitorConcurrentMonitoring (line 2148) | func TestMonitorConcurrentMonitoring(t *testing.T) { function TestMonitorHandler (line 2196) | func TestMonitorHandler(t *testing.T) { function TestMonitorRoutezRace (line 2210) | func TestMonitorRoutezRace(t *testing.T) { function TestMonitorConnzTLSInHandshake (line 2250) | func TestMonitorConnzTLSInHandshake(t *testing.T) { function TestMonitorConnzTLSCfg (line 2298) | func TestMonitorConnzTLSCfg(t *testing.T) { function TestMonitorConnzTLSPeerCerts (line 2354) | func TestMonitorConnzTLSPeerCerts(t *testing.T) { function TestMonitorServerIDs (line 2410) | func TestMonitorServerIDs(t *testing.T) { function TestMonitorHttpStatsNoUpdatedWhenUsingServerFuncs (line 2435) | func TestMonitorHttpStatsNoUpdatedWhenUsingServerFuncs(t *testing.T) { function TestMonitorClusterEmptyWhenNotDefined (line 2456) | func TestMonitorClusterEmptyWhenNotDefined(t *testing.T) { function TestMonitorRoutezPermissions (line 2475) | func TestMonitorRoutezPermissions(t *testing.T) { function Benchmark_Connz (line 2560) | func Benchmark_Connz(b *testing.B) { function Benchmark_Varz (line 2595) | func Benchmark_Varz(b *testing.B) { function Benchmark_VarzHttp (line 2612) | func Benchmark_VarzHttp(b *testing.B) { function TestMonitorVarzRaces (line 2641) | func TestMonitorVarzRaces(t *testing.T) { function testMonitorStructPresent (line 2708) | func testMonitorStructPresent(t *testing.T, tag string) { function TestMonitorCluster (line 2724) | func TestMonitorCluster(t *testing.T) { function TestMonitorClusterURLs (line 2780) | func TestMonitorClusterURLs(t *testing.T) { function TestMonitorGateway (line 2880) | func TestMonitorGateway(t *testing.T) { function TestMonitorGatewayURLsUpdated (line 2981) | func TestMonitorGatewayURLsUpdated(t *testing.T) { function TestMonitorGatewayReportItsOwnURLs (line 3082) | func TestMonitorGatewayReportItsOwnURLs(t *testing.T) { function TestMonitorLeafNode (line 3112) | func TestMonitorLeafNode(t *testing.T) { function pollGatewayz (line 3190) | func pollGatewayz(t *testing.T, s *Server, mode int, url string, opts *G... function TestMonitorGatewayz (line 3207) | func TestMonitorGatewayz(t *testing.T) { function TestMonitorGatewayzAccounts (line 3410) | func TestMonitorGatewayzAccounts(t *testing.T) { function TestMonitorGatewayzWithSubs (line 3776) | func TestMonitorGatewayzWithSubs(t *testing.T) { function TestMonitorRoutezRTT (line 3919) | func TestMonitorRoutezRTT(t *testing.T) { function pollLeafz (line 3956) | func pollLeafz(t *testing.T, s *Server, mode int, url string, opts *Leaf... function TestMonitorOpJWT (line 3973) | func TestMonitorOpJWT(t *testing.T) { function TestMonitorLeafz (line 4009) | func TestMonitorLeafz(t *testing.T) { function pollAccountz (line 4266) | func pollAccountz(t *testing.T, s *Server, mode int, url string, opts *A... function pollAccountStatz (line 4283) | func pollAccountStatz(t *testing.T, s *Server, mode int, url string, opt... function TestMonitorAccountz (line 4300) | func TestMonitorAccountz(t *testing.T) { function TestMonitorAccountStatz (line 4330) | func TestMonitorAccountStatz(t *testing.T) { function runMonitorServerWithOperator (line 4356) | func runMonitorServerWithOperator(t *testing.T, sysName, accName string)... function createUser (line 4512) | func createUser(t *testing.T, accKp nkeys.KeyPair) (string, string) { function TestMonitorAccountzOperatorMode (line 4525) | func TestMonitorAccountzOperatorMode(t *testing.T) { function TestMonitorAccountStatzOperatorMode (line 4571) | func TestMonitorAccountStatzOperatorMode(t *testing.T) { function TestMonitorAccountStatzDataStatsOperatorMode (line 4615) | func TestMonitorAccountStatzDataStatsOperatorMode(t *testing.T) { function TestMonitorAccountzAccountIssuerUpdate (line 4733) | func TestMonitorAccountzAccountIssuerUpdate(t *testing.T) { function TestMonitorAuthorizedUsers (line 4842) | func TestMonitorAuthorizedUsers(t *testing.T) { function checkForJSClusterUp (line 4936) | func checkForJSClusterUp(t *testing.T, servers ...*Server) { function pollJsz (line 4944) | func pollJsz(t *testing.T, s *Server, mode int, url string, opts *JSzOpt... function TestMonitorJszNonJszServer (line 4960) | func TestMonitorJszNonJszServer(t *testing.T) { function TestMonitorJsz (line 4985) | func TestMonitorJsz(t *testing.T) { function TestMonitorJszOperatorMode (line 5445) | func TestMonitorJszOperatorMode(t *testing.T) { function TestMonitorReloadTLSConfig (line 5486) | func TestMonitorReloadTLSConfig(t *testing.T) { function TestMonitorMQTT (line 5552) | func TestMonitorMQTT(t *testing.T) { function TestMonitorWebsocket (line 5597) | func TestMonitorWebsocket(t *testing.T) { function TestMonitorServerIDZRequest (line 5650) | func TestMonitorServerIDZRequest(t *testing.T) { function TestMonitorProfilez (line 5678) | func TestMonitorProfilez(t *testing.T) { function TestMonitorRoutezPoolSize (line 5705) | func TestMonitorRoutezPoolSize(t *testing.T) { function TestMonitorRoutezPerAccount (line 5798) | func TestMonitorRoutezPerAccount(t *testing.T) { function TestMonitorConnzOperatorAccountNames (line 5880) | func TestMonitorConnzOperatorAccountNames(t *testing.T) { function TestMonitorConnzOperatorModeFilterByUser (line 5912) | func TestMonitorConnzOperatorModeFilterByUser(t *testing.T) { function TestMonitorConnzSortByRTT (line 5979) | func TestMonitorConnzSortByRTT(t *testing.T) { function TestMonitorConnzIncludesLeafnodes (line 6027) | func TestMonitorConnzIncludesLeafnodes(t *testing.T) { function TestMonitorAccountszMappingOrderReporting (line 6110) | func TestMonitorAccountszMappingOrderReporting(t *testing.T) { function createCallbackURL (line 6153) | func createCallbackURL(t *testing.T, endpoint string) string { function stripCallback (line 6172) | func stripCallback(data []byte) []byte { function expectHealthStatus (line 6185) | func expectHealthStatus(t *testing.T, url string, statusCode int, wantSt... function checkHealthStatus (line 6199) | func checkHealthStatus(t *testing.T, body []byte, wantStatus string) { function checkHealthzEndpoint (line 6214) | func checkHealthzEndpoint(t *testing.T, address string, statusCode int, ... function TestMonitorHealthzStatusOK (line 6230) | func TestMonitorHealthzStatusOK(t *testing.T) { function TestMonitorHealthzStatusError (line 6237) | func TestMonitorHealthzStatusError(t *testing.T) { function TestMonitorHealthzStatusUnavailable (line 6256) | func TestMonitorHealthzStatusUnavailable(t *testing.T) { function TestServerHealthz (line 6313) | func TestServerHealthz(t *testing.T) { function TestMonitorIpqzWithGenerics (line 6499) | func TestMonitorIpqzWithGenerics(t *testing.T) { function TestMonitorVarzSyncInterval (line 6517) | func TestMonitorVarzSyncInterval(t *testing.T) { function TestMonitorVarzJSApiLevel (line 6534) | func TestMonitorVarzJSApiLevel(t *testing.T) { function TestMonitorVarzMetadata (line 6549) | func TestMonitorVarzMetadata(t *testing.T) { function TestMonitorVarzTLSCertEndDate (line 6562) | func TestMonitorVarzTLSCertEndDate(t *testing.T) { function TestMetaClusterInfoSnapshotStats (line 6605) | func TestMetaClusterInfoSnapshotStats(t *testing.T) { FILE: server/mqtt.go constant mqttPacketConnect (line 42) | mqttPacketConnect = byte(0x10) constant mqttPacketConnectAck (line 43) | mqttPacketConnectAck = byte(0x20) constant mqttPacketPub (line 44) | mqttPacketPub = byte(0x30) constant mqttPacketPubAck (line 45) | mqttPacketPubAck = byte(0x40) constant mqttPacketPubRec (line 46) | mqttPacketPubRec = byte(0x50) constant mqttPacketPubRel (line 47) | mqttPacketPubRel = byte(0x60) constant mqttPacketPubComp (line 48) | mqttPacketPubComp = byte(0x70) constant mqttPacketSub (line 49) | mqttPacketSub = byte(0x80) constant mqttPacketSubAck (line 50) | mqttPacketSubAck = byte(0x90) constant mqttPacketUnsub (line 51) | mqttPacketUnsub = byte(0xa0) constant mqttPacketUnsubAck (line 52) | mqttPacketUnsubAck = byte(0xb0) constant mqttPacketPing (line 53) | mqttPacketPing = byte(0xc0) constant mqttPacketPingResp (line 54) | mqttPacketPingResp = byte(0xd0) constant mqttPacketDisconnect (line 55) | mqttPacketDisconnect = byte(0xe0) constant mqttPacketMask (line 56) | mqttPacketMask = byte(0xf0) constant mqttPacketFlagMask (line 57) | mqttPacketFlagMask = byte(0x0f) constant mqttProtoLevel (line 59) | mqttProtoLevel = byte(0x4) constant mqttConnFlagReserved (line 62) | mqttConnFlagReserved = byte(0x1) constant mqttConnFlagCleanSession (line 63) | mqttConnFlagCleanSession = byte(0x2) constant mqttConnFlagWillFlag (line 64) | mqttConnFlagWillFlag = byte(0x04) constant mqttConnFlagWillQoS (line 65) | mqttConnFlagWillQoS = byte(0x18) constant mqttConnFlagWillRetain (line 66) | mqttConnFlagWillRetain = byte(0x20) constant mqttConnFlagPasswordFlag (line 67) | mqttConnFlagPasswordFlag = byte(0x40) constant mqttConnFlagUsernameFlag (line 68) | mqttConnFlagUsernameFlag = byte(0x80) constant mqttPubFlagRetain (line 71) | mqttPubFlagRetain = byte(0x01) constant mqttPubFlagQoS (line 72) | mqttPubFlagQoS = byte(0x06) constant mqttPubFlagDup (line 73) | mqttPubFlagDup = byte(0x08) constant mqttPubQos1 (line 74) | mqttPubQos1 = byte(0x1 << 1) constant mqttPubQoS2 (line 75) | mqttPubQoS2 = byte(0x2 << 1) constant mqttSubscribeFlags (line 78) | mqttSubscribeFlags = byte(0x2) constant mqttSubAckFailure (line 79) | mqttSubAckFailure = byte(0x80) constant mqttUnsubscribeFlags (line 82) | mqttUnsubscribeFlags = byte(0x2) constant mqttConnAckRCConnectionAccepted (line 85) | mqttConnAckRCConnectionAccepted = byte(0x0) constant mqttConnAckRCUnacceptableProtocolVersion (line 86) | mqttConnAckRCUnacceptableProtocolVersion = byte(0x1) constant mqttConnAckRCIdentifierRejected (line 87) | mqttConnAckRCIdentifierRejected = byte(0x2) constant mqttConnAckRCServerUnavailable (line 88) | mqttConnAckRCServerUnavailable = byte(0x3) constant mqttConnAckRCBadUserOrPassword (line 89) | mqttConnAckRCBadUserOrPassword = byte(0x4) constant mqttConnAckRCNotAuthorized (line 90) | mqttConnAckRCNotAuthorized = byte(0x5) constant mqttConnAckRCQoS2WillRejected (line 91) | mqttConnAckRCQoS2WillRejected = byte(0x10) constant mqttMaxPayloadSize (line 94) | mqttMaxPayloadSize = 0xFFFFFFF constant mqttTopicLevelSep (line 97) | mqttTopicLevelSep = '/' constant mqttSingleLevelWC (line 98) | mqttSingleLevelWC = '+' constant mqttMultiLevelWC (line 99) | mqttMultiLevelWC = '#' constant mqttReservedPre (line 100) | mqttReservedPre = '$' constant mqttMultiLevelSidSuffix (line 105) | mqttMultiLevelSidSuffix = " fwc" constant mqttPrefix (line 108) | mqttPrefix = "$MQTT." constant mqttSubPrefix (line 113) | mqttSubPrefix = mqttPrefix + "sub." constant mqttStreamName (line 116) | mqttStreamName = "$MQTT_msgs" constant mqttStreamSubjectPrefix (line 117) | mqttStreamSubjectPrefix = mqttPrefix + "msgs." constant mqttRetainedMsgsStreamName (line 120) | mqttRetainedMsgsStreamName = "$MQTT_rmsgs" constant mqttRetainedMsgsStreamSubject (line 121) | mqttRetainedMsgsStreamSubject = mqttPrefix + "rmsgs." constant mqttSessStreamName (line 124) | mqttSessStreamName = "$MQTT_sess" constant mqttSessStreamSubjectPrefix (line 125) | mqttSessStreamSubjectPrefix = mqttPrefix + "sess." constant mqttSessionsStreamNamePrefix (line 128) | mqttSessionsStreamNamePrefix = "$MQTT_sess_" constant mqttQoS2IncomingMsgsStreamName (line 131) | mqttQoS2IncomingMsgsStreamName = "$MQTT_qos2in" constant mqttQoS2IncomingMsgsStreamSubjectPrefix (line 132) | mqttQoS2IncomingMsgsStreamSubjectPrefix = mqttPrefix + "qos2.in." constant mqttOutStreamName (line 135) | mqttOutStreamName = "$MQTT_out" constant mqttOutSubjectPrefix (line 136) | mqttOutSubjectPrefix = mqttPrefix + "out." constant mqttPubRelSubjectPrefix (line 137) | mqttPubRelSubjectPrefix = mqttPrefix + "out.pubrel." constant mqttPubRelDeliverySubjectPrefix (line 138) | mqttPubRelDeliverySubjectPrefix = mqttPrefix + "deliver.pubrel." constant mqttPubRelConsumerDurablePrefix (line 139) | mqttPubRelConsumerDurablePrefix = "$MQTT_PUBREL_" constant mqttDefaultAckWait (line 145) | mqttDefaultAckWait = 30 * time.Second constant mqttDefaultMaxAckPending (line 149) | mqttDefaultMaxAckPending = 1024 constant mqttMaxAckTotalLimit (line 153) | mqttMaxAckTotalLimit = 0xFFFF constant mqttJSARepliesPrefix (line 156) | mqttJSARepliesPrefix = mqttPrefix + "JSA." constant mqttJSAIdTokenPos (line 162) | mqttJSAIdTokenPos = 3 constant mqttJSATokenPos (line 163) | mqttJSATokenPos = 4 constant mqttJSAClientIDPos (line 164) | mqttJSAClientIDPos = 5 constant mqttJSAStreamCreate (line 165) | mqttJSAStreamCreate = "SC" constant mqttJSAStreamUpdate (line 166) | mqttJSAStreamUpdate = "SU" constant mqttJSAStreamLookup (line 167) | mqttJSAStreamLookup = "SL" constant mqttJSAStreamDel (line 168) | mqttJSAStreamDel = "SD" constant mqttJSAConsumerCreate (line 169) | mqttJSAConsumerCreate = "CC" constant mqttJSAConsumerLookup (line 170) | mqttJSAConsumerLookup = "CL" constant mqttJSAConsumerDel (line 171) | mqttJSAConsumerDel = "CD" constant mqttJSAMsgStore (line 172) | mqttJSAMsgStore = "MS" constant mqttJSAMsgLoad (line 173) | mqttJSAMsgLoad = "ML" constant mqttJSAMsgDelete (line 174) | mqttJSAMsgDelete = "MD" constant mqttJSASessPersist (line 175) | mqttJSASessPersist = "SP" constant mqttJSARetainedMsgDel (line 176) | mqttJSARetainedMsgDel = "RD" constant mqttJSAStreamNames (line 177) | mqttJSAStreamNames = "SN" constant mqttSessFlappingJailDur (line 182) | mqttSessFlappingJailDur = time.Second constant mqttSessFlappingCleanupInterval (line 185) | mqttSessFlappingCleanupInterval = 5 * time.Second constant mqttDefaultTransferRetry (line 188) | mqttDefaultTransferRetry = 5 * time.Second constant mqttWSPath (line 191) | mqttWSPath = "/mqtt" constant mqttInitialPubHeader (line 193) | mqttInitialPubHeader = 16 constant mqttProcessSubTooLong (line 194) | mqttProcessSubTooLong = 100 * time.Millisecond constant mqttDefaultRetainedCacheTTL (line 195) | mqttDefaultRetainedCacheTTL = 2 * time.Minute constant mqttRetainedTransferTimeout (line 196) | mqttRetainedTransferTimeout = 10 * time.Second constant mqttDefaultJSAPITimeout (line 197) | mqttDefaultJSAPITimeout = 5 * time.Second constant mqttRetainedFlagDelMarker (line 198) | mqttRetainedFlagDelMarker = '-' constant sparkbNBIRTH (line 202) | sparkbNBIRTH = "NBIRTH" constant sparkbDBIRTH (line 203) | sparkbDBIRTH = "DBIRTH" constant sparkbNDEATH (line 204) | sparkbNDEATH = "NDEATH" constant sparkbDDEATH (line 205) | sparkbDDEATH = "DDEATH" type srvMQTT (line 246) | type srvMQTT struct type mqttSessionManager (line 253) | type mqttSessionManager struct type mqttAccountSessionManager (line 258) | type mqttAccountSessionManager struct method processJSAPIReplies (line 1929) | func (as *mqttAccountSessionManager) processJSAPIReplies(_ *subscripti... method processRetainedMsg (line 2014) | func (as *mqttAccountSessionManager) processRetainedMsg(_ *subscriptio... method processRetainedMsgDel (line 2049) | func (as *mqttAccountSessionManager) processRetainedMsgDel(_ *subscrip... method processSessionPersist (line 2073) | func (as *mqttAccountSessionManager) processSessionPersist(_ *subscrip... method addSessToFlappers (line 2135) | func (as *mqttAccountSessionManager) addSessToFlappers(clientID string) { method removeSessFromFlappers (line 2159) | func (as *mqttAccountSessionManager) removeSessFromFlappers(clientID s... method createSubscription (line 2167) | func (as *mqttAccountSessionManager) createSubscription(subject string... method cleanupRetainedMessageCache (line 2183) | func (as *mqttAccountSessionManager) cleanupRetainedMessageCache(s *Se... method sendJSAPIrequests (line 2217) | func (as *mqttAccountSessionManager) sendJSAPIrequests(s *Server, c *c... method addRetainedMsg (line 2312) | func (as *mqttAccountSessionManager) addRetainedMsg(key string, rf *mq... method removeRetainedMsg (line 2347) | func (as *mqttAccountSessionManager) removeRetainedMsg(subject string,... method lockSession (line 2369) | func (as *mqttAccountSessionManager) lockSession(sess *mqttSession, c ... method unlockSession (line 2388) | func (as *mqttAccountSessionManager) unlockSession(sess *mqttSession) { method addSession (line 2399) | func (as *mqttAccountSessionManager) addSession(sess *mqttSession, loc... method removeSession (line 2415) | func (as *mqttAccountSessionManager) removeSession(sess *mqttSession, ... method processSubs (line 2506) | func (as *mqttAccountSessionManager) processSubs(sess *mqttSession, c ... method serializeRetainedMsgsForSub (line 2685) | func (as *mqttAccountSessionManager) serializeRetainedMsgsForSub(rms m... method addRetainedSubjectsForSubject (line 2743) | func (as *mqttAccountSessionManager) addRetainedSubjectsForSubject(lis... method loadRetainedMessages (line 2773) | func (as *mqttAccountSessionManager) loadRetainedMessages(subjects map... method createOrRestoreSession (line 3015) | func (as *mqttAccountSessionManager) createOrRestoreSession(clientID s... method deleteRetainedMsg (line 3054) | func (as *mqttAccountSessionManager) deleteRetainedMsg(seq uint64) { method notifyRetainedMsgDeleted (line 3061) | func (as *mqttAccountSessionManager) notifyRetainedMsgDeleted(subject ... method transferUniqueSessStreamsToMuxed (line 3074) | func (as *mqttAccountSessionManager) transferUniqueSessStreamsToMuxed(... method transferRetainedToPerKeySubjectStream (line 3132) | func (as *mqttAccountSessionManager) transferRetainedToPerKeySubjectSt... method getCachedRetainedMsg (line 3189) | func (as *mqttAccountSessionManager) getCachedRetainedMsg(subject stri... method setCachedRetainedMsg (line 3212) | func (as *mqttAccountSessionManager) setCachedRetainedMsg(subject stri... type mqttJSAResponse (line 272) | type mqttJSAResponse struct type mqttJSA (line 277) | type mqttJSA struct method newRequest (line 1576) | func (jsa *mqttJSA) newRequest(kind, subject string, hdr int, msg []by... method prefixDomain (line 1580) | func (jsa *mqttJSA) prefixDomain(subject string) string { method newRequestEx (line 1590) | func (jsa *mqttJSA) newRequestEx(kind, subject, cidHash string, hdr in... method newRequestExMulti (line 1609) | func (jsa *mqttJSA) newRequestExMulti(kind, subject, cidHash string, h... method sendAck (line 1692) | func (jsa *mqttJSA) sendAck(ackSubject string) { method sendMsg (line 1697) | func (jsa *mqttJSA) sendMsg(subj string, msg []byte) { method createEphemeralConsumer (line 1706) | func (jsa *mqttJSA) createEphemeralConsumer(cfg *CreateConsumerRequest... method createDurableConsumer (line 1720) | func (jsa *mqttJSA) createDurableConsumer(cfg *CreateConsumerRequest) ... method deleteConsumer (line 1735) | func (jsa *mqttJSA) deleteConsumer(streamName, consName string, noWait... method createStream (line 1750) | func (jsa *mqttJSA) createStream(cfg *StreamConfig) (*StreamInfo, bool... method updateStream (line 1763) | func (jsa *mqttJSA) updateStream(cfg *StreamConfig) (*StreamInfo, erro... method lookupStream (line 1776) | func (jsa *mqttJSA) lookupStream(name string) (*StreamInfo, error) { method deleteStream (line 1785) | func (jsa *mqttJSA) deleteStream(name string) (bool, error) { method loadLastMsgFor (line 1794) | func (jsa *mqttJSA) loadLastMsgFor(streamName string, subject string) ... method loadLastMsgForMulti (line 1808) | func (jsa *mqttJSA) loadLastMsgForMulti(streamName string, subjects []... method loadNextMsgFor (line 1832) | func (jsa *mqttJSA) loadNextMsgFor(streamName string, subject string) ... method loadMsg (line 1846) | func (jsa *mqttJSA) loadMsg(streamName string, seq uint64) (*StoredMsg... method storeMsgNoWait (line 1860) | func (jsa *mqttJSA) storeMsgNoWait(subject string, hdrLen int, msg []b... method storeMsg (line 1868) | func (jsa *mqttJSA) storeMsg(subject string, headers int, msg []byte) ... method storeSessionMsg (line 1877) | func (jsa *mqttJSA) storeSessionMsg(domainTk, cidHash string, hdr int,... method loadSessionMsg (line 1891) | func (jsa *mqttJSA) loadSessionMsg(domainTk, cidHash string) (*StoredM... method deleteMsg (line 1896) | func (jsa *mqttJSA) deleteMsg(stream string, seq uint64, wait bool) er... type mqttJSPubMsg (line 291) | type mqttJSPubMsg struct type mqttRetMsgDel (line 298) | type mqttRetMsgDel struct type mqttSession (line 303) | type mqttSession struct method processQOS12Sub (line 2432) | func (sess *mqttSession) processQOS12Sub( method processSub (line 2439) | func (sess *mqttSession) processSub( method save (line 3258) | func (sess *mqttSession) save() error { method clear (line 3302) | func (sess *mqttSession) clear(noWait bool) error { method update (line 3359) | func (sess *mqttSession) update(filters []*mqttFilter, add bool) error { method bumpPI (line 3388) | func (sess *mqttSession) bumpPI() uint16 { method trackPublishRetained (line 3418) | func (sess *mqttSession) trackPublishRetained() uint16 { method trackPublish (line 3443) | func (sess *mqttSession) trackPublish(jsDur, jsAckSubject string) (uin... method untrackPublish (line 3521) | func (sess *mqttSession) untrackPublish(pi uint16) (jsAckSubject strin... method trackAsPubRel (line 3546) | func (sess *mqttSession) trackAsPubRel(pi uint16, jsAckSubject string) { method untrackPubRel (line 3585) | func (sess *mqttSession) untrackPubRel(pi uint16) (jsAckSubject string) { method deleteConsumer (line 3605) | func (sess *mqttSession) deleteConsumer(cc *ConsumerConfig) { method cleanupFailedSub (line 5290) | func (sess *mqttSession) cleanupFailedSub(c *client, sub *subscription... method ensurePubRelConsumerSubscription (line 5304) | func (sess *mqttSession) ensurePubRelConsumerSubscription(c *client) e... method processJSConsumer (line 5393) | func (sess *mqttSession) processJSConsumer(c *client, subject, sid str... type mqttPersistedSession (line 346) | type mqttPersistedSession struct type mqttRetainedMsg (line 355) | type mqttRetainedMsg struct type mqttRetainedMsgRef (line 366) | type mqttRetainedMsgRef struct type mqttSub (line 375) | type mqttSub struct type mqtt (line 393) | type mqtt struct type mqttPending (line 410) | type mqttPending struct type mqttConnectProto (line 416) | type mqttConnectProto struct type mqttIOReader (line 422) | type mqttIOReader interface type mqttReader (line 427) | type mqttReader struct method reset (line 5813) | func (r *mqttReader) reset(buf []byte) { method hasMore (line 5826) | func (r *mqttReader) hasMore() bool { method readByte (line 5830) | func (r *mqttReader) readByte(field string) (byte, error) { method readPacketLen (line 5839) | func (r *mqttReader) readPacketLen() (int, bool, error) { method readPacketLenWithCheck (line 5843) | func (r *mqttReader) readPacketLenWithCheck(check bool) (int, bool, er... method readString (line 5871) | func (r *mqttReader) readString(field string) (string, error) { method readBytes (line 5880) | func (r *mqttReader) readBytes(field string, cp bool) ([]byte, error) { method readUint16 (line 5901) | func (r *mqttReader) readUint16(field string) (uint16, error) { type mqttWriter (line 435) | type mqttWriter struct method WritePublishHeader (line 5222) | func (w *mqttWriter) WritePublishHeader(pi uint16, qos byte, dup, reta... method WriteUint16 (line 5916) | func (w *mqttWriter) WriteUint16(i uint16) { method WriteString (line 5921) | func (w *mqttWriter) WriteString(s string) { method WriteBytes (line 5925) | func (w *mqttWriter) WriteBytes(bs []byte) { method WriteVarInt (line 5930) | func (w *mqttWriter) WriteVarInt(value int) { type mqttWill (line 439) | type mqttWill struct type mqttFilter (line 448) | type mqttFilter struct type mqttPublish (line 455) | type mqttPublish struct constant mqttNatsHeader (line 477) | mqttNatsHeader = "Nmqtt-Pub" constant mqttNatsRetainedMessageTopic (line 481) | mqttNatsRetainedMessageTopic = "Nmqtt-RTopic" constant mqttNatsRetainedMessageOrigin (line 482) | mqttNatsRetainedMessageOrigin = "Nmqtt-ROrigin" constant mqttNatsRetainedMessageFlags (line 483) | mqttNatsRetainedMessageFlags = "Nmqtt-RFlags" constant mqttNatsRetainedMessageSource (line 484) | mqttNatsRetainedMessageSource = "Nmqtt-RSource" constant mqttNatsPubRelHeader (line 488) | mqttNatsPubRelHeader = "Nmqtt-PubRel" constant mqttNatsHeaderSubject (line 491) | mqttNatsHeaderSubject = "Nmqtt-Subject" constant mqttNatsHeaderMapped (line 492) | mqttNatsHeaderMapped = "Nmqtt-Mapped" type mqttParsedPublishNATSHeader (line 495) | type mqttParsedPublishNATSHeader struct method startMQTT (line 501) | func (s *Server) startMQTT() { method createMQTTClient (line 542) | func (s *Server) createMQTTClient(conn net.Conn, ws *websocket) *client { method mqttConfigAuth (line 666) | func (s *Server) mqttConfigAuth(opts *MQTTOpts) { function validateMQTTOptions (line 673) | func validateMQTTOptions(o *Options) error { method isMqtt (line 726) | func (c *client) isMqtt() bool { method getMQTTClientID (line 733) | func (c *client) getMQTTClientID() string { method mqttParse (line 742) | func (c *client) mqttParse(buf []byte) error { function mqttCheckFixedHeaderFlags (line 967) | func mqttCheckFixedHeaderFlags(packetType, flags byte) error { function mqttCheckRemainingLength (line 986) | func mqttCheckRemainingLength(packetType byte, pl int) error { method mqttTraceMsg (line 1004) | func (c *client) mqttTraceMsg(msg []byte) { method mqttHandleClosedClient (line 1019) | func (s *Server) mqttHandleClosedClient(c *client) { method mqttUpdateMaxAckPending (line 1069) | func (s *Server) mqttUpdateMaxAckPending(newmaxp uint16) { method mqttGetJSAForAccount (line 1091) | func (s *Server) mqttGetJSAForAccount(acc string) *mqttJSA { method mqttStoreQoSMsgForAccountOnNewSubject (line 1108) | func (s *Server) mqttStoreQoSMsgForAccountOnNewSubject(hdr int, msg []by... function mqttParsePublishNATSHeader (line 1123) | func mqttParsePublishNATSHeader(headerBytes []byte) *mqttParsedPublishNA... function mqttParsePubRelNATSHeader (line 1139) | func mqttParsePubRelNATSHeader(headerBytes []byte) uint16 { method getOrCreateMQTTAccountSessionManager (line 1155) | func (s *Server) getOrCreateMQTTAccountSessionManager(c *client) (*mqttA... method mqttCreateAccountSessionManager (line 1195) | func (s *Server) mqttCreateAccountSessionManager(acc *Account, quitCh ch... method mqttDetermineReplicas (line 1545) | func (s *Server) mqttDetermineReplicas() int { function isErrorOtherThan (line 1922) | func isErrorOtherThan(err error, id ErrorIdentifier) bool { type warner (line 2768) | type warner interface function mqttEncodeRetainedMessage (line 2841) | func mqttEncodeRetainedMessage(rm *mqttRetainedMsg) (natsMsg []byte, hea... function mqttSliceHeaders (line 2898) | func mqttSliceHeaders(headers map[string][]byte, hdr []byte) { function mqttDecodeRetainedMessage (line 2951) | func mqttDecodeRetainedMessage(subject string, h, m []byte) (*mqttRetain... function mqttSessionCreate (line 3236) | func mqttSessionCreate(jsa *mqttJSA, id, idHash string, seq uint64, opts... method mqttParseConnect (line 3619) | func (c *client) mqttParseConnect(r *mqttReader, hasMappings bool) (byte... method mqttConnectTrace (line 3796) | func (c *client) mqttConnectTrace(cp *mqttConnectProto) string { method mqttProcessConnect (line 3835) | func (s *Server) mqttProcessConnect(c *client, cp *mqttConnectProto, tra... method mqttEnqueueConnAck (line 4019) | func (c *client) mqttEnqueueConnAck(rc byte, sessionPresent bool) { method mqttHandleWill (line 4033) | func (s *Server) mqttHandleWill(c *client) { method mqttParsePub (line 4066) | func (c *client) mqttParsePub(r *mqttReader, pl int, pp *mqttPublish, ha... function mqttValidateTopic (line 4142) | func mqttValidateTopic(topic []byte, field string) error { function mqttValidateString (line 4152) | func mqttValidateString(value string, field string) error { function mqttPubTrace (line 4162) | func mqttPubTrace(pp *mqttPublish) string { function mqttComputeNatsMsgSize (line 4179) | func mqttComputeNatsMsgSize(pp *mqttPublish, encodePP bool) int { function mqttNewDeliverableMessage (line 4205) | func mqttNewDeliverableMessage(pp *mqttPublish, encodePP bool) (natsMsg ... function mqttNewDeliverablePubRel (line 4249) | func mqttNewDeliverablePubRel(pi uint16) (natsMsg []byte, headerLen int) { method mqttProcessPub (line 4267) | func (s *Server) mqttProcessPub(c *client, pp *mqttPublish, trace bool) ... method mqttInitiateMsgDelivery (line 4315) | func (s *Server) mqttInitiateMsgDelivery(c *client, pp *mqttPublish) err... method mqttStoreQoS2MsgOnce (line 4361) | func (s *Server) mqttStoreQoS2MsgOnce(c *client, pp *mqttPublish) error { method mqttQoS2InternalSubject (line 4384) | func (c *client) mqttQoS2InternalSubject(pi uint16) string { method mqttProcessPubRel (line 4392) | func (s *Server) mqttProcessPubRel(c *client, pi uint16, trace bool) err... method mqttHandlePubRetain (line 4432) | func (c *client) mqttHandlePubRetain() { method mqttCheckPubRetainedPerms (line 4537) | func (s *Server) mqttCheckPubRetainedPerms() { function generatePubPerms (line 4630) | func generatePubPerms(perms *Permissions) *perm { function pubAllowed (line 4661) | func pubAllowed(perms *perm, subject string) bool { method mqttEnqueuePubResponse (line 4675) | func (c *client) mqttEnqueuePubResponse(packetType byte, pi uint16, trac... function mqttParsePIPacket (line 4707) | func mqttParsePIPacket(r *mqttReader) (uint16, error) { method mqttProcessPublishReceived (line 4722) | func (c *client) mqttProcessPublishReceived(pi uint16, isPubRec bool) (e... method mqttProcessPubAck (line 4757) | func (c *client) mqttProcessPubAck(pi uint16) error { method mqttProcessPubRec (line 4761) | func (c *client) mqttProcessPubRec(pi uint16) error { method mqttProcessPubComp (line 4766) | func (c *client) mqttProcessPubComp(pi uint16) { function mqttGetQoS (line 4786) | func mqttGetQoS(flags byte) byte { function mqttIsRetained (line 4790) | func mqttIsRetained(flags byte) bool { function sparkbParseBirthDeathTopic (line 4794) | func sparkbParseBirthDeathTopic(topic []byte) (isBirth, isDeath, isCerti... method mqttParseSubs (line 4826) | func (c *client) mqttParseSubs(r *mqttReader, b byte, pl int) (uint16, [... method mqttParseSubsOrUnsubs (line 4830) | func (c *client) mqttParseSubsOrUnsubs(r *mqttReader, b byte, pl int, su... function mqttSubscribeTrace (line 4892) | func mqttSubscribeTrace(pi uint16, filters []*mqttFilter) string { function mqttDeliverMsgCbQoS0 (line 4929) | func mqttDeliverMsgCbQoS0(sub *subscription, pc *client, _ *Account, sub... function mqttDeliverMsgCbQoS12 (line 5000) | func mqttDeliverMsgCbQoS12(sub *subscription, pc *client, _ *Account, su... function mqttDeliverPubRelCb (line 5070) | func mqttDeliverPubRelCb(sub *subscription, pc *client, _ *Account, subj... function mqttMustIgnoreForReservedSub (line 5104) | func mqttMustIgnoreForReservedSub(sub *subscription, subject string) bool { function isMQTTReservedSubscription (line 5113) | func isMQTTReservedSubscription(subject string) bool { function sparkbReplaceDeathTimestamp (line 5124) | func sparkbReplaceDeathTimestamp(msg []byte) []byte { method mqttEnqueuePublishMsgTo (line 5173) | func (c *client) mqttEnqueuePublishMsgTo(cc *client, sub *subscription, ... function mqttMakePublishHeader (line 5250) | func mqttMakePublishHeader(pi uint16, qos byte, dup, retained bool, topi... method mqttProcessSubs (line 5270) | func (c *client) mqttProcessSubs(filters []*mqttFilter) ([]*subscription... method mqttSendRetainedMsgsToNewSubs (line 5501) | func (c *client) mqttSendRetainedMsgsToNewSubs(subs []*subscription) { method mqttEnqueueSubAck (line 5515) | func (c *client) mqttEnqueueSubAck(pi uint16, filters []*mqttFilter) { method mqttParseUnsubs (line 5535) | func (c *client) mqttParseUnsubs(r *mqttReader, b byte, pl int) (uint16,... method mqttProcessUnsubs (line 5546) | func (c *client) mqttProcessUnsubs(filters []*mqttFilter) error { method mqttEnqueueUnsubAck (line 5597) | func (c *client) mqttEnqueueUnsubAck(pi uint16) { function mqttUnsubscribeTrace (line 5607) | func mqttUnsubscribeTrace(pi uint16, filters []*mqttFilter) string { method mqttEnqueuePingResp (line 5631) | func (c *client) mqttEnqueuePingResp() { function errOrTrace (line 5643) | func errOrTrace(err error, trace string) []byte { function mqttTopicToNATSPubSubject (line 5658) | func mqttTopicToNATSPubSubject(mt []byte) ([]byte, error) { function mqttFilterToNATSSubject (line 5664) | func mqttFilterToNATSSubject(filter []byte) ([]byte, error) { function mqttToNATSSubjectConversion (line 5685) | func mqttToNATSSubjectConversion(mt []byte, wcOk bool) ([]byte, error) { function natsSubjectStrToMQTTTopic (line 5760) | func natsSubjectStrToMQTTTopic(subject string) []byte { function natsSubjectToMQTTTopic (line 5764) | func natsSubjectToMQTTTopic(subject []byte) []byte { function mqttNeedSubForLevelUp (line 5796) | func mqttNeedSubForLevelUp(subject string) bool { function newMQTTWriter (line 5944) | func newMQTTWriter(cap int) *mqttWriter { FILE: server/mqtt_ex_bench_test.go constant KB (line 26) | KB = 1024 type mqttBenchMatrix (line 29) | type mqttBenchMatrix struct method runMatrix (line 254) | func (m mqttBenchMatrix) runMatrix(b *testing.B, bc mqttBenchContext, ... method NoSubscribers (line 276) | func (m mqttBenchMatrix) NoSubscribers() mqttBenchMatrix { method NoTopics (line 281) | func (m mqttBenchMatrix) NoTopics() mqttBenchMatrix { method NoPublishers (line 286) | func (m mqttBenchMatrix) NoPublishers() mqttBenchMatrix { method QOS0Only (line 291) | func (m mqttBenchMatrix) QOS0Only() mqttBenchMatrix { method QOS1Only (line 296) | func (m mqttBenchMatrix) QOS1Only() mqttBenchMatrix { type mqttBenchContext (line 37) | type mqttBenchContext struct method runAll (line 91) | func (bc mqttBenchContext) runAll(b *testing.B) { method benchmarkPub (line 99) | func (bc mqttBenchContext) benchmarkPub(b *testing.B) { method benchmarkPubRetained (line 117) | func (bc mqttBenchContext) benchmarkPubRetained(b *testing.B) { method benchmarkPubSub (line 140) | func (bc mqttBenchContext) benchmarkPubSub(b *testing.B) { method benchmarkSubRet (line 160) | func (bc mqttBenchContext) benchmarkSubRet(b *testing.B) { method runAndReport (line 181) | func (bc mqttBenchContext) runAndReport(b *testing.B, name string, ext... method startServer (line 187) | func (bc *mqttBenchContext) startServer(b *testing.B, disableRMSCache ... method startCluster (line 202) | func (bc *mqttBenchContext) startCluster(b *testing.B, disableRMSCache... type MQTTBenchmarkResult (line 56) | type MQTTBenchmarkResult struct method report (line 311) | func (r MQTTBenchmarkResult) report(b *testing.B) { function BenchmarkXMQTT (line 62) | func BenchmarkXMQTT(b *testing.B) { function mqttBenchWrapForMatrixField (line 235) | func mqttBenchWrapForMatrixField( function sizeKB (line 301) | func sizeKB(size int) string { FILE: server/mqtt_ex_test_test.go type mqttDial (line 32) | type mqttDial method Get (line 174) | func (d mqttDial) Get() (u, p, s, c string) { method Name (line 196) | func (d mqttDial) Name() string { type mqttTarget (line 34) | type mqttTarget struct method Reload (line 201) | func (t *mqttTarget) Reload(tb testing.TB) { method Shutdown (line 220) | func (t *mqttTarget) Shutdown() { type mqttTestConfig (line 41) | type mqttTestConfig struct function TestXMQTTCompliance (line 47) | func TestXMQTTCompliance(t *testing.T) { function TestXMQTTRetainedMessages (line 68) | func TestXMQTTRetainedMessages(t *testing.T) { function mqttInitTestServer (line 148) | func mqttInitTestServer(tb testing.TB, dial mqttDial) { function mqttNewDialForServer (line 153) | func mqttNewDialForServer(s *Server, username, password string) mqttDial { function mqttNewDial (line 158) | func mqttNewDial(username, password, host string, port int, comment stri... function mqttMakeTestServer (line 229) | func mqttMakeTestServer(tb testing.TB) *mqttTarget { function mqttMakeTestCluster (line 247) | func mqttMakeTestCluster(size int, domain string) func(tb testing.TB) *m... function mqttRunExCommandTest (line 325) | func mqttRunExCommandTest(tb testing.TB, subCommand string, dial mqttDia... function mqttRunExCommandTestRetry (line 330) | func mqttRunExCommandTestRetry(tb testing.TB, n int, subCommand string, ... function mqttTryExCommandTest (line 347) | func mqttTryExCommandTest(tb testing.TB, subCommand string, dial mqttDia... FILE: server/mqtt_test.go type mqttWrapAsWs (line 65) | type mqttWrapAsWs struct method Write (line 72) | func (c *mqttWrapAsWs) Write(p []byte) (int, error) { method Read (line 77) | func (c *mqttWrapAsWs) Read(p []byte) (int, error) { function testMQTTReadPacket (line 91) | func testMQTTReadPacket(t testing.TB, r *mqttReader) (byte, int) { function testMQTTReadPIPacket (line 137) | func testMQTTReadPIPacket(expectedType byte, t testing.TB, r *mqttReader... function TestMQTTReader (line 149) | func TestMQTTReader(t *testing.T) { function TestMQTTWriter (line 258) | func TestMQTTWriter(t *testing.T) { function testMQTTDefaultOptions (line 308) | func testMQTTDefaultOptions() *Options { function testMQTTRunServer (line 322) | func testMQTTRunServer(t testing.TB, o *Options) *Server { function testMQTTShutdownRestartedServer (line 342) | func testMQTTShutdownRestartedServer(s **Server) { function testMQTTShutdownServer (line 348) | func testMQTTShutdownServer(s *Server) { function testMQTTDefaultTLSOptions (line 356) | func testMQTTDefaultTLSOptions(t *testing.T, verify bool) *Options { function TestMQTTServerNameRequired (line 374) | func TestMQTTServerNameRequired(t *testing.T) { function TestMQTTStandaloneRequiresJetStream (line 405) | func TestMQTTStandaloneRequiresJetStream(t *testing.T) { function TestMQTTConfig (line 425) | func TestMQTTConfig(t *testing.T) { function TestMQTTValidateOptions (line 446) | func TestMQTTValidateOptions(t *testing.T) { function TestMQTTParseOptions (line 490) | func TestMQTTParseOptions(t *testing.T) { function TestMQTTStart (line 667) | func TestMQTTStart(t *testing.T) { function TestMQTTTLS (line 700) | func TestMQTTTLS(t *testing.T) { type mqttConnInfo (line 765) | type mqttConnInfo struct function testMQTTGetClient (line 777) | func testMQTTGetClient(t testing.TB, s *Server, clientID string) *client { function testMQTTGetAccountSessionManager (line 798) | func testMQTTGetAccountSessionManager(t *testing.T, s *Server, cid strin... function testMQTTRead (line 807) | func testMQTTRead(c net.Conn) ([]byte, error) { function testMQTTWrite (line 819) | func testMQTTWrite(c net.Conn, buf []byte) (int, error) { function testMQTTConnect (line 826) | func testMQTTConnect(t testing.TB, ci *mqttConnInfo, host string, port i... function testMQTTConnectRetry (line 831) | func testMQTTConnectRetry(t testing.TB, ci *mqttConnInfo, host string, p... function testMQTTConnectRetryWithError (line 840) | func testMQTTConnectRetryWithError(t testing.TB, ci *mqttConnInfo, host ... function mqttCreateConnectProto (line 909) | func mqttCreateConnectProto(ci *mqttConnInfo) []byte { function testMQTTCheckConnAck (line 965) | func testMQTTCheckConnAck(t testing.TB, r *mqttReader, rc byte, sessionP... function testMQTTCheckPubAck (line 994) | func testMQTTCheckPubAck(t testing.TB, r *mqttReader, packetType byte) { function TestMQTTRequiresJSEnabled (line 1004) | func TestMQTTRequiresJSEnabled(t *testing.T) { function testMQTTEnableJSForAccount (line 1028) | func testMQTTEnableJSForAccount(t *testing.T, s *Server, accName string) { function TestMQTTTLSVerifyAndMap (line 1047) | func TestMQTTTLSVerifyAndMap(t *testing.T) { function TestMQTTBasicAuth (line 1159) | func TestMQTTBasicAuth(t *testing.T) { function TestMQTTAuthTimeout (line 1249) | func TestMQTTAuthTimeout(t *testing.T) { function TestMQTTTokenAuth (line 1307) | func TestMQTTTokenAuth(t *testing.T) { function TestMQTTJWTWithAllowedConnectionTypes (line 1388) | func TestMQTTJWTWithAllowedConnectionTypes(t *testing.T) { function TestMQTTUsersAuth (line 1466) | func TestMQTTUsersAuth(t *testing.T) { function TestMQTTNoAuthUserValidation (line 1542) | func TestMQTTNoAuthUserValidation(t *testing.T) { function TestMQTTNoAuthUser (line 1560) | func TestMQTTNoAuthUser(t *testing.T) { function TestMQTTConnectNotFirstPacket (line 1618) | func TestMQTTConnectNotFirstPacket(t *testing.T) { function TestMQTTSecondConnect (line 1645) | func TestMQTTSecondConnect(t *testing.T) { function TestMQTTParseConnect (line 1661) | func TestMQTTParseConnect(t *testing.T) { function TestMQTTConnectFailsOnParse (line 1715) | func TestMQTTConnectFailsOnParse(t *testing.T) { function TestMQTTConnKeepAlive (line 1751) | func TestMQTTConnKeepAlive(t *testing.T) { function TestMQTTMalformedFixedHeaderFlagsCauseDisconnect (line 1766) | func TestMQTTMalformedFixedHeaderFlagsCauseDisconnect(t *testing.T) { function TestMQTTMalformedRemainingLengthCausesDisconnect (line 1841) | func TestMQTTMalformedRemainingLengthCausesDisconnect(t *testing.T) { function TestMQTTDontSetPinger (line 1903) | func TestMQTTDontSetPinger(t *testing.T) { function TestMQTTTopicAndSubjectConversion (line 1926) | func TestMQTTTopicAndSubjectConversion(t *testing.T) { function TestMQTTFilterConversion (line 1999) | func TestMQTTFilterConversion(t *testing.T) { function TestMQTTParseSub (line 2045) | func TestMQTTParseSub(t *testing.T) { function testMQTTSub (line 2085) | func testMQTTSub(t testing.TB, pi uint16, c net.Conn, r *mqttReader, fil... function TestMQTTSubAck (line 2125) | func TestMQTTSubAck(t *testing.T) { function TestMQTTQoS2SubDowngrade (line 2149) | func TestMQTTQoS2SubDowngrade(t *testing.T) { function testMQTTFlush (line 2170) | func testMQTTFlush(t testing.TB, c net.Conn, bw *bufio.Writer, r *mqttRe... function testMQTTExpectNothing (line 2190) | func testMQTTExpectNothing(t testing.TB, r *mqttReader) { function testMQTTCheckPubMsg (line 2205) | func testMQTTCheckPubMsg(t testing.TB, c net.Conn, r *mqttReader, topic ... function testMQTTCheckPubMsgNoAck (line 2221) | func testMQTTCheckPubMsgNoAck(t testing.TB, c net.Conn, r *mqttReader, t... function testMQTTGetPubMsg (line 2230) | func testMQTTGetPubMsg(t testing.TB, c net.Conn, r *mqttReader, topic st... function testMQTTGetPubMsgEx (line 2236) | func testMQTTGetPubMsgEx(t testing.TB, _ net.Conn, r *mqttReader, topic ... function testMQTTGetPubMsgExEx (line 2245) | func testMQTTGetPubMsgExEx(t testing.TB, _ net.Conn, r *mqttReader, b by... function testMQTTReadPubPacket (line 2277) | func testMQTTReadPubPacket(t testing.TB, r *mqttReader) (flags byte, pi ... function testMQTTSendPIPacket (line 2306) | func testMQTTSendPIPacket(packetType byte, t testing.TB, c net.Conn, pi ... function testMQTTWritePublishPacket (line 2317) | func testMQTTWritePublishPacket(t testing.TB, w *mqttWriter, qos byte, d... function testMQTTSendPublishPacket (line 2325) | func testMQTTSendPublishPacket(t testing.TB, c net.Conn, qos byte, dup, ... function testMQTTPublish (line 2338) | func testMQTTPublish(t testing.TB, c net.Conn, r *mqttReader, qos byte, ... function TestMQTTParsePub (line 2377) | func TestMQTTParsePub(t *testing.T) { function TestMQTTParsePIMsg (line 2416) | func TestMQTTParsePIMsg(t *testing.T) { function TestMQTTPublish (line 2436) | func TestMQTTPublish(t *testing.T) { function TestMQTTQoS2PubReject (line 2453) | func TestMQTTQoS2PubReject(t *testing.T) { function TestMQTTSub (line 2472) | func TestMQTTSub(t *testing.T) { function TestMQTTSubQoS2 (line 2538) | func TestMQTTSubQoS2(t *testing.T) { function TestMQTTSubQoS2Restart (line 2603) | func TestMQTTSubQoS2Restart(t *testing.T) { function TestMQTTSubQoS1 (line 2695) | func TestMQTTSubQoS1(t *testing.T) { function getSubQoS (line 2747) | func getSubQoS(sub *subscription) int { function TestMQTTSubDups (line 2754) | func TestMQTTSubDups(t *testing.T) { function TestMQTTSubWithSpaces (line 2874) | func TestMQTTSubWithSpaces(t *testing.T) { function TestMQTTSubCaseSensitive (line 2890) | func TestMQTTSubCaseSensitive(t *testing.T) { function TestMQTTPubSubMatrix (line 2922) | func TestMQTTPubSubMatrix(t *testing.T) { function TestMQTTPreventSubWithMQTTSubPrefix (line 3018) | func TestMQTTPreventSubWithMQTTSubPrefix(t *testing.T) { function TestMQTTSubWithNATSStream (line 3031) | func TestMQTTSubWithNATSStream(t *testing.T) { function TestMQTTTrackPendingOverrun (line 3100) | func TestMQTTTrackPendingOverrun(t *testing.T) { function TestMQTTSubRestart (line 3125) | func TestMQTTSubRestart(t *testing.T) { function testMQTTGetClusterTemplaceNoLeaf (line 3176) | func testMQTTGetClusterTemplaceNoLeaf() string { function TestMQTTSubPropagation (line 3180) | func TestMQTTSubPropagation(t *testing.T) { function TestMQTTCluster (line 3210) | func TestMQTTCluster(t *testing.T) { function testMQTTConnectDisconnect (line 3334) | func testMQTTConnectDisconnect(t *testing.T, o *Options, clientID string... function TestMQTTClusterConnectDisconnectClean (line 3342) | func TestMQTTClusterConnectDisconnectClean(t *testing.T) { function TestMQTTClusterConnectDisconnectPersist (line 3364) | func TestMQTTClusterConnectDisconnectPersist(t *testing.T) { function TestMQTTClusterRetainedMsg (line 3394) | func TestMQTTClusterRetainedMsg(t *testing.T) { function TestMQTTRetainedMsgMigration (line 3505) | func TestMQTTRetainedMsgMigration(t *testing.T) { function TestMQTTRetainedNoMsgBodyCorruption (line 3598) | func TestMQTTRetainedNoMsgBodyCorruption(t *testing.T) { function TestMQTTClusterReplicasCount (line 3691) | func TestMQTTClusterReplicasCount(t *testing.T) { function TestMQTTClusterCanCreateSessionWithOnServerDown (line 3748) | func TestMQTTClusterCanCreateSessionWithOnServerDown(t *testing.T) { function TestMQTTClusterPlacement (line 3777) | func TestMQTTClusterPlacement(t *testing.T) { function TestMQTTLeafnodeWithoutJSToClusterWithJSNoSharedSysAcc (line 3830) | func TestMQTTLeafnodeWithoutJSToClusterWithJSNoSharedSysAcc(t *testing.T) { function TestMQTTImportExport (line 3977) | func TestMQTTImportExport(t *testing.T) { function TestMQTTSessionMovingDomains (line 4026) | func TestMQTTSessionMovingDomains(t *testing.T) { type remoteConnSameClientIDLogger (line 4066) | type remoteConnSameClientIDLogger struct method Warnf (line 4071) | func (l *remoteConnSameClientIDLogger) Warnf(format string, args ...an... function TestMQTTSessionsDifferentDomains (line 4078) | func TestMQTTSessionsDifferentDomains(t *testing.T) { function TestMQTTParseUnsub (line 4127) | func TestMQTTParseUnsub(t *testing.T) { function testMQTTUnsub (line 4165) | func testMQTTUnsub(t *testing.T, pi uint16, c net.Conn, r *mqttReader, f... function TestMQTTUnsub (line 4193) | func TestMQTTUnsub(t *testing.T) { function testMQTTExpectDisconnect (line 4247) | func testMQTTExpectDisconnect(t testing.TB, c net.Conn) { function TestMQTTPublishTopicErrors (line 4259) | func TestMQTTPublishTopicErrors(t *testing.T) { function testMQTTDisconnect (line 4283) | func testMQTTDisconnect(t testing.TB, c net.Conn, bw *bufio.Writer) { function testMQTTDisconnectEx (line 4288) | func testMQTTDisconnectEx(t testing.TB, c net.Conn, bw *bufio.Writer, wa... function TestMQTTWill (line 4304) | func TestMQTTWill(t *testing.T) { function TestMQTTQoS2WillReject (line 4366) | func TestMQTTQoS2WillReject(t *testing.T) { function TestMQTTWillRetain (line 4392) | func TestMQTTWillRetain(t *testing.T) { function TestMQTTWillRetainPermViolation (line 4469) | func TestMQTTWillRetainPermViolation(t *testing.T) { function TestMQTTPublishRetain (line 4582) | func TestMQTTPublishRetain(t *testing.T) { function TestMQTTQoS2RetainedReject (line 4635) | func TestMQTTQoS2RetainedReject(t *testing.T) { function TestMQTTRetainFlag (line 4670) | func TestMQTTRetainFlag(t *testing.T) { function TestMQTTPublishRetainPermViolation (line 4716) | func TestMQTTPublishRetainPermViolation(t *testing.T) { function TestMQTTPermissionsViolation (line 4862) | func TestMQTTPermissionsViolation(t *testing.T) { function TestMQTTCleanSession (line 4948) | func TestMQTTCleanSession(t *testing.T) { function TestMQTTDuplicateClientID (line 4976) | func TestMQTTDuplicateClientID(t *testing.T) { function TestMQTTPersistedSession (line 4997) | func TestMQTTPersistedSession(t *testing.T) { function TestMQTTRecoverSessionAndAddNewSub (line 5179) | func TestMQTTRecoverSessionAndAddNewSub(t *testing.T) { function TestMQTTRecoverSessionWithSubAndClientResendSub (line 5225) | func TestMQTTRecoverSessionWithSubAndClientResendSub(t *testing.T) { function TestMQTTFlappingSession (line 5313) | func TestMQTTFlappingSession(t *testing.T) { function TestMQTTLockedSession (line 5389) | func TestMQTTLockedSession(t *testing.T) { function TestMQTTPersistRetainedMsg (line 5454) | func TestMQTTPersistRetainedMsg(t *testing.T) { function TestMQTTRetainedMsgCleanup (line 5553) | func TestMQTTRetainedMsgCleanup(t *testing.T) { function TestMQTTRestoreRetainedMsgs (line 5583) | func TestMQTTRestoreRetainedMsgs(t *testing.T) { function TestMQTTConnAckFirstPacket (line 5631) | func TestMQTTConnAckFirstPacket(t *testing.T) { function TestMQTTRedeliveryAckWait (line 5689) | func TestMQTTRedeliveryAckWait(t *testing.T) { function TestMQTTQoS2InflightMsgsDeliveredAfterUnsubscribe (line 5774) | func TestMQTTQoS2InflightMsgsDeliveredAfterUnsubscribe(t *testing.T) { function TestMQTTQoS2RejectPublishDuplicates (line 5865) | func TestMQTTQoS2RejectPublishDuplicates(t *testing.T) { function TestMQTTQoS2RetriesPublish (line 5935) | func TestMQTTQoS2RetriesPublish(t *testing.T) { function TestMQTTQoS2RetriesPubRel (line 5979) | func TestMQTTQoS2RetriesPubRel(t *testing.T) { function TestMQTTAckWaitConfigChange (line 6019) | func TestMQTTAckWaitConfigChange(t *testing.T) { function TestMQTTUnsubscribeWithPendingAcks (line 6089) | func TestMQTTUnsubscribeWithPendingAcks(t *testing.T) { function TestMQTTMaxAckPending (line 6133) | func TestMQTTMaxAckPending(t *testing.T) { function TestMQTTMaxAckPendingForMultipleSubs (line 6244) | func TestMQTTMaxAckPendingForMultipleSubs(t *testing.T) { function TestMQTTMaxAckPendingOverLimit (line 6281) | func TestMQTTMaxAckPendingOverLimit(t *testing.T) { function TestMQTTConfigReload (line 6341) | func TestMQTTConfigReload(t *testing.T) { function TestMQTTStreamInfoReturnsNonEmptySubject (line 6431) | func TestMQTTStreamInfoReturnsNonEmptySubject(t *testing.T) { function TestMQTTWebsocketToMQTTPort (line 6467) | func TestMQTTWebsocketToMQTTPort(t *testing.T) { function TestMQTTWebsocket (line 6503) | func TestMQTTWebsocket(t *testing.T) { type chunkWriteConn (line 6557) | type chunkWriteConn struct method Write (line 6561) | func (cwc *chunkWriteConn) Write(p []byte) (int, error) { function TestMQTTPartial (line 6577) | func TestMQTTPartial(t *testing.T) { function TestMQTTWebsocketTLS (line 6630) | func TestMQTTWebsocketTLS(t *testing.T) { function TestMQTTTransferSessionStreamsToMuxed (line 6667) | func TestMQTTTransferSessionStreamsToMuxed(t *testing.T) { function TestMQTTConnectAndDisconnectEvent (line 6778) | func TestMQTTConnectAndDisconnectEvent(t *testing.T) { function TestMQTTClientIDInLogStatements (line 6966) | func TestMQTTClientIDInLogStatements(t *testing.T) { function TestMQTTStreamReplicasOverride (line 7004) | func TestMQTTStreamReplicasOverride(t *testing.T) { function TestMQTTStreamReplicasConfigReload (line 7073) | func TestMQTTStreamReplicasConfigReload(t *testing.T) { function TestMQTTStreamReplicasInsufficientResources (line 7113) | func TestMQTTStreamReplicasInsufficientResources(t *testing.T) { function TestMQTTConsumerReplicasValidate (line 7157) | func TestMQTTConsumerReplicasValidate(t *testing.T) { function TestMQTTConsumerReplicasOverride (line 7194) | func TestMQTTConsumerReplicasOverride(t *testing.T) { function TestMQTTConsumerMemStorageReload (line 7254) | func TestMQTTConsumerMemStorageReload(t *testing.T) { function TestMQTTConsumerInactiveThreshold (line 7301) | func TestMQTTConsumerInactiveThreshold(t *testing.T) { function TestMQTTSubjectMapping (line 7350) | func TestMQTTSubjectMapping(t *testing.T) { function TestMQTTSubjectMappingWithImportExport (line 7456) | func TestMQTTSubjectMappingWithImportExport(t *testing.T) { function TestMQTTSubRetainedRace (line 7599) | func TestMQTTSubRetainedRace(t *testing.T) { function testMQTTNewSubRetainedRace (line 7630) | func testMQTTNewSubRetainedRace(t *testing.T, s *Server, o *Options, sub... function testMQTTNewSubWithExistingTopLevelRetainedRace (line 7672) | func testMQTTNewSubWithExistingTopLevelRetainedRace(t *testing.T, s *Ser... function TestMQTTSubjectWildcardStart (line 7727) | func TestMQTTSubjectWildcardStart(t *testing.T) { function TestMQTTTopicWithDot (line 7849) | func TestMQTTTopicWithDot(t *testing.T) { function TestMQTTJetStreamRepublishAndQoS0Subscribers (line 7891) | func TestMQTTJetStreamRepublishAndQoS0Subscribers(t *testing.T) { function TestMQTTDecodeRetainedMessage (line 7935) | func TestMQTTDecodeRetainedMessage(t *testing.T) { function TestMQTTSparkbDeathHandling (line 8025) | func TestMQTTSparkbDeathHandling(t *testing.T) { function TestMQTTSparkbBirthHandling (line 8116) | func TestMQTTSparkbBirthHandling(t *testing.T) { function TestMQTTMaxPayloadEnforced (line 8199) | func TestMQTTMaxPayloadEnforced(t *testing.T) { function TestMQTTJSApiMapping (line 8221) | func TestMQTTJSApiMapping(t *testing.T) { function TestMQTTMappingsQoS0 (line 8359) | func TestMQTTMappingsQoS0(t *testing.T) { function TestMQTTSliceHeadersAndDecodeRetainedMessage (line 8474) | func TestMQTTSliceHeadersAndDecodeRetainedMessage(t *testing.T) { function TestMQTTRetainedMsgRemovedFromMapIfNotInStream (line 8625) | func TestMQTTRetainedMsgRemovedFromMapIfNotInStream(t *testing.T) { function TestMQTTCrossAccountRetain (line 8715) | func TestMQTTCrossAccountRetain(t *testing.T) { constant mqttPubSubj (line 8888) | mqttPubSubj = "a" constant mqttBenchBufLen (line 8889) | mqttBenchBufLen = 32768 function mqttBenchPubQoS0 (line 8892) | func mqttBenchPubQoS0(b *testing.B, subject, payload string, numSubs int) { function mqttBenchConsumeMsgQoS0 (line 8951) | func mqttBenchConsumeMsgQoS0(c net.Conn, total int64, dch chan<- error) { function mqttBenchPubQoS1 (line 8965) | func mqttBenchPubQoS1(b *testing.B, subject, payload string, numSubs int) { function mqttBenchConsumeMsgQos1 (line 9060) | func mqttBenchConsumeMsgQos1(c net.Conn, total, size int, dch chan<- err... function mqttBenchConsumePubAck (line 9091) | func mqttBenchConsumePubAck(c net.Conn, total int, dch, ppich chan<- err... function BenchmarkMQTT_QoS0_Pub_______0b_Payload (line 9119) | func BenchmarkMQTT_QoS0_Pub_______0b_Payload(b *testing.B) { function BenchmarkMQTT_QoS0_Pub_______8b_Payload (line 9123) | func BenchmarkMQTT_QoS0_Pub_______8b_Payload(b *testing.B) { function BenchmarkMQTT_QoS0_Pub______32b_Payload (line 9127) | func BenchmarkMQTT_QoS0_Pub______32b_Payload(b *testing.B) { function BenchmarkMQTT_QoS0_Pub_____128b_Payload (line 9131) | func BenchmarkMQTT_QoS0_Pub_____128b_Payload(b *testing.B) { function BenchmarkMQTT_QoS0_Pub_____256b_Payload (line 9135) | func BenchmarkMQTT_QoS0_Pub_____256b_Payload(b *testing.B) { function BenchmarkMQTT_QoS0_Pub_______1K_Payload (line 9139) | func BenchmarkMQTT_QoS0_Pub_______1K_Payload(b *testing.B) { function BenchmarkMQTT_QoS0_PubSub1___0b_Payload (line 9143) | func BenchmarkMQTT_QoS0_PubSub1___0b_Payload(b *testing.B) { function BenchmarkMQTT_QoS0_PubSub1___8b_Payload (line 9147) | func BenchmarkMQTT_QoS0_PubSub1___8b_Payload(b *testing.B) { function BenchmarkMQTT_QoS0_PubSub1__32b_Payload (line 9151) | func BenchmarkMQTT_QoS0_PubSub1__32b_Payload(b *testing.B) { function BenchmarkMQTT_QoS0_PubSub1_128b_Payload (line 9155) | func BenchmarkMQTT_QoS0_PubSub1_128b_Payload(b *testing.B) { function BenchmarkMQTT_QoS0_PubSub1_256b_Payload (line 9159) | func BenchmarkMQTT_QoS0_PubSub1_256b_Payload(b *testing.B) { function BenchmarkMQTT_QoS0_PubSub1___1K_Payload (line 9163) | func BenchmarkMQTT_QoS0_PubSub1___1K_Payload(b *testing.B) { function BenchmarkMQTT_QoS0_PubSub2___0b_Payload (line 9167) | func BenchmarkMQTT_QoS0_PubSub2___0b_Payload(b *testing.B) { function BenchmarkMQTT_QoS0_PubSub2___8b_Payload (line 9171) | func BenchmarkMQTT_QoS0_PubSub2___8b_Payload(b *testing.B) { function BenchmarkMQTT_QoS0_PubSub2__32b_Payload (line 9175) | func BenchmarkMQTT_QoS0_PubSub2__32b_Payload(b *testing.B) { function BenchmarkMQTT_QoS0_PubSub2_128b_Payload (line 9179) | func BenchmarkMQTT_QoS0_PubSub2_128b_Payload(b *testing.B) { function BenchmarkMQTT_QoS0_PubSub2_256b_Payload (line 9183) | func BenchmarkMQTT_QoS0_PubSub2_256b_Payload(b *testing.B) { function BenchmarkMQTT_QoS0_PubSub2___1K_Payload (line 9187) | func BenchmarkMQTT_QoS0_PubSub2___1K_Payload(b *testing.B) { function BenchmarkMQTT_QoS1_Pub_______0b_Payload (line 9191) | func BenchmarkMQTT_QoS1_Pub_______0b_Payload(b *testing.B) { function BenchmarkMQTT_QoS1_Pub_______8b_Payload (line 9195) | func BenchmarkMQTT_QoS1_Pub_______8b_Payload(b *testing.B) { function BenchmarkMQTT_QoS1_Pub______32b_Payload (line 9199) | func BenchmarkMQTT_QoS1_Pub______32b_Payload(b *testing.B) { function BenchmarkMQTT_QoS1_Pub_____128b_Payload (line 9203) | func BenchmarkMQTT_QoS1_Pub_____128b_Payload(b *testing.B) { function BenchmarkMQTT_QoS1_Pub_____256b_Payload (line 9207) | func BenchmarkMQTT_QoS1_Pub_____256b_Payload(b *testing.B) { function BenchmarkMQTT_QoS1_Pub_______1K_Payload (line 9211) | func BenchmarkMQTT_QoS1_Pub_______1K_Payload(b *testing.B) { function BenchmarkMQTT_QoS1_PubSub1___0b_Payload (line 9215) | func BenchmarkMQTT_QoS1_PubSub1___0b_Payload(b *testing.B) { function BenchmarkMQTT_QoS1_PubSub1___8b_Payload (line 9219) | func BenchmarkMQTT_QoS1_PubSub1___8b_Payload(b *testing.B) { function BenchmarkMQTT_QoS1_PubSub1__32b_Payload (line 9223) | func BenchmarkMQTT_QoS1_PubSub1__32b_Payload(b *testing.B) { function BenchmarkMQTT_QoS1_PubSub1_128b_Payload (line 9227) | func BenchmarkMQTT_QoS1_PubSub1_128b_Payload(b *testing.B) { function BenchmarkMQTT_QoS1_PubSub1_256b_Payload (line 9231) | func BenchmarkMQTT_QoS1_PubSub1_256b_Payload(b *testing.B) { function BenchmarkMQTT_QoS1_PubSub1___1K_Payload (line 9235) | func BenchmarkMQTT_QoS1_PubSub1___1K_Payload(b *testing.B) { function BenchmarkMQTT_QoS1_PubSub2___0b_Payload (line 9239) | func BenchmarkMQTT_QoS1_PubSub2___0b_Payload(b *testing.B) { function BenchmarkMQTT_QoS1_PubSub2___8b_Payload (line 9243) | func BenchmarkMQTT_QoS1_PubSub2___8b_Payload(b *testing.B) { function BenchmarkMQTT_QoS1_PubSub2__32b_Payload (line 9247) | func BenchmarkMQTT_QoS1_PubSub2__32b_Payload(b *testing.B) { function BenchmarkMQTT_QoS1_PubSub2_128b_Payload (line 9251) | func BenchmarkMQTT_QoS1_PubSub2_128b_Payload(b *testing.B) { function BenchmarkMQTT_QoS1_PubSub2_256b_Payload (line 9255) | func BenchmarkMQTT_QoS1_PubSub2_256b_Payload(b *testing.B) { function BenchmarkMQTT_QoS1_PubSub2___1K_Payload (line 9259) | func BenchmarkMQTT_QoS1_PubSub2___1K_Payload(b *testing.B) { FILE: server/msgtrace.go constant MsgTraceDest (line 28) | MsgTraceDest = "Nats-Trace-Dest" constant MsgTraceDestDisabled (line 29) | MsgTraceDestDisabled = "trace disabled" constant MsgTraceHop (line 30) | MsgTraceHop = "Nats-Trace-Hop" constant MsgTraceOriginAccount (line 31) | MsgTraceOriginAccount = "Nats-Trace-Origin-Account" constant MsgTraceOnly (line 32) | MsgTraceOnly = "Nats-Trace-Only" constant traceParentHdr (line 39) | traceParentHdr = "traceparent" type MsgTraceType (line 50) | type MsgTraceType constant MsgTraceIngressType (line 55) | MsgTraceIngressType = "in" constant MsgTraceSubjectMappingType (line 56) | MsgTraceSubjectMappingType = "sm" constant MsgTraceStreamExportType (line 57) | MsgTraceStreamExportType = "se" constant MsgTraceServiceImportType (line 58) | MsgTraceServiceImportType = "si" constant MsgTraceJetStreamType (line 59) | MsgTraceJetStreamType = "js" constant MsgTraceEgressType (line 60) | MsgTraceEgressType = "eg" type MsgTraceEvent (line 63) | type MsgTraceEvent struct method Ingress (line 193) | func (t *MsgTraceEvent) Ingress() *MsgTraceIngress { method SubjectMapping (line 200) | func (t *MsgTraceEvent) SubjectMapping() *MsgTraceSubjectMapping { method StreamExports (line 209) | func (t *MsgTraceEvent) StreamExports() []*MsgTraceStreamExport { method ServiceImports (line 219) | func (t *MsgTraceEvent) ServiceImports() []*MsgTraceServiceImport { method JetStream (line 229) | func (t *MsgTraceEvent) JetStream() *MsgTraceJetStream { method Egresses (line 238) | func (t *MsgTraceEvent) Egresses() []*MsgTraceEgress { type MsgTraceRequest (line 70) | type MsgTraceRequest struct type MsgTraceEvents (line 76) | type MsgTraceEvents method UnmarshalJSON (line 160) | func (t *MsgTraceEvents) UnmarshalJSON(data []byte) error { type MsgTrace (line 78) | type MsgTrace interface type MsgTraceBase (line 83) | type MsgTraceBase struct method typ (line 143) | func (t MsgTraceBase) typ() MsgTraceType { return t.Type } type MsgTraceIngress (line 88) | type MsgTraceIngress struct method new (line 144) | func (MsgTraceIngress) new() MsgTrace { return &MsgTraceIngress... type MsgTraceSubjectMapping (line 98) | type MsgTraceSubjectMapping struct method new (line 145) | func (MsgTraceSubjectMapping) new() MsgTrace { return &MsgTraceSubject... type MsgTraceStreamExport (line 103) | type MsgTraceStreamExport struct method new (line 146) | func (MsgTraceStreamExport) new() MsgTrace { return &MsgTraceStreamE... type MsgTraceServiceImport (line 109) | type MsgTraceServiceImport struct method new (line 147) | func (MsgTraceServiceImport) new() MsgTrace { return &MsgTraceService... type MsgTraceJetStream (line 116) | type MsgTraceJetStream struct method new (line 148) | func (MsgTraceJetStream) new() MsgTrace { return &MsgTraceJetStre... type MsgTraceEgress (line 124) | type MsgTraceEgress struct method new (line 149) | func (MsgTraceEgress) new() MsgTrace { return &MsgTraceEgress{} } function getTraceAs (line 185) | func getTraceAs[T MsgTrace](e any) *T { constant errMsgTraceOnlyNoSupport (line 249) | errMsgTraceOnlyNoSupport = "Not delivered because remote does not supp... constant errMsgTraceNoSupport (line 250) | errMsgTraceNoSupport = "Message delivered but remote does not supp... constant errMsgTraceNoEcho (line 251) | errMsgTraceNoEcho = "Not delivered because of no echo" constant errMsgTracePubViolation (line 252) | errMsgTracePubViolation = "Not delivered because publish denied for t... constant errMsgTraceSubDeny (line 253) | errMsgTraceSubDeny = "Not delivered because subscription denies ... constant errMsgTraceSubClosed (line 254) | errMsgTraceSubClosed = "Not delivered because subscription is closed" constant errMsgTraceClientClosed (line 255) | errMsgTraceClientClosed = "Not delivered because client is closed" constant errMsgTraceAutoSubExceeded (line 256) | errMsgTraceAutoSubExceeded = "Not delivered because auto-unsubscribe exc... constant errMsgTraceFastProdNoStall (line 257) | errMsgTraceFastProdNoStall = "Not delivered because fast producer not st... type msgTrace (line 260) | type msgTrace struct method traceOnly (line 626) | func (t *msgTrace) traceOnly() bool { method setOriginAccountHeaderIfNeeded (line 630) | func (t *msgTrace) setOriginAccountHeaderIfNeeded(c *client, acc *Acco... method setHopHeader (line 646) | func (t *msgTrace) setHopHeader(c *client, msg []byte) []byte { method setIngressError (line 657) | func (t *msgTrace) setIngressError(err string) { method addSubjectMappingEvent (line 663) | func (t *msgTrace) addSubjectMappingEvent(subj []byte) { method addEgressEvent (line 676) | func (t *msgTrace) addEgressEvent(dc *client, sub *subscription, err s... method addStreamExportEvent (line 713) | func (t *msgTrace) addStreamExportEvent(dc *client, to []byte) { method addServiceImportEvent (line 730) | func (t *msgTrace) addServiceImportEvent(accName, from, to string) { method addJetStreamEvent (line 745) | func (t *msgTrace) addJetStreamEvent(streamName string) { method updateJetStreamEvent (line 759) | func (t *msgTrace) updateJetStreamEvent(subject string, noInterest boo... method sendEventFromJetStream (line 774) | func (t *msgTrace) sendEventFromJetStream(err error) { method sendEvent (line 788) | func (t *msgTrace) sendEvent() { method isMsgTraceEnabled (line 285) | func (c *client) isMsgTraceEnabled() (*msgTrace, bool) { method msgTraceSupport (line 295) | func (c *client) msgTraceSupport() bool { function getConnName (line 300) | func getConnName(c *client) string { function getCompressionType (line 318) | func getCompressionType(cts string) compressionType { method initMsgTrace (line 332) | func (c *client) initMsgTrace() *msgTrace { function sample (line 494) | func sample(sampling int) bool { function genHeaderMapIfTraceHeadersPresent (line 509) | func genHeaderMapIfTraceHeadersPresent(hdr []byte) (map[string][]string,... method initAndSendIngressErrEvent (line 596) | func (c *client) initAndSendIngressErrEvent(hdr []byte, dest string, ing... FILE: server/msgtrace_test.go function init (line 36) | func init() { function TestMsgTraceConnName (line 40) | func TestMsgTraceConnName(t *testing.T) { function TestMsgTraceGenHeaderMap (line 80) | func TestMsgTraceGenHeaderMap(t *testing.T) { function TestMsgTraceBasic (line 172) | func TestMsgTraceBasic(t *testing.T) { function TestMsgTraceIngressMaxPayloadError (line 323) | func TestMsgTraceIngressMaxPayloadError(t *testing.T) { function TestMsgTraceIngressMaxPayloadErrorDoesNotScanPayloadForTraceDest (line 374) | func TestMsgTraceIngressMaxPayloadErrorDoesNotScanPayloadForTraceDest(t ... function TestMsgTraceIngressErrors (line 410) | func TestMsgTraceIngressErrors(t *testing.T) { function TestMsgTraceEgressErrors (line 487) | func TestMsgTraceEgressErrors(t *testing.T) { function TestMsgTraceWithQueueSub (line 648) | func TestMsgTraceWithQueueSub(t *testing.T) { function TestMsgTraceWithRoutes (line 749) | func TestMsgTraceWithRoutes(t *testing.T) { function TestMsgTraceWithRouteToOldServer (line 935) | func TestMsgTraceWithRouteToOldServer(t *testing.T) { function TestMsgTraceWithLeafNode (line 1044) | func TestMsgTraceWithLeafNode(t *testing.T) { function TestMsgTraceWithLeafNodeToOldServer (line 1230) | func TestMsgTraceWithLeafNodeToOldServer(t *testing.T) { function TestMsgTraceWithLeafNodeDaisyChain (line 1363) | func TestMsgTraceWithLeafNodeDaisyChain(t *testing.T) { function TestMsgTraceWithGateways (line 1536) | func TestMsgTraceWithGateways(t *testing.T) { function TestMsgTraceWithGatewayToOldServer (line 1711) | func TestMsgTraceWithGatewayToOldServer(t *testing.T) { function TestMsgTraceServiceImport (line 1816) | func TestMsgTraceServiceImport(t *testing.T) { function TestMsgTraceServiceImportWithSuperCluster (line 2023) | func TestMsgTraceServiceImportWithSuperCluster(t *testing.T) { function TestMsgTraceServiceImportWithLeafNodeHub (line 2309) | func TestMsgTraceServiceImportWithLeafNodeHub(t *testing.T) { function TestMsgTraceServiceImportWithLeafNodeLeaf (line 2521) | func TestMsgTraceServiceImportWithLeafNodeLeaf(t *testing.T) { function TestMsgTraceStreamExport (line 2706) | func TestMsgTraceStreamExport(t *testing.T) { function TestMsgTraceStreamExportWithSuperCluster (line 2843) | func TestMsgTraceStreamExportWithSuperCluster(t *testing.T) { function TestMsgTraceStreamExportWithLeafNode_Hub (line 3034) | func TestMsgTraceStreamExportWithLeafNode_Hub(t *testing.T) { function TestMsgTraceStreamExportWithLeafNode_Leaf (line 3221) | func TestMsgTraceStreamExportWithLeafNode_Leaf(t *testing.T) { function TestMsgTraceJetStream (line 3408) | func TestMsgTraceJetStream(t *testing.T) { function TestMsgTraceJetStreamWithSuperCluster (line 3682) | func TestMsgTraceJetStreamWithSuperCluster(t *testing.T) { function TestMsgTraceWithCompression (line 4093) | func TestMsgTraceWithCompression(t *testing.T) { function TestMsgTraceHops (line 4158) | func TestMsgTraceHops(t *testing.T) { function TestMsgTraceTriggeredByExternalHeader (line 4555) | func TestMsgTraceTriggeredByExternalHeader(t *testing.T) { function TestMsgTraceAccountTraceDestJWTUpdate (line 4808) | func TestMsgTraceAccountTraceDestJWTUpdate(t *testing.T) { function TestMsgTraceServiceJWTUpdate (line 4882) | func TestMsgTraceServiceJWTUpdate(t *testing.T) { function TestMsgTraceStreamJWTUpdate (line 4986) | func TestMsgTraceStreamJWTUpdate(t *testing.T) { function TestMsgTraceParseAccountDestWithSampling (line 5090) | func TestMsgTraceParseAccountDestWithSampling(t *testing.T) { function TestMsgTraceAccountDestWithSampling (line 5119) | func TestMsgTraceAccountDestWithSampling(t *testing.T) { function TestMsgTraceAccDestWithSamplingJWTUpdate (line 5221) | func TestMsgTraceAccDestWithSamplingJWTUpdate(t *testing.T) { FILE: server/nkey.go constant nonceRawLen (line 23) | nonceRawLen = 11 constant nonceLen (line 24) | nonceLen = 15 method NonceRequired (line 28) | func (s *Server) NonceRequired() bool { method nonceRequired (line 36) | func (s *Server) nonceRequired() bool { method generateNonce (line 42) | func (s *Server) generateNonce(n []byte) { FILE: server/nkey_test.go type nonceInfo (line 32) | type nonceInfo struct function nkeyBasicSetup (line 41) | func nkeyBasicSetup() (*Server, *testAsyncClient, *bufio.Reader, string) { function mixedSetup (line 49) | func mixedSetup() (*Server, *testAsyncClient, *bufio.Reader, string) { function TestServerInfoNonceAlwaysEnabled (line 58) | func TestServerInfoNonceAlwaysEnabled(t *testing.T) { function TestServerInfoNonce (line 80) | func TestServerInfoNonce(t *testing.T) { function TestNkeyClientConnect (line 130) | func TestNkeyClientConnect(t *testing.T) { function TestMixedClientConnect (line 191) | func TestMixedClientConnect(t *testing.T) { function TestMixedClientConfig (line 230) | func TestMixedClientConfig(t *testing.T) { function BenchmarkCryptoRandGeneration (line 250) | func BenchmarkCryptoRandGeneration(b *testing.B) { function BenchmarkMathRandGeneration (line 257) | func BenchmarkMathRandGeneration(b *testing.B) { function BenchmarkNonceGeneration (line 265) | func BenchmarkNonceGeneration(b *testing.B) { function BenchmarkPublicVerify (line 275) | func BenchmarkPublicVerify(b *testing.B) { FILE: server/norace_1_test.go function TestNoRaceAvoidSlowConsumerBigMessages (line 60) | func TestNoRaceAvoidSlowConsumerBigMessages(t *testing.T) { function TestNoRaceRoutedQueueAutoUnsubscribe (line 120) | func TestNoRaceRoutedQueueAutoUnsubscribe(t *testing.T) { function TestNoRaceClosedSlowConsumerWriteDeadline (line 217) | func TestNoRaceClosedSlowConsumerWriteDeadline(t *testing.T) { function TestNoRaceClosedSlowConsumerPendingBytes (line 265) | func TestNoRaceClosedSlowConsumerPendingBytes(t *testing.T) { function TestNoRaceSlowConsumerPendingBytes (line 313) | func TestNoRaceSlowConsumerPendingBytes(t *testing.T) { function TestNoRaceGatewayNoMissingReplies (line 365) | func TestNoRaceGatewayNoMissingReplies(t *testing.T) { function TestNoRaceRouteMemUsage (line 576) | func TestNoRaceRouteMemUsage(t *testing.T) { function TestNoRaceRouteCache (line 629) | func TestNoRaceRouteCache(t *testing.T) { function TestNoRaceFetchAccountDoesNotRegisterAccountTwice (line 761) | func TestNoRaceFetchAccountDoesNotRegisterAccountTwice(t *testing.T) { function TestNoRaceWriteDeadline (line 847) | func TestNoRaceWriteDeadline(t *testing.T) { function TestNoRaceLeafNodeClusterNameConflictDeadlock (line 898) | func TestNoRaceLeafNodeClusterNameConflictDeadlock(t *testing.T) { function TestNoRaceAccountAddServiceImportRace (line 945) | func TestNoRaceAccountAddServiceImportRace(t *testing.T) { function TestNoRaceQueueAutoUnsubscribe (line 951) | func TestNoRaceQueueAutoUnsubscribe(t *testing.T) { function TestNoRaceAcceptLoopsDoNotLeaveOpenedConn (line 1009) | func TestNoRaceAcceptLoopsDoNotLeaveOpenedConn(t *testing.T) { function TestNoRaceJetStreamDeleteStreamManyConsumers (line 1100) | func TestNoRaceJetStreamDeleteStreamManyConsumers(t *testing.T) { function TestNoRaceJetStreamServiceImportAccountSwapIssue (line 1129) | func TestNoRaceJetStreamServiceImportAccountSwapIssue(t *testing.T) { function TestNoRaceJetStreamAPIStreamListPaging (line 1203) | func TestNoRaceJetStreamAPIStreamListPaging(t *testing.T) { function TestNoRaceJetStreamAPIConsumerListPaging (line 1267) | func TestNoRaceJetStreamAPIConsumerListPaging(t *testing.T) { function TestNoRaceJetStreamWorkQueueLoadBalance (line 1330) | func TestNoRaceJetStreamWorkQueueLoadBalance(t *testing.T) { function TestNoRaceJetStreamClusterLargeStreamInlineCatchup (line 1415) | func TestNoRaceJetStreamClusterLargeStreamInlineCatchup(t *testing.T) { function TestNoRaceJetStreamClusterStreamCreateAndLostQuorum (line 1487) | func TestNoRaceJetStreamClusterStreamCreateAndLostQuorum(t *testing.T) { function TestNoRaceJetStreamSuperClusterMirrors (line 1528) | func TestNoRaceJetStreamSuperClusterMirrors(t *testing.T) { function TestNoRaceJetStreamSuperClusterMixedModeMirrors (line 1643) | func TestNoRaceJetStreamSuperClusterMixedModeMirrors(t *testing.T) { function TestNoRaceJetStreamSuperClusterSources (line 1768) | func TestNoRaceJetStreamSuperClusterSources(t *testing.T) { function TestNoRaceJetStreamClusterSourcesMuxd (line 1926) | func TestNoRaceJetStreamClusterSourcesMuxd(t *testing.T) { function TestNoRaceJetStreamSuperClusterMixedModeSources (line 1976) | func TestNoRaceJetStreamSuperClusterMixedModeSources(t *testing.T) { function TestNoRaceJetStreamClusterExtendedStreamPurgeStall (line 2078) | func TestNoRaceJetStreamClusterExtendedStreamPurgeStall(t *testing.T) { function TestNoRaceJetStreamClusterMirrorExpirationAndMissingSequences (line 2139) | func TestNoRaceJetStreamClusterMirrorExpirationAndMissingSequences(t *te... function TestNoRaceJetStreamClusterLargeActiveOnReplica (line 2223) | func TestNoRaceJetStreamClusterLargeActiveOnReplica(t *testing.T) { function TestNoRaceJetStreamSuperClusterRIPStress (line 2255) | func TestNoRaceJetStreamSuperClusterRIPStress(t *testing.T) { function TestNoRaceJetStreamSlowFilteredInitialPendingAndFirstMsg (line 2415) | func TestNoRaceJetStreamSlowFilteredInitialPendingAndFirstMsg(t *testing... function TestNoRaceJetStreamFileStoreBufferReuse (line 2570) | func TestNoRaceJetStreamFileStoreBufferReuse(t *testing.T) { function TestNoRaceJetStreamSlowRestartWithManyExpiredMsgs (line 2647) | func TestNoRaceJetStreamSlowRestartWithManyExpiredMsgs(t *testing.T) { function TestNoRaceJetStreamStalledMirrorsAfterExpire (line 2719) | func TestNoRaceJetStreamStalledMirrorsAfterExpire(t *testing.T) { function TestNoRaceJetStreamSuperClusterAccountConnz (line 2783) | func TestNoRaceJetStreamSuperClusterAccountConnz(t *testing.T) { function TestNoRaceCompressedConnz (line 2912) | func TestNoRaceCompressedConnz(t *testing.T) { function TestNoRaceJetStreamClusterExtendedStreamPurge (line 2966) | func TestNoRaceJetStreamClusterExtendedStreamPurge(t *testing.T) { function TestNoRaceJetStreamFileStoreCompaction (line 3140) | func TestNoRaceJetStreamFileStoreCompaction(t *testing.T) { function TestNoRaceJetStreamEncryptionEnabledOnRestartWithExpire (line 3187) | func TestNoRaceJetStreamEncryptionEnabledOnRestartWithExpire(t *testing.... function TestNoRaceJetStreamOrderedConsumerMissingMsg (line 3258) | func TestNoRaceJetStreamOrderedConsumerMissingMsg(t *testing.T) { function TestNoRaceJetStreamClusterInterestPolicyAckNone (line 3339) | func TestNoRaceJetStreamClusterInterestPolicyAckNone(t *testing.T) { function TestNoRaceJetStreamLastSubjSeqAndFilestoreCompact (line 3414) | func TestNoRaceJetStreamLastSubjSeqAndFilestoreCompact(t *testing.T) { function TestNoRaceJetStreamClusterMemoryStreamConsumerRaftGrowth (line 3455) | func TestNoRaceJetStreamClusterMemoryStreamConsumerRaftGrowth(t *testing... function TestNoRaceJetStreamClusterCorruptWAL (line 3511) | func TestNoRaceJetStreamClusterCorruptWAL(t *testing.T) { function TestNoRaceJetStreamClusterInterestRetentionDeadlock (line 3681) | func TestNoRaceJetStreamClusterInterestRetentionDeadlock(t *testing.T) { function TestNoRaceJetStreamClusterMaxConsumersAndDirect (line 3729) | func TestNoRaceJetStreamClusterMaxConsumersAndDirect(t *testing.T) { function TestNoRaceJetStreamClusterStreamReset (line 3776) | func TestNoRaceJetStreamClusterStreamReset(t *testing.T) { function TestNoRaceJetStreamKeyValueCompaction (line 3890) | func TestNoRaceJetStreamKeyValueCompaction(t *testing.T) { function TestNoRaceJetStreamClusterStreamSeqMismatchIssue (line 3917) | func TestNoRaceJetStreamClusterStreamSeqMismatchIssue(t *testing.T) { function TestNoRaceJetStreamClusterStreamDropCLFS (line 4005) | func TestNoRaceJetStreamClusterStreamDropCLFS(t *testing.T) { function TestNoRaceJetStreamMemstoreWithLargeInteriorDeletes (line 4086) | func TestNoRaceJetStreamMemstoreWithLargeInteriorDeletes(t *testing.T) { function TestNoRaceJetStreamConsumerFileStoreConcurrentDiskIO (line 4141) | func TestNoRaceJetStreamConsumerFileStoreConcurrentDiskIO(t *testing.T) { function TestNoRaceJetStreamClusterHealthz (line 4188) | func TestNoRaceJetStreamClusterHealthz(t *testing.T) { function TestNoRaceJetStreamStreamInfoSubjectDetailsLimits (line 4267) | func TestNoRaceJetStreamStreamInfoSubjectDetailsLimits(t *testing.T) { function TestNoRaceJetStreamSparseConsumers (line 4347) | func TestNoRaceJetStreamSparseConsumers(t *testing.T) { function TestNoRaceJetStreamConsumerFilterPerfDegradation (line 4422) | func TestNoRaceJetStreamConsumerFilterPerfDegradation(t *testing.T) { function TestNoRaceJetStreamFileStoreKeyFileCleanup (line 4476) | func TestNoRaceJetStreamFileStoreKeyFileCleanup(t *testing.T) { function TestNoRaceJetStreamMsgIdPerfDuringCatchup (line 4522) | func TestNoRaceJetStreamMsgIdPerfDuringCatchup(t *testing.T) { function TestNoRaceJetStreamRebuildDeDupeAndMemoryPerf (line 4606) | func TestNoRaceJetStreamRebuildDeDupeAndMemoryPerf(t *testing.T) { function TestNoRaceJetStreamMemoryUsageOnLimitedStreamWithMirror (line 4688) | func TestNoRaceJetStreamMemoryUsageOnLimitedStreamWithMirror(t *testing.... function TestNoRaceJetStreamOrderedConsumerLongRTTPerformance (line 4738) | func TestNoRaceJetStreamOrderedConsumerLongRTTPerformance(t *testing.T) { function TestNoRaceJetStreamClusterCatchupStallGate (line 4849) | func TestNoRaceJetStreamClusterCatchupStallGate(t *testing.T) { function TestNoRaceJetStreamClusterCatchupBailMidway (line 4912) | func TestNoRaceJetStreamClusterCatchupBailMidway(t *testing.T) { function TestNoRaceJetStreamAccountLimitsAndRestart (line 4978) | func TestNoRaceJetStreamAccountLimitsAndRestart(t *testing.T) { function TestNoRaceJetStreamAccountLimitsAndRestartForceSnapshot (line 5012) | func TestNoRaceJetStreamAccountLimitsAndRestartForceSnapshot(t *testing.... function TestNoRaceJetStreamPullConsumersAndInteriorDeletes (line 5063) | func TestNoRaceJetStreamPullConsumersAndInteriorDeletes(t *testing.T) { function TestNoRaceJetStreamClusterInterestPullConsumerStreamLimitBug (line 5157) | func TestNoRaceJetStreamClusterInterestPullConsumerStreamLimitBug(t *tes... function TestNoRaceJetStreamClusterDirectAccessAllPeersSubs (line 5275) | func TestNoRaceJetStreamClusterDirectAccessAllPeersSubs(t *testing.T) { function TestNoRaceJetStreamClusterStreamNamesAndInfosMoreThanAPILimit (line 5412) | func TestNoRaceJetStreamClusterStreamNamesAndInfosMoreThanAPILimit(t *te... function TestNoRaceJetStreamClusterConsumerListPaging (line 5482) | func TestNoRaceJetStreamClusterConsumerListPaging(t *testing.T) { function TestNoRaceJetStreamFileStoreLargeKVAccessTiming (line 5584) | func TestNoRaceJetStreamFileStoreLargeKVAccessTiming(t *testing.T) { function TestNoRaceJetStreamKVLock (line 5646) | func TestNoRaceJetStreamKVLock(t *testing.T) { function TestNoRaceJetStreamSuperClusterStreamMoveLongRTT (line 5714) | func TestNoRaceJetStreamSuperClusterStreamMoveLongRTT(t *testing.T) { function TestNoRaceJetStreamConcurrentPullConsumerBatch (line 5779) | func TestNoRaceJetStreamConcurrentPullConsumerBatch(t *testing.T) { function TestNoRaceJetStreamManyPullConsumersNeedAckOptimization (line 5862) | func TestNoRaceJetStreamManyPullConsumersNeedAckOptimization(t *testing.... function TestNoRaceJetStreamDeleteConsumerWithInterestStreamAndHighSeqs (line 5916) | func TestNoRaceJetStreamDeleteConsumerWithInterestStreamAndHighSeqs(t *t... function TestNoRaceEncodeConsumerStateBug (line 5972) | func TestNoRaceEncodeConsumerStateBug(t *testing.T) { function TestNoRaceJetStreamLargeNumConsumersPerfImpact (line 5989) | func TestNoRaceJetStreamLargeNumConsumersPerfImpact(t *testing.T) { function TestNoRaceJetStreamLargeNumConsumersSparseDelivery (line 6081) | func TestNoRaceJetStreamLargeNumConsumersSparseDelivery(t *testing.T) { function TestNoRaceJetStreamEndToEndLatency (line 6164) | func TestNoRaceJetStreamEndToEndLatency(t *testing.T) { function TestNoRaceJetStreamClusterEnsureWALCompact (line 6212) | func TestNoRaceJetStreamClusterEnsureWALCompact(t *testing.T) { function TestNoRaceFileStoreStreamMaxAgePerformance (line 6304) | func TestNoRaceFileStoreStreamMaxAgePerformance(t *testing.T) { function TestNoRaceFileStoreFilteredStateWithLargeDeletes (line 6366) | func TestNoRaceFileStoreFilteredStateWithLargeDeletes(t *testing.T) { function TestNoRaceJetStreamClusterConsumerInfoSpeed (line 6408) | func TestNoRaceJetStreamClusterConsumerInfoSpeed(t *testing.T) { function TestNoRaceJetStreamKVAccountWithServerRestarts (line 6482) | func TestNoRaceJetStreamKVAccountWithServerRestarts(t *testing.T) { function TestNoRaceJetStreamConsumerCreateTimeNumPending (line 6565) | func TestNoRaceJetStreamConsumerCreateTimeNumPending(t *testing.T) { function TestNoRaceJetStreamClusterGhostConsumers (line 6615) | func TestNoRaceJetStreamClusterGhostConsumers(t *testing.T) { function TestNoRaceJetStreamClusterF3Setup (line 6761) | func TestNoRaceJetStreamClusterF3Setup(t *testing.T) { function createStretchUnbalancedCluster (line 7075) | func createStretchUnbalancedCluster(t testing.TB) (c *cluster, np *netPr... function TestNoRaceJetStreamClusterDifferentRTTInterestBasedStreamSetup (line 7123) | func TestNoRaceJetStreamClusterDifferentRTTInterestBasedStreamSetup(t *t... function TestNoRaceJetStreamInterestStreamCheckInterestRaceBug (line 7234) | func TestNoRaceJetStreamInterestStreamCheckInterestRaceBug(t *testing.T) { function TestNoRaceJetStreamClusterInterestStreamConsistencyAfterRollingRestart (line 7316) | func TestNoRaceJetStreamClusterInterestStreamConsistencyAfterRollingRest... function TestNoRaceFileStoreNumPending (line 7559) | func TestNoRaceFileStoreNumPending(t *testing.T) { function TestNoRaceJetStreamClusterUnbalancedInterestMultipleConsumers (line 7685) | func TestNoRaceJetStreamClusterUnbalancedInterestMultipleConsumers(t *te... function TestNoRaceJetStreamClusterUnbalancedInterestMultipleFilteredConsumers (line 7830) | func TestNoRaceJetStreamClusterUnbalancedInterestMultipleFilteredConsume... function TestNoRaceParallelStreamAndConsumerCreation (line 7938) | func TestNoRaceParallelStreamAndConsumerCreation(t *testing.T) { function TestNoRaceRoutePool (line 8059) | func TestNoRaceRoutePool(t *testing.T) { function testNoRaceRoutePerAccount (line 8158) | func testNoRaceRoutePerAccount(t *testing.T, useWildCard bool) { function TestNoRaceRoutePerAccount (line 8289) | func TestNoRaceRoutePerAccount(t *testing.T) { function TestNoRaceRoutePerAccountSubWithWildcard (line 8293) | func TestNoRaceRoutePerAccountSubWithWildcard(t *testing.T) { function TestNoRaceRoutePoolAndPerAccountConfigReload (line 8301) | func TestNoRaceRoutePoolAndPerAccountConfigReload(t *testing.T) { function TestNoRaceClientOutboundQueueMemory (line 8441) | func TestNoRaceClientOutboundQueueMemory(t *testing.T) { FILE: server/norace_2_test.go function TestNoRaceJetStreamClusterLeafnodeConnectPerf (line 49) | func TestNoRaceJetStreamClusterLeafnodeConnectPerf(t *testing.T) { function TestNoRaceJetStreamClusterDifferentRTTInterestBasedStreamPreAck (line 103) | func TestNoRaceJetStreamClusterDifferentRTTInterestBasedStreamPreAck(t *... function TestNoRaceCheckAckFloorWithVeryLargeFirstSeqAndNewConsumers (line 246) | func TestNoRaceCheckAckFloorWithVeryLargeFirstSeqAndNewConsumers(t *test... function TestNoRaceReplicatedMirrorWithLargeStartingSequenceOverLeafnode (line 323) | func TestNoRaceReplicatedMirrorWithLargeStartingSequenceOverLeafnode(t *... function TestNoRaceBinaryStreamSnapshotEncodingBasic (line 383) | func TestNoRaceBinaryStreamSnapshotEncodingBasic(t *testing.T) { function TestNoRaceFilestoreBinaryStreamSnapshotEncodingLargeGaps (line 455) | func TestNoRaceFilestoreBinaryStreamSnapshotEncodingLargeGaps(t *testing... function TestNoRaceJetStreamClusterStreamSnapshotCatchup (line 494) | func TestNoRaceJetStreamClusterStreamSnapshotCatchup(t *testing.T) { function TestNoRaceStoreStreamEncoderDecoder (line 583) | func TestNoRaceStoreStreamEncoderDecoder(t *testing.T) { function TestNoRaceJetStreamClusterKVWithServerKill (line 659) | func TestNoRaceJetStreamClusterKVWithServerKill(t *testing.T) { function TestNoRaceFileStoreLargeMsgsAndFirstMatching (line 803) | func TestNoRaceFileStoreLargeMsgsAndFirstMatching(t *testing.T) { function TestNoRaceWSNoCorruptionWithFrameSizeLimit (line 838) | func TestNoRaceWSNoCorruptionWithFrameSizeLimit(t *testing.T) { function TestNoRaceJetStreamAPIDispatchQueuePending (line 842) | func TestNoRaceJetStreamAPIDispatchQueuePending(t *testing.T) { function TestNoRaceJetStreamMirrorAndSourceConsumerFailBackoff (line 926) | func TestNoRaceJetStreamMirrorAndSourceConsumerFailBackoff(t *testing.T) { function TestNoRaceJetStreamClusterStreamCatchupLargeInteriorDeletes (line 1022) | func TestNoRaceJetStreamClusterStreamCatchupLargeInteriorDeletes(t *test... function TestNoRaceJetStreamClusterBadRestartsWithHealthzPolling (line 1098) | func TestNoRaceJetStreamClusterBadRestartsWithHealthzPolling(t *testing.... function TestNoRaceJetStreamKVReplaceWithServerRestart (line 1226) | func TestNoRaceJetStreamKVReplaceWithServerRestart(t *testing.T) { function TestNoRaceMemStoreCompactPerformance (line 1326) | func TestNoRaceMemStoreCompactPerformance(t *testing.T) { function TestNoRaceJetStreamSnapshotsWithSlowAckDontSlowConsumer (line 1375) | func TestNoRaceJetStreamSnapshotsWithSlowAckDontSlowConsumer(t *testing.... function TestNoRaceJetStreamWQSkippedMsgsOnScaleUp (line 1443) | func TestNoRaceJetStreamWQSkippedMsgsOnScaleUp(t *testing.T) { function TestNoRaceConnectionObjectReleased (line 1606) | func TestNoRaceConnectionObjectReleased(t *testing.T) { function TestNoRaceFileStoreMsgLoadNextMsgMultiPerf (line 1822) | func TestNoRaceFileStoreMsgLoadNextMsgMultiPerf(t *testing.T) { function TestNoRaceWQAndMultiSubjectFilters (line 1901) | func TestNoRaceWQAndMultiSubjectFilters(t *testing.T) { function TestNoRaceWQAndMultiSubjectFiltersRace (line 1984) | func TestNoRaceWQAndMultiSubjectFiltersRace(t *testing.T) { function TestNoRaceFileStoreWriteFullStateUniqueSubjects (line 2058) | func TestNoRaceFileStoreWriteFullStateUniqueSubjects(t *testing.T) { function TestNoRaceLargeStreamCatchups (line 2116) | func TestNoRaceLargeStreamCatchups(t *testing.T) { function TestNoRaceLargeNumDeletesStreamCatchups (line 2209) | func TestNoRaceLargeNumDeletesStreamCatchups(t *testing.T) { function TestNoRaceJetStreamClusterMemoryStreamLastSequenceResetAfterRestart (line 2269) | func TestNoRaceJetStreamClusterMemoryStreamLastSequenceResetAfterRestart... function TestNoRaceJetStreamClusterMemoryWorkQueueLastSequenceResetAfterRestart (line 2337) | func TestNoRaceJetStreamClusterMemoryWorkQueueLastSequenceResetAfterRest... function TestNoRaceJetStreamClusterMirrorSkipSequencingBug (line 2423) | func TestNoRaceJetStreamClusterMirrorSkipSequencingBug(t *testing.T) { function TestNoRaceJetStreamStandaloneDontReplyToAckBeforeProcessingIt (line 2478) | func TestNoRaceJetStreamStandaloneDontReplyToAckBeforeProcessingIt(t *te... function TestNoRaceFileStoreMsgLimitsAndOldRecoverState (line 2556) | func TestNoRaceFileStoreMsgLimitsAndOldRecoverState(t *testing.T) { function TestNoRaceJetStreamClusterCheckInterestStatePerformanceWQ (line 2663) | func TestNoRaceJetStreamClusterCheckInterestStatePerformanceWQ(t *testin... function TestNoRaceJetStreamClusterCheckInterestStatePerformanceInterest (line 2772) | func TestNoRaceJetStreamClusterCheckInterestStatePerformanceInterest(t *... function TestNoRaceJetStreamClusterLargeMetaSnapshotTiming (line 2858) | func TestNoRaceJetStreamClusterLargeMetaSnapshotTiming(t *testing.T) { function TestNoRaceStoreReverseWalkWithDeletesPerf (line 2913) | func TestNoRaceStoreReverseWalkWithDeletesPerf(t *testing.T) { type fastProdLogger (line 2996) | type fastProdLogger struct method Debugf (line 3001) | func (l *fastProdLogger) Debugf(format string, args ...any) { function TestNoRaceNoFastProducerStall (line 3011) | func TestNoRaceNoFastProducerStall(t *testing.T) { function TestNoRaceProducerStallLimits (line 3107) | func TestNoRaceProducerStallLimits(t *testing.T) { function TestNoRaceJetStreamClusterConsumerDeleteInterestPolicyPerf (line 3200) | func TestNoRaceJetStreamClusterConsumerDeleteInterestPolicyPerf(t *testi... function TestNoRaceJetStreamClusterConsumerDeleteInterestPolicyUniqueFiltersPerf (line 3343) | func TestNoRaceJetStreamClusterConsumerDeleteInterestPolicyUniqueFilters... function TestNoRaceFileStorePurgeExAsyncTombstones (line 3438) | func TestNoRaceFileStorePurgeExAsyncTombstones(t *testing.T) { function TestNoRaceAccessTimeLeakCheck (line 3482) | func TestNoRaceAccessTimeLeakCheck(t *testing.T) { FILE: server/ocsp.go constant defaultOCSPStoreDir (line 41) | defaultOCSPStoreDir = "ocsp" constant defaultOCSPCheckInterval (line 42) | defaultOCSPCheckInterval = 24 * time.Hour constant minOCSPCheckInterval (line 43) | minOCSPCheckInterval = 2 * time.Minute type OCSPMode (line 46) | type OCSPMode constant OCSPModeAuto (line 50) | OCSPModeAuto OCSPMode = iota constant OCSPModeAlways (line 54) | OCSPModeAlways constant OCSPModeNever (line 57) | OCSPModeNever constant OCSPModeMust (line 61) | OCSPModeMust type OCSPMonitor (line 65) | type OCSPMonitor struct method getNextRun (line 80) | func (oc *OCSPMonitor) getNextRun() time.Duration { method getStatus (line 102) | func (oc *OCSPMonitor) getStatus() ([]byte, *ocsp.Response, error) { method getCacheStatus (line 119) | func (oc *OCSPMonitor) getCacheStatus() ([]byte, *ocsp.Response) { method getLocalStatus (line 125) | func (oc *OCSPMonitor) getLocalStatus() ([]byte, *ocsp.Response, error) { method getRemoteStatus (line 160) | func (oc *OCSPMonitor) getRemoteStatus() ([]byte, *ocsp.Response, erro... method run (line 272) | func (oc *OCSPMonitor) run() { method stop (line 348) | func (oc *OCSPMonitor) stop() { method writeOCSPStatus (line 840) | func (oc *OCSPMonitor) writeOCSPStatus(storeDir, file string, data []b... method NewOCSPMonitor (line 357) | func (srv *Server) NewOCSPMonitor(config *tlsConfigKind) (*tls.Config, *... method setupOCSPStapleStoreDir (line 560) | func (s *Server) setupOCSPStapleStoreDir() error { type tlsConfigKind (line 577) | type tlsConfigKind struct method configureOCSP (line 585) | func (s *Server) configureOCSP() []*tlsConfigKind { method enableOCSP (line 680) | func (s *Server) enableOCSP() error { method startOCSPMonitoring (line 717) | func (s *Server) startOCSPMonitoring() { method reloadOCSP (line 734) | func (s *Server) reloadOCSP() error { function hasOCSPStatusRequest (line 804) | func hasOCSPStatusRequest(cert *x509.Certificate) bool { function parseCertPEM (line 867) | func parseCertPEM(name string) ([]*x509.Certificate, error) { function getOCSPIssuerLocally (line 892) | func getOCSPIssuerLocally(trustedCAs []*x509.Certificate, certBundle []*... function getOCSPIssuer (line 932) | func getOCSPIssuer(caFile string, chain [][]byte) (*x509.Certificate, er... function ocspStatusString (line 968) | func ocspStatusString(n int) string { function validOCSPResponse (line 979) | func validOCSPResponse(r *ocsp.Response) error { FILE: server/ocsp_peer.go function parseOCSPPeer (line 29) | func parseOCSPPeer(v any) (pcfg *certidp.OCSPPeerConfig, retError error) { function peerFromVerifiedChains (line 130) | func peerFromVerifiedChains(chains [][]*x509.Certificate) *x509.Certific... method plugTLSOCSPPeer (line 138) | func (s *Server) plugTLSOCSPPeer(config *tlsConfigKind) (*tls.Config, bo... method plugClientTLSOCSPPeer (line 163) | func (s *Server) plugClientTLSOCSPPeer(config *tlsConfigKind) (*tls.Conf... method plugServerTLSOCSPPeer (line 183) | func (s *Server) plugServerTLSOCSPPeer(config *tlsConfigKind) (*tls.Conf... method tlsServerOCSPValid (line 209) | func (s *Server) tlsServerOCSPValid(chains [][]*x509.Certificate, opts *... method tlsClientOCSPValid (line 220) | func (s *Server) tlsClientOCSPValid(chains [][]*x509.Certificate, opts *... method peerOCSPValid (line 225) | func (s *Server) peerOCSPValid(chains [][]*x509.Certificate, opts *certi... method certOCSPGood (line 286) | func (s *Server) certOCSPGood(link *certidp.ChainLink, opts *certidp.OCS... FILE: server/ocsp_responsecache.go constant OCSPResponseCacheDefaultDir (line 37) | OCSPResponseCacheDefaultDir = "_rc_" constant OCSPResponseCacheDefaultFilename (line 38) | OCSPResponseCacheDefaultFilename = "cache.json" constant OCSPResponseCacheDefaultTempFilePrefix (line 39) | OCSPResponseCacheDefaultTempFilePrefix = "ocsprc-*" constant OCSPResponseCacheMinimumSaveInterval (line 40) | OCSPResponseCacheMinimumSaveInterval = 1 * time.Second constant OCSPResponseCacheDefaultSaveInterval (line 41) | OCSPResponseCacheDefaultSaveInterval = 5 * time.Minute type OCSPResponseCacheType (line 44) | type OCSPResponseCacheType constant NONE (line 47) | NONE OCSPResponseCacheType = iota + 1 constant LOCAL (line 48) | LOCAL type OCSPResponseCacheConfig (line 56) | type OCSPResponseCacheConfig struct function NewOCSPResponseCacheConfig (line 63) | func NewOCSPResponseCacheConfig() *OCSPResponseCacheConfig { type OCSPResponseCacheStats (line 72) | type OCSPResponseCacheStats struct type OCSPResponseCacheItem (line 81) | type OCSPResponseCacheItem struct type OCSPResponseCache (line 89) | type OCSPResponseCache interface type NoOpCache (line 102) | type NoOpCache struct method Put (line 109) | func (c *NoOpCache) Put(_ string, _ *ocsp.Response, _ string, _ *certi... method Get (line 111) | func (c *NoOpCache) Get(_ string, _ *certidp.Log) []byte { method Delete (line 115) | func (c *NoOpCache) Delete(_ string, _ bool, _ *certidp.Log) {} method Start (line 117) | func (c *NoOpCache) Start(_ *Server) { method Stop (line 124) | func (c *NoOpCache) Stop(_ *Server) { method Online (line 130) | func (c *NoOpCache) Online() bool { method Type (line 136) | func (c *NoOpCache) Type() string { method Config (line 142) | func (c *NoOpCache) Config() *OCSPResponseCacheConfig { method Stats (line 148) | func (c *NoOpCache) Stats() *OCSPResponseCacheStats { type LocalCache (line 155) | type LocalCache struct method Put (line 167) | func (c *LocalCache) Put(key string, caResp *ocsp.Response, subj strin... method Get (line 201) | func (c *LocalCache) Get(key string, log *certidp.Log) []byte { method adjustStatsHitToMiss (line 224) | func (c *LocalCache) adjustStatsHitToMiss() { method adjustStats (line 229) | func (c *LocalCache) adjustStats(delta int64, rs certidp.StatusAsserti... method Delete (line 245) | func (c *LocalCache) Delete(key string, wasMiss bool, log *certidp.Log) { method Start (line 272) | func (c *LocalCache) Start(s *Server) { method Stop (line 281) | func (c *LocalCache) Stop(s *Server) { method Online (line 290) | func (c *LocalCache) Online() bool { method Type (line 296) | func (c *LocalCache) Type() string { method Config (line 302) | func (c *LocalCache) Config() *OCSPResponseCacheConfig { method Stats (line 308) | func (c *LocalCache) Stats() *OCSPResponseCacheStats { method initStats (line 325) | func (c *LocalCache) initStats() { method Compress (line 344) | func (c *LocalCache) Compress(buf []byte) ([]byte, error) { method Decompress (line 360) | func (c *LocalCache) Decompress(buf []byte) ([]byte, error) { method loadCache (line 371) | func (c *LocalCache) loadCache(s *Server) { method saveCache (line 406) | func (c *LocalCache) saveCache(s *Server) { method initOCSPResponseCache (line 508) | func (s *Server) initOCSPResponseCache() { method startOCSPResponseCache (line 546) | func (s *Server) startOCSPResponseCache() { method stopOCSPResponseCache (line 564) | func (s *Server) stopOCSPResponseCache() { function parseOCSPResponseCache (line 574) | func parseOCSPResponseCache(v any) (pcfg *OCSPResponseCacheConfig, retEr... FILE: server/opts.go function NoErrOnUnknownFields (line 50) | func NoErrOnUnknownFields(noError bool) { type PinnedCertSet (line 59) | type PinnedCertSet type ClusterOpts (line 64) | type ClusterOpts struct type CompressionOpts (line 97) | type CompressionOpts struct type GatewayOpts (line 114) | type GatewayOpts struct type RemoteGatewayOpts (line 145) | type RemoteGatewayOpts struct type LeafNodeOpts (line 154) | type LeafNodeOpts struct type SignatureHandler (line 215) | type SignatureHandler type RemoteLeafOpts (line 218) | type RemoteLeafOpts struct type JSLimitOpts (line 289) | type JSLimitOpts struct type JSTpmOpts (line 300) | type JSTpmOpts struct type AuthCallout (line 308) | type AuthCallout struct type Options (line 326) | type Options struct method Clone (line 716) | func (o *Options) Clone() *Options { method ProcessConfigFile (line 975) | func (o *Options) ProcessConfigFile(configFile string) error { method ProcessConfigString (line 991) | func (o *Options) ProcessConfigString(data string) error { method ConfigDigest (line 1001) | func (o *Options) ConfigDigest() string { method processConfigFile (line 1005) | func (o *Options) processConfigFile(configFile string, m map[string]an... method processConfigFileLine (line 1048) | func (o *Options) processConfigFileLine(k string, v any, errors *[]err... type WebsocketOpts (line 519) | type WebsocketOpts struct type MQTTOpts (line 614) | type MQTTOpts struct type netResolver (line 710) | type netResolver interface function deepCopyURLs (line 757) | func deepCopyURLs(urls []*url.URL) []*url.URL { type authorization (line 771) | type authorization struct type TLSConfigOpts (line 791) | type TLSConfigOpts struct type TLSCertPairOpt (line 818) | type TLSCertPairOpt struct type OCSPConfig (line 824) | type OCSPConfig struct type ProxiesConfig (line 833) | type ProxiesConfig struct type ProxyConfig (line 838) | type ProxyConfig struct function ProcessConfigFile (line 871) | func ProcessConfigFile(configFile string) (*Options, error) { type token (line 885) | type token interface function unwrapValue (line 897) | func unwrapValue(v any, lastToken *token) (token, any) { function convertPanicToErrorList (line 910) | func convertPanicToErrorList(lastToken *token, errors *[]error) { function convertPanicToError (line 924) | func convertPanicToError(lastToken *token, e *error) { function configureSystemAccount (line 939) | func configureSystemAccount(o *Options, m map[string]any) (retErr error) { function setupUsersAndNKeysDuplicateCheckMap (line 1816) | func setupUsersAndNKeysDuplicateCheckMap(o *Options) map[string]struct{} { function parseDuration (line 1827) | func parseDuration(field string, tk token, v any, errors *[]error, warni... function parseWriteDeadlinePolicy (line 1851) | func parseWriteDeadlinePolicy(tk token, v string, errors *[]error) Write... function trackExplicitVal (line 1866) | func trackExplicitVal(pm *map[string]bool, name string, val bool) { type hostPort (line 1876) | type hostPort struct function parseListen (line 1882) | func parseListen(v any) (*hostPort, error) { function parseCluster (line 1905) | func parseCluster(v any, opts *Options, errors *[]error, warnings *[]err... function parseCompression (line 2063) | func parseCompression(c *CompressionOpts, chosenModeForOn string, tk tok... function parseURLs (line 2104) | func parseURLs(a []any, typ string, warnings *[]error) (urls []*url.URL,... function parseURL (line 2137) | func parseURL(u string, typ string) (*url.URL, error) { function parseGateway (line 2148) | func parseGateway(v any, o *Options, errors *[]error, warnings *[]error)... function parseJetStreamForAccount (line 2257) | func parseJetStreamForAccount(v any, acc *Account, errors *[]error) error { function getStorageSize (line 2364) | func getStorageSize(v any) (int64, error) { function parseJetStreamLimits (line 2398) | func parseJetStreamLimits(v any, opts *Options, errors *[]error) error { function parseJetStreamLimitsBatch (line 2443) | func parseJetStreamLimitsBatch(v any, opts *Options, errors *[]error) er... function parseJetStreamTPM (line 2483) | func parseJetStreamTPM(v interface{}, opts *Options, errors *[]error) er... function setJetStreamEkCipher (line 2524) | func setJetStreamEkCipher(opts *Options, mv interface{}, tk token) error { function parseJetStream (line 2540) | func parseJetStream(v any, opts *Options, errors *[]error, warnings *[]e... function parseLeafNodes (line 2690) | func parseLeafNodes(v any, opts *Options, errors *[]error, warnings *[]e... function parseLeafAuthorization (line 2804) | func parseLeafAuthorization(v any, errors, warnings *[]error) (*authoriz... function parseLeafUsers (line 2879) | func parseLeafUsers(mv any, errors *[]error) ([]*User, error) { function parseRemoteLeafNodes (line 2938) | func parseRemoteLeafNodes(v any, errors *[]error, warnings *[]error) ([]... function getTLSConfig (line 3145) | func getTLSConfig(tk token) (*tls.Config, *TLSConfigOpts, error) { function parseGateways (line 3163) | func parseGateways(v any, errors *[]error, warnings *[]error) ([]*Remote... function setClusterPermissions (line 3231) | func setClusterPermissions(opts *ClusterOpts, perms *Permissions) { type export (line 3245) | type export struct type importStream (line 3256) | type importStream struct type importService (line 3265) | type importService struct function isReservedAccount (line 3274) | func isReservedAccount(name string) bool { function parseAccountMapDest (line 3278) | func parseAccountMapDest(v any, tk token, errors *[]error) (*MapDest, *c... function parseAccountMappings (line 3347) | func parseAccountMappings(v any, acc *Account, errors *[]error) error { function parseAccountLimits (line 3408) | func parseAccountLimits(mv any, acc *Account, errors *[]error) error { function parseAccountMsgTrace (line 3440) | func parseAccountMsgTrace(mv any, topKey string, acc *Account) error { function parseAccounts (line 3504) | func parseAccounts(v any, opts *Options, errors *[]error, warnings *[]er... function parseAccountExports (line 3829) | func parseAccountExports(v any, acc *Account, errors *[]error) ([]*expor... function parseAccountImports (line 3863) | func parseAccountImports(v any, acc *Account, errors *[]error) ([]*impor... function parseAccount (line 3912) | func parseAccount(v map[string]any, errors *[]error) (string, string, er... function parseExportStreamOrService (line 3945) | func parseExportStreamOrService(v any, errors *[]error) (*export, *expor... function parseServiceLatency (line 4154) | func parseServiceLatency(root token, v any) (l *serviceLatency, retErr e... function parseImportStreamOrService (line 4235) | func parseImportStreamOrService(v any, errors *[]error) (*importStream, ... function applyDefaultPermissions (line 4376) | func applyDefaultPermissions(users []*User, nkeys []*NkeyUser, defaultP ... function parseAuthorization (line 4393) | func parseAuthorization(v any, errors, warnings *[]error) (*authorizatio... function parseUsers (line 4481) | func parseUsers(mv any, errors *[]error) ([]*NkeyUser, []*User, error) { function parseAllowedConnectionTypes (line 4580) | func parseAllowedConnectionTypes(tk token, lt *token, mv any, errors *[]... function parseAuthCallout (line 4594) | func parseAuthCallout(mv any, errors *[]error) (*AuthCallout, error) { function parseUserPermissions (line 4663) | func parseUserPermissions(mv any, errors *[]error) (*Permissions, error) { function parseVariablePermissions (line 4731) | func parseVariablePermissions(v any, errors *[]error) (*SubjectPermissio... function parsePermSubjects (line 4743) | func parsePermSubjects(v any, errors *[]error) ([]string, error) { function parseAllowResponses (line 4775) | func parseAllowResponses(v any, errors *[]error) *ResponsePermission { function parseOldPermissionStyle (line 4833) | func parseOldPermissionStyle(v any, errors *[]error) (*SubjectPermission... function parseSubjectPermission (line 4842) | func parseSubjectPermission(v any, errors *[]error) (*SubjectPermission,... function checkPermSubjectArray (line 4879) | func checkPermSubjectArray(sa []string) error { function PrintTLSHelpAndDie (line 4895) | func PrintTLSHelpAndDie() { function parseCipher (line 4912) | func parseCipher(cipherName string) (*tls.CipherSuite, error) { function parseCurvePreferences (line 4920) | func parseCurvePreferences(curveName string) (tls.CurveID, error) { function parseTLSVersion (line 4928) | func parseTLSVersion(v any) (uint16, error) { function parseTLS (line 4947) | func parseTLS(v any, isClientCtx bool) (t *TLSConfigOpts, retErr error) { function parseSimpleAuth (line 5264) | func parseSimpleAuth(v any, errors *[]error) *authorization { function parseStringArray (line 5309) | func parseStringArray(fieldName string, tk token, lt *token, mv any, err... function parseWebsocket (line 5333) | func parseWebsocket(v any, o *Options, errors *[]error, warnings *[]erro... function parseMQTT (line 5452) | func parseMQTT(v any, o *Options, errors *[]error, warnings *[]error) er... function parseProxies (line 5552) | func parseProxies(mv any, errors *[]error) (*ProxiesConfig, error) { function parseProxiesTrusted (line 5591) | func parseProxiesTrusted(mv any, errors *[]error) ([]*ProxyConfig, error) { function GenTLSConfig (line 5642) | func GenTLSConfig(tc *TLSConfigOpts) (*tls.Config, error) { function MergeOptions (line 5723) | func MergeOptions(fileOpts, flagOpts *Options) *Options { function RoutesFromStr (line 5806) | func RoutesFromStr(routesStr string) []*url.URL { function mergeRoutes (line 5821) | func mergeRoutes(opts, flagOpts *Options) { function setBaselineOptions (line 5830) | func setBaselineOptions(opts *Options) { function getDefaultAuthTimeout (line 6021) | func getDefaultAuthTimeout(tls *tls.Config, tlsTimeout float64) float64 { function ConfigureOptions (line 6035) | func ConfigureOptions(fs *flag.FlagSet, args []string, printVersion, pri... function normalizeBasePath (line 6297) | func normalizeBasePath(p string) string { function overrideTLS (line 6309) | func overrideTLS(opts *Options) error { function overrideCluster (line 6332) | func overrideCluster(opts *Options) error { function processSignal (line 6383) | func processSignal(signal string) error { function maybeReadPidFile (line 6404) | func maybeReadPidFile(pidStr string) string { function homeDir (line 6411) | func homeDir() (string, error) { function expandPath (line 6434) | func expandPath(p string) (string, error) { FILE: server/opts_test.go function checkOptionsEqual (line 39) | func checkOptionsEqual(t *testing.T, golden, opts *Options) { function TestDefaultOptions (line 52) | func TestDefaultOptions(t *testing.T) { function TestOptions_RandomPort (line 88) | func TestOptions_RandomPort(t *testing.T) { function TestConfigFile (line 98) | func TestConfigFile(t *testing.T) { function TestTLSConfigFile (line 140) | func TestTLSConfigFile(t *testing.T) { function TestMergeOverrides (line 265) | func TestMergeOverrides(t *testing.T) { function TestRouteFlagOverride (line 329) | func TestRouteFlagOverride(t *testing.T) { function TestClusterFlagsOverride (line 364) | func TestClusterFlagsOverride(t *testing.T) { function TestRouteFlagOverrideWithMultiple (line 407) | func TestRouteFlagOverrideWithMultiple(t *testing.T) { function TestDynamicPortOnListen (line 442) | func TestDynamicPortOnListen(t *testing.T) { function TestListenConfig (line 458) | func TestListenConfig(t *testing.T) { function TestListenPortOnlyConfig (line 508) | func TestListenPortOnlyConfig(t *testing.T) { function TestListenPortWithColonConfig (line 528) | func TestListenPortWithColonConfig(t *testing.T) { function TestListenMonitoringDefault (line 548) | func TestListenMonitoringDefault(t *testing.T) { function TestMultipleUsersConfig (line 566) | func TestMultipleUsersConfig(t *testing.T) { function TestAuthorizationConfig (line 576) | func TestAuthorizationConfig(t *testing.T) { function TestNewStyleAuthorizationConfig (line 747) | func TestNewStyleAuthorizationConfig(t *testing.T) { function TestNkeyUsersConfig (line 863) | func TestNkeyUsersConfig(t *testing.T) { function TestTlsPinnedCertificates (line 882) | func TestTlsPinnedCertificates(t *testing.T) { function TestNkeyUsersDefaultPermissionsConfig (line 968) | func TestNkeyUsersDefaultPermissionsConfig(t *testing.T) { function TestNkeyUsersWithPermsConfig (line 1070) | func TestNkeyUsersWithPermsConfig(t *testing.T) { function TestBadNkeyConfig (line 1113) | func TestBadNkeyConfig(t *testing.T) { function TestNkeyWithPassConfig (line 1128) | func TestNkeyWithPassConfig(t *testing.T) { function TestTokenWithUserPass (line 1145) | func TestTokenWithUserPass(t *testing.T) { function TestTokenWithUsers (line 1166) | func TestTokenWithUsers(t *testing.T) { function TestParseWriteDeadline (line 1188) | func TestParseWriteDeadline(t *testing.T) { function TestOptionsClone (line 1222) | func TestOptionsClone(t *testing.T) { function TestOptionsCloneNilLists (line 1282) | func TestOptionsCloneNilLists(t *testing.T) { function TestOptionsCloneNil (line 1295) | func TestOptionsCloneNil(t *testing.T) { function TestEmptyConfig (line 1303) | func TestEmptyConfig(t *testing.T) { function TestMalformedListenAddress (line 1315) | func TestMalformedListenAddress(t *testing.T) { function TestMalformedClusterAddress (line 1322) | func TestMalformedClusterAddress(t *testing.T) { function TestPanic (line 1329) | func TestPanic(t *testing.T) { function TestMaxClosedClients (line 1341) | func TestMaxClosedClients(t *testing.T) { function TestPingIntervalOld (line 1348) | func TestPingIntervalOld(t *testing.T) { function TestPingIntervalNew (line 1370) | func TestPingIntervalNew(t *testing.T) { function TestOptionsProcessConfigFile (line 1381) | func TestOptionsProcessConfigFile(t *testing.T) { function TestConfigureOptions (line 1410) | func TestConfigureOptions(t *testing.T) { function TestClusterPermissionsConfig (line 1600) | func TestClusterPermissionsConfig(t *testing.T) { function TestParseServiceLatency (line 1756) | func TestParseServiceLatency(t *testing.T) { function TestParseExport (line 1888) | func TestParseExport(t *testing.T) { function TestAccountUsersLoadedProperly (line 2014) | func TestAccountUsersLoadedProperly(t *testing.T) { function TestParsingGateways (line 2051) | func TestParsingGateways(t *testing.T) { function TestParsingGatewaysErrors (line 2136) | func TestParsingGatewaysErrors(t *testing.T) { function TestParsingLeafNodesListener (line 2354) | func TestParsingLeafNodesListener(t *testing.T) { function TestParsingLeafNodeRemotes (line 2401) | func TestParsingLeafNodeRemotes(t *testing.T) { function TestLargeMaxControlLine (line 2602) | func TestLargeMaxControlLine(t *testing.T) { function TestLargeMaxPayload (line 2611) | func TestLargeMaxPayload(t *testing.T) { function TestHandleUnknownTopLevelConfigurationField (line 2633) | func TestHandleUnknownTopLevelConfigurationField(t *testing.T) { function TestSublistNoCacheConfig (line 2673) | func TestSublistNoCacheConfig(t *testing.T) { function TestSublistNoCacheConfigOnAccounts (line 2686) | func TestSublistNoCacheConfigOnAccounts(t *testing.T) { function TestParsingResponsePermissions (line 2723) | func TestParsingResponsePermissions(t *testing.T) { function TestExpandPath (line 2809) | func TestExpandPath(t *testing.T) { function TestNoAuthUserCode (line 2904) | func TestNoAuthUserCode(t *testing.T) { constant operatorJwtWithSysAccAndUrlResolver (line 2971) | operatorJwtWithSysAccAndUrlResolver = ` function TestReadOperatorJWT (line 2976) | func TestReadOperatorJWT(t *testing.T) { constant operatorJwtList (line 2992) | operatorJwtList = ` function TestReadMultipleOperatorJWT (line 3001) | func TestReadMultipleOperatorJWT(t *testing.T) { constant operatorJwtWithSysAccAndMemResolver (line 3019) | operatorJwtWithSysAccAndMemResolver = ` function TestReadOperatorJWTSystemAccountMatch (line 3030) | func TestReadOperatorJWTSystemAccountMatch(t *testing.T) { function TestReadOperatorJWTSystemAccountMismatch (line 3045) | func TestReadOperatorJWTSystemAccountMismatch(t *testing.T) { function TestReadOperatorAssertVersion (line 3062) | func TestReadOperatorAssertVersion(t *testing.T) { function TestReadOperatorAssertVersionFail (line 3086) | func TestReadOperatorAssertVersionFail(t *testing.T) { function TestClusterNameAndGatewayNameConflict (line 3112) | func TestClusterNameAndGatewayNameConflict(t *testing.T) { function TestDefaultAuthTimeout (line 3135) | func TestDefaultAuthTimeout(t *testing.T) { function TestQueuePermissions (line 3169) | func TestQueuePermissions(t *testing.T) { function TestResolverPinnedAccountsFail (line 3236) | func TestResolverPinnedAccountsFail(t *testing.T) { function TestMaxSubTokens (line 3255) | func TestMaxSubTokens(t *testing.T) { function TestGetStorageSize (line 3288) | func TestGetStorageSize(t *testing.T) { function TestAuthorizationAndAccountsMisconfigurations (line 3317) | func TestAuthorizationAndAccountsMisconfigurations(t *testing.T) { function TestProcessConfigString (line 3408) | func TestProcessConfigString(t *testing.T) { function TestDefaultSentinel (line 3490) | func TestDefaultSentinel(t *testing.T) { function TestAuthorizationTimeoutConfigParsing (line 3505) | func TestAuthorizationTimeoutConfigParsing(t *testing.T) { function TestLeafnodeAuthorizationTimeoutConfigParsing (line 3618) | func TestLeafnodeAuthorizationTimeoutConfigParsing(t *testing.T) { function parseConfigTolerantly (line 3732) | func parseConfigTolerantly(t *testing.T, data string) (*Options, error) { function TestOptionsProxyTrustedKeys (line 3760) | func TestOptionsProxyTrustedKeys(t *testing.T) { function TestOptionsProxyRequired (line 3793) | func TestOptionsProxyRequired(t *testing.T) { function TestNewServerFromConfigFunctionality (line 3930) | func TestNewServerFromConfigFunctionality(t *testing.T) { function TestNewServerFromConfigVsLoadConfig (line 3967) | func TestNewServerFromConfigVsLoadConfig(t *testing.T) { function TestWriteDeadlineConfigParsing (line 4001) | func TestWriteDeadlineConfigParsing(t *testing.T) { function TestWriteTimeoutConfigParsing (line 4060) | func TestWriteTimeoutConfigParsing(t *testing.T) { function TestWebsocketPingIntervalConfig (line 4125) | func TestWebsocketPingIntervalConfig(t *testing.T) { function TestVarReferencesVar (line 4187) | func TestVarReferencesVar(t *testing.T) { function TestVarReferencesEnvVar (line 4204) | func TestVarReferencesEnvVar(t *testing.T) { function TestVarReferencesSelf (line 4224) | func TestVarReferencesSelf(t *testing.T) { function TestEnvVarReferencesVar (line 4235) | func TestEnvVarReferencesVar(t *testing.T) { function TestEnvVarReferencesEnvVar (line 4253) | func TestEnvVarReferencesEnvVar(t *testing.T) { function TestEnvVarReferencesSelf (line 4276) | func TestEnvVarReferencesSelf(t *testing.T) { function TestEnvVarReferencesSelfCycle (line 4293) | func TestEnvVarReferencesSelfCycle(t *testing.T) { function TestEnvVarInclude (line 4314) | func TestEnvVarInclude(t *testing.T) { function TestEnvVarFromIncludedFile (line 4330) | func TestEnvVarFromIncludedFile(t *testing.T) { FILE: server/parser.go type parserState (line 24) | type parserState type parseState (line 25) | type parseState struct method getHeader (line 1298) | func (ps *parseState) getHeader() http.Header { type pubArg (line 38) | type pubArg struct constant OP_START (line 59) | OP_START parserState = iota constant OP_PLUS (line 60) | OP_PLUS constant OP_PLUS_O (line 61) | OP_PLUS_O constant OP_PLUS_OK (line 62) | OP_PLUS_OK constant OP_MINUS (line 63) | OP_MINUS constant OP_MINUS_E (line 64) | OP_MINUS_E constant OP_MINUS_ER (line 65) | OP_MINUS_ER constant OP_MINUS_ERR (line 66) | OP_MINUS_ERR constant OP_MINUS_ERR_SPC (line 67) | OP_MINUS_ERR_SPC constant MINUS_ERR_ARG (line 68) | MINUS_ERR_ARG constant OP_C (line 69) | OP_C constant OP_CO (line 70) | OP_CO constant OP_CON (line 71) | OP_CON constant OP_CONN (line 72) | OP_CONN constant OP_CONNE (line 73) | OP_CONNE constant OP_CONNEC (line 74) | OP_CONNEC constant OP_CONNECT (line 75) | OP_CONNECT constant CONNECT_ARG (line 76) | CONNECT_ARG constant OP_H (line 77) | OP_H constant OP_HP (line 78) | OP_HP constant OP_HPU (line 79) | OP_HPU constant OP_HPUB (line 80) | OP_HPUB constant OP_HPUB_SPC (line 81) | OP_HPUB_SPC constant HPUB_ARG (line 82) | HPUB_ARG constant OP_HM (line 83) | OP_HM constant OP_HMS (line 84) | OP_HMS constant OP_HMSG (line 85) | OP_HMSG constant OP_HMSG_SPC (line 86) | OP_HMSG_SPC constant HMSG_ARG (line 87) | HMSG_ARG constant OP_P (line 88) | OP_P constant OP_PU (line 89) | OP_PU constant OP_PUB (line 90) | OP_PUB constant OP_PUB_SPC (line 91) | OP_PUB_SPC constant PUB_ARG (line 92) | PUB_ARG constant OP_PI (line 93) | OP_PI constant OP_PIN (line 94) | OP_PIN constant OP_PING (line 95) | OP_PING constant OP_PO (line 96) | OP_PO constant OP_PON (line 97) | OP_PON constant OP_PONG (line 98) | OP_PONG constant MSG_PAYLOAD (line 99) | MSG_PAYLOAD constant MSG_END_R (line 100) | MSG_END_R constant MSG_END_N (line 101) | MSG_END_N constant OP_S (line 102) | OP_S constant OP_SU (line 103) | OP_SU constant OP_SUB (line 104) | OP_SUB constant OP_SUB_SPC (line 105) | OP_SUB_SPC constant SUB_ARG (line 106) | SUB_ARG constant OP_A (line 107) | OP_A constant OP_ASUB (line 108) | OP_ASUB constant OP_ASUB_SPC (line 109) | OP_ASUB_SPC constant ASUB_ARG (line 110) | ASUB_ARG constant OP_AUSUB (line 111) | OP_AUSUB constant OP_AUSUB_SPC (line 112) | OP_AUSUB_SPC constant AUSUB_ARG (line 113) | AUSUB_ARG constant OP_L (line 114) | OP_L constant OP_LS (line 115) | OP_LS constant OP_R (line 116) | OP_R constant OP_RS (line 117) | OP_RS constant OP_U (line 118) | OP_U constant OP_UN (line 119) | OP_UN constant OP_UNS (line 120) | OP_UNS constant OP_UNSU (line 121) | OP_UNSU constant OP_UNSUB (line 122) | OP_UNSUB constant OP_UNSUB_SPC (line 123) | OP_UNSUB_SPC constant UNSUB_ARG (line 124) | UNSUB_ARG constant OP_M (line 125) | OP_M constant OP_MS (line 126) | OP_MS constant OP_MSG (line 127) | OP_MSG constant OP_MSG_SPC (line 128) | OP_MSG_SPC constant MSG_ARG (line 129) | MSG_ARG constant OP_I (line 130) | OP_I constant OP_IN (line 131) | OP_IN constant OP_INF (line 132) | OP_INF constant OP_INFO (line 133) | OP_INFO constant INFO_ARG (line 134) | INFO_ARG method parse (line 137) | func (c *client) parse(buf []byte) error { function protoSnippet (line 1237) | func protoSnippet(start, max int, buf []byte) string { method overMaxControlLineLimit (line 1252) | func (c *client) overMaxControlLineLimit(arg []byte, mcl int32) error { method clonePubArg (line 1268) | func (c *client) clonePubArg(lmsg bool) error { FILE: server/parser_fuzz_test.go function dummyFuzzClient (line 21) | func dummyFuzzClient(kind int) *client { function FuzzParser (line 54) | func FuzzParser(f *testing.F) { FILE: server/parser_test.go function dummyClient (line 21) | func dummyClient() *client { function dummyRouteClient (line 25) | func dummyRouteClient() *client { function TestParsePing (line 29) | func TestParsePing(t *testing.T) { function TestParsePong (line 77) | func TestParsePong(t *testing.T) { function TestParseConnect (line 146) | func TestParseConnect(t *testing.T) { function TestParseSub (line 159) | func TestParseSub(t *testing.T) { function TestParsePub (line 178) | func TestParsePub(t *testing.T) { function TestParsePubSizeOverflow (line 229) | func TestParsePubSizeOverflow(t *testing.T) { function TestParsePubArg (line 238) | func TestParsePubArg(t *testing.T) { function TestParsePubBadSize (line 301) | func TestParsePubBadSize(t *testing.T) { function TestParseHeaderPub (line 310) | func TestParseHeaderPub(t *testing.T) { function TestParseHeaderPubArg (line 381) | func TestParseHeaderPubArg(t *testing.T) { function TestParseRoutedHeaderMsg (line 449) | func TestParseRoutedHeaderMsg(t *testing.T) { function TestParseRouteMsg (line 567) | func TestParseRouteMsg(t *testing.T) { function TestParseMsgSpace (line 664) | func TestParseMsgSpace(t *testing.T) { function TestShouldFail (line 680) | func TestShouldFail(t *testing.T) { function TestProtoSnippet (line 715) | func TestProtoSnippet(t *testing.T) { function TestParseOK (line 787) | func TestParseOK(t *testing.T) { function TestMaxControlLine (line 815) | func TestMaxControlLine(t *testing.T) { FILE: server/ping_test.go constant PING_CLIENT_PORT (line 24) | PING_CLIENT_PORT = 11228 function TestPing (line 34) | func TestPing(t *testing.T) { FILE: server/proto.go function protoScanField (line 28) | func protoScanField(b []byte) (num, typ, size int, err error) { function protoScanTag (line 42) | func protoScanTag(b []byte) (num, typ, size int, err error) { function protoScanFieldValue (line 61) | func protoScanFieldValue(typ int, b []byte) (size int, err error) { function protoScanVarint (line 83) | func protoScanVarint(b []byte) (v uint64, size int, err error) { function protoScanBytes (line 185) | func protoScanBytes(b []byte) (size int, err error) { function protoEncodeVarint (line 196) | func protoEncodeVarint(v uint64) []byte { FILE: server/pse/pse_darwin.go type lastUsage (line 28) | type lastUsage struct function init (line 39) | func init() { function getUsage (line 45) | func getUsage() (now time.Time, cpu time.Duration, rss int64) { function updateUsage (line 56) | func updateUsage() (pcpu float64, rss int64) { function periodic (line 76) | func periodic() { function ProcUsage (line 83) | func ProcUsage(pcpu *float64, rss, vss *int64) error { FILE: server/pse/pse_dragonfly.go function ProcUsage (line 25) | func ProcUsage(pcpu *float64, rss, vss *int64) error { FILE: server/pse/pse_freebsd_cgo.go function ProcUsage (line 72) | func ProcUsage(pcpu *float64, rss, vss *int64) error { FILE: server/pse/pse_freebsd_sysctl.go function init (line 66) | func init() { function ProcUsage (line 98) | func ProcUsage(pcpu *float64, rss, vss *int64) error { FILE: server/pse/pse_linux.go constant utimePos (line 35) | utimePos = 13 constant stimePos (line 36) | stimePos = 14 constant startPos (line 37) | startPos = 21 constant vssPos (line 38) | vssPos = 22 constant rssPos (line 39) | rssPos = 23 function init (line 42) | func init() { function periodic (line 51) | func periodic() { function ProcUsage (line 91) | func ProcUsage(pcpu *float64, rss, vss *int64) error { constant asciiZero (line 111) | asciiZero = 48 constant asciiNine (line 112) | asciiNine = 57 function parseInt64 (line 117) | func parseInt64(d []byte) (n int64) { FILE: server/pse/pse_netbsd.go function ProcUsage (line 25) | func ProcUsage(pcpu *float64, rss, vss *int64) error { FILE: server/pse/pse_openbsd.go function ProcUsage (line 25) | func ProcUsage(pcpu *float64, rss, vss *int64) error { FILE: server/pse/pse_rumprun.go function ProcUsage (line 19) | func ProcUsage(pcpu *float64, rss, vss *int64) error { FILE: server/pse/pse_solaris.go function ProcUsage (line 28) | func ProcUsage(pcpu *float64, rss, vss *int64) error { FILE: server/pse/pse_test.go function TestPSEmulationCPU (line 25) | func TestPSEmulationCPU(t *testing.T) { function TestPSEmulationMem (line 57) | func TestPSEmulationMem(t *testing.T) { FILE: server/pse/pse_wasm.go function ProcUsage (line 19) | func ProcUsage(pcpu *float64, rss, vss *int64) error { FILE: server/pse/pse_windows.go function init (line 40) | func init() { constant maxQuerySize (line 70) | maxQuerySize = 512 type PDH_HQUERY (line 78) | type PDH_HQUERY type PDH_HCOUNTER (line 79) | type PDH_HCOUNTER constant PDH_FMT_DOUBLE (line 84) | PDH_FMT_DOUBLE = 0x00000200 constant PDH_INVALID_DATA (line 85) | PDH_INVALID_DATA = 0xC0000BC6 constant PDH_MORE_DATA (line 86) | PDH_MORE_DATA = 0x800007D2 type PDH_FMT_COUNTERVALUE_DOUBLE (line 90) | type PDH_FMT_COUNTERVALUE_DOUBLE struct type PDH_FMT_COUNTERVALUE_ITEM_DOUBLE (line 97) | type PDH_FMT_COUNTERVALUE_ITEM_DOUBLE struct function pdhAddCounter (line 102) | func pdhAddCounter(hQuery PDH_HQUERY, szFullCounterPath string, dwUserDa... function pdhOpenQuery (line 116) | func pdhOpenQuery(datasrc *uint16, userdata uint32, query *PDH_HQUERY) e... function pdhCollectQueryData (line 124) | func pdhCollectQueryData(hQuery PDH_HQUERY) error { function pdhGetFormattedCounterArrayDouble (line 134) | func pdhGetFormattedCounterArrayDouble(hCounter PDH_HCOUNTER, lpdwBuffer... function getCounterArrayData (line 145) | func getCounterArrayData(counter PDH_HCOUNTER) ([]float64, error) { function getProcessImageName (line 177) | func getProcessImageName() (name string) { function initCounters (line 184) | func initCounters() (err error) { function ProcUsage (line 225) | func ProcUsage(pcpu *float64, rss, vss *int64) error { FILE: server/pse/pse_windows_test.go function checkValues (line 27) | func checkValues(t *testing.T, pcpu, tPcpu float64, rss, tRss int64) { function TestPSEmulationWin (line 48) | func TestPSEmulationWin(t *testing.T) { FILE: server/pse/pse_zos.go function ProcUsage (line 19) | func ProcUsage(pcpu *float64, rss, vss *int64) error { FILE: server/raft.go type RaftNode (line 40) | type RaftNode interface type RaftNodeCheckpoint (line 99) | type RaftNodeCheckpoint interface type WAL (line 106) | type WAL interface type Peer (line 121) | type Peer struct type RaftState (line 128) | type RaftState method String (line 138) | func (state RaftState) String() string { constant Follower (line 132) | Follower RaftState = iota constant Leader (line 133) | Leader constant Candidate (line 134) | Candidate constant Closed (line 135) | Closed type raft (line 152) | type raft struct method checkAccountNRGStatus (line 634) | func (n *raft) checkAccountNRGStatus() bool { method IsSystemAccount (line 648) | func (n *raft) IsSystemAccount() bool { method GetTrafficAccountName (line 653) | func (n *raft) GetTrafficAccountName() string { method RecreateInternalSubs (line 659) | func (n *raft) RecreateInternalSubs() error { method recreateInternalSubsLocked (line 665) | func (n *raft) recreateInternalSubsLocked() error { method outOfResources (line 751) | func (n *raft) outOfResources() bool { method Propose (line 910) | func (n *raft) Propose(data []byte) error { method ProposeMulti (line 929) | func (n *raft) ProposeMulti(entries []*Entry) error { method ForwardProposal (line 950) | func (n *raft) ForwardProposal(entry []byte) error { method ProposeAddPeer (line 963) | func (n *raft) ProposeAddPeer(peer string) error { method ProposeRemovePeer (line 987) | func (n *raft) ProposeRemovePeer(peer string) error { method MembershipChangeInProgress (line 1022) | func (n *raft) MembershipChangeInProgress() bool { method ClusterSize (line 1030) | func (n *raft) ClusterSize() int { method AdjustBootClusterSize (line 1039) | func (n *raft) AdjustBootClusterSize(csz int) error { method AdjustClusterSize (line 1060) | func (n *raft) AdjustClusterSize(csz int) error { method PauseApply (line 1085) | func (n *raft) PauseApply() error { method pauseApplyLocked (line 1095) | func (n *raft) pauseApplyLocked() { method ResumeApply (line 1112) | func (n *raft) ResumeApply() { method DrainAndReplaySnapshot (line 1163) | func (n *raft) DrainAndReplaySnapshot() bool { method Applied (line 1184) | func (n *raft) Applied(index uint64) (entries uint64, bytes uint64) { method Processed (line 1194) | func (n *raft) Processed(index uint64, applied uint64) (entries uint64... method encodeSnapshot (line 1255) | func (n *raft) encodeSnapshot(snap *snapshot) []byte { method SendSnapshot (line 1285) | func (n *raft) SendSnapshot(data []byte) error { method InstallSnapshot (line 1296) | func (n *raft) InstallSnapshot(data []byte, force bool) error { method installSnapshot (line 1316) | func (n *raft) installSnapshot(snap *snapshot) error { method CreateSnapshotCheckpoint (line 1357) | func (n *raft) CreateSnapshotCheckpoint(force bool) (RaftNodeCheckpoin... method createSnapshotCheckpointLocked (line 1363) | func (n *raft) createSnapshotCheckpointLocked(force bool) (*checkpoint... method NeedSnapshot (line 1552) | func (n *raft) NeedSnapshot() bool { method setupLastSnapshot (line 1579) | func (n *raft) setupLastSnapshot() error { method loadLastSnapshot (line 1661) | func (n *raft) loadLastSnapshot() (*snapshot, error) { method Leader (line 1713) | func (n *raft) Leader() bool { method LeaderSince (line 1722) | func (n *raft) LeaderSince() *time.Time { method stepdown (line 1731) | func (n *raft) stepdown(newLeader string) { method stepdownLocked (line 1739) | func (n *raft) stepdownLocked(newLeader string) { method isCatchingUp (line 1745) | func (n *raft) isCatchingUp() bool { method isCurrent (line 1757) | func (n *raft) isCurrent(includeForwardProgress bool) bool { method Current (line 1841) | func (n *raft) Current() bool { method Healthy (line 1851) | func (n *raft) Healthy() bool { method HadPreviousLeader (line 1861) | func (n *raft) HadPreviousLeader() bool { method GroupLeader (line 1866) | func (n *raft) GroupLeader() string { method Leaderless (line 1877) | func (n *raft) Leaderless() bool { method selectNextLeader (line 1888) | func (n *raft) selectNextLeader() string { method StepDown (line 1901) | func (n *raft) StepDown(preferred ...string) error { method Campaign (line 1981) | func (n *raft) Campaign() error { method CampaignImmediately (line 1988) | func (n *raft) CampaignImmediately() error { method campaign (line 2003) | func (n *raft) campaign(et time.Duration) error { method xferCampaign (line 2014) | func (n *raft) xferCampaign() error { method State (line 2026) | func (n *raft) State() RaftState { method Progress (line 2031) | func (n *raft) Progress() (index, commit, applied uint64) { method Size (line 2038) | func (n *raft) Size() (entries uint64, bytes uint64) { method ID (line 2046) | func (n *raft) ID() string { method Group (line 2054) | func (n *raft) Group() string { method Peers (line 2059) | func (n *raft) Peers() []*Peer { method ProposeKnownPeers (line 2102) | func (n *raft) ProposeKnownPeers(knownPeers []string) { method UpdateKnownPeers (line 2114) | func (n *raft) UpdateKnownPeers(knownPeers []string) { method updateKnownPeersLocked (line 2120) | func (n *raft) updateKnownPeersLocked(knownPeers []string) { method ApplyQ (line 2128) | func (n *raft) ApplyQ() *ipQueue[*CommittedEntry] { return n.apply } method LeadChangeC (line 2132) | func (n *raft) LeadChangeC() <-chan bool { return n.leadc } method QuitC (line 2135) | func (n *raft) QuitC() <-chan struct{} { return n.quit } method Created (line 2137) | func (n *raft) Created() time.Time { method Stop (line 2142) | func (n *raft) Stop() { method WaitForStop (line 2146) | func (n *raft) WaitForStop() { method Delete (line 2152) | func (n *raft) Delete() { method IsDeleted (line 2167) | func (n *raft) IsDeleted() bool { method shutdown (line 2173) | func (n *raft) shutdown() { method newCatchupInbox (line 2194) | func (n *raft) newCatchupInbox() string { method newInbox (line 2204) | func (n *raft) newInbox() string { method subscribe (line 2216) | func (n *raft) subscribe(subject string, cb msgHandler) (*subscription... method unsubscribe (line 2224) | func (n *raft) unsubscribe(sub *subscription) { method createInternalSubs (line 2231) | func (n *raft) createInternalSubs() error { method resetElectionTimeout (line 2263) | func (n *raft) resetElectionTimeout() { method resetElectionTimeoutWithLock (line 2267) | func (n *raft) resetElectionTimeoutWithLock() { method resetElect (line 2272) | func (n *raft) resetElect(et time.Duration) { method resetElectWithLock (line 2287) | func (n *raft) resetElectWithLock(et time.Duration) { method run (line 2297) | func (n *raft) run() { method debug (line 2386) | func (n *raft) debug(format string, args ...any) { method warn (line 2393) | func (n *raft) warn(format string, args ...any) { method error (line 2398) | func (n *raft) error(format string, args ...any) { method electTimer (line 2403) | func (n *raft) electTimer() *time.Timer { method IsObserver (line 2409) | func (n *raft) IsObserver() bool { method SetObserver (line 2416) | func (n *raft) SetObserver(isObserver bool) { method setObserver (line 2420) | func (n *raft) setObserver(isObserver bool, extSt extensionState) { method setObserverLocked (line 2426) | func (n *raft) setObserverLocked(isObserver bool, extSt extensionState) { method processAppendEntries (line 2440) | func (n *raft) processAppendEntries() { method runAsFollower (line 2463) | func (n *raft) runAsFollower() { method handleForwardedRemovePeerProposal (line 2842) | func (n *raft) handleForwardedRemovePeerProposal(sub *subscription, c ... method handleForwardedProposal (line 2876) | func (n *raft) handleForwardedProposal(sub *subscription, c *client, _... method addPeer (line 2901) | func (n *raft) addPeer(peer string) { method removePeer (line 2925) | func (n *raft) removePeer(peer string) { method sendMembershipChange (line 2940) | func (n *raft) sendMembershipChange(e *Entry) bool { method runAsLeader (line 2973) | func (n *raft) runAsLeader() { method Quorum (line 3092) | func (n *raft) Quorum() bool { method lostQuorum (line 3107) | func (n *raft) lostQuorum() bool { method lostQuorumLocked (line 3113) | func (n *raft) lostQuorumLocked() bool { method notActive (line 3134) | func (n *raft) notActive() bool { method Term (line 3141) | func (n *raft) Term() uint64 { method loadFirstEntry (line 3148) | func (n *raft) loadFirstEntry() (ae *appendEntry, err error) { method runCatchup (line 3154) | func (n *raft) runCatchup(ar *appendEntryResponse, indexUpdatesQ *ipQu... method sendSnapshotToFollower (line 3261) | func (n *raft) sendSnapshotToFollower(subject string) (uint64, error) { method catchupFollower (line 3288) | func (n *raft) catchupFollower(ar *appendEntryResponse) { method loadEntry (line 3361) | func (n *raft) loadEntry(index uint64) (*appendEntry, error) { method applyCommit (line 3372) | func (n *raft) applyCommit(index uint64) error { method tryCommit (line 3490) | func (n *raft) tryCommit(index uint64) (bool, error) { method trackResponse (line 3515) | func (n *raft) trackResponse(ar *appendEntryResponse) bool { method adjustClusterSizeAndQuorum (line 3563) | func (n *raft) adjustClusterSizeAndQuorum() { method trackPeer (line 3588) | func (n *raft) trackPeer(peer string) error { method runAsCandidate (line 3616) | func (n *raft) runAsCandidate() { method handleAppendEntry (line 3703) | func (n *raft) handleAppendEntry(sub *subscription, c *client, _ *Acco... method cancelCatchup (line 3718) | func (n *raft) cancelCatchup() { method catchupStalled (line 3731) | func (n *raft) catchupStalled() bool { method createCatchup (line 3747) | func (n *raft) createCatchup(ae *appendEntry) string { method sendCatchupSignal (line 3767) | func (n *raft) sendCatchupSignal() { method cancelCatchupSignal (line 3777) | func (n *raft) cancelCatchupSignal() { method truncateWAL (line 3787) | func (n *raft) truncateWAL(term, index uint64) { method resetWAL (line 3848) | func (n *raft) resetWAL() { method updateLeader (line 3853) | func (n *raft) updateLeader(newLeader string) { method processAppendEntry (line 3889) | func (n *raft) processAppendEntry(ae *appendEntry, sub *subscription) { method resetInitializing (line 4285) | func (n *raft) resetInitializing() { method processPeerState (line 4296) | func (n *raft) processPeerState(ps *peerState) { method processAppendEntryResponse (line 4319) | func (n *raft) processAppendEntryResponse(ar *appendEntryResponse) { method handleAppendEntryResponse (line 4375) | func (n *raft) handleAppendEntryResponse(sub *subscription, c *client,... method buildAppendEntry (line 4381) | func (n *raft) buildAppendEntry(entries []*Entry) *appendEntry { method storeToWAL (line 4393) | func (n *raft) storeToWAL(ae *appendEntry) error { method sendAppendEntry (line 4437) | func (n *raft) sendAppendEntry(entries []*Entry) { method sendAppendEntryLocked (line 4445) | func (n *raft) sendAppendEntryLocked(entries []*Entry, checkLeader boo... method cachePendingEntry (line 4482) | func (n *raft) cachePendingEntry(ae *appendEntry) { method peerNames (line 4550) | func (n *raft) peerNames() []string { method currentPeerState (line 4560) | func (n *raft) currentPeerState() *peerState { method currentPeerStateLocked (line 4567) | func (n *raft) currentPeerStateLocked() *peerState { method sendPeerState (line 4573) | func (n *raft) sendPeerState() { method sendHeartbeat (line 4578) | func (n *raft) sendHeartbeat() { method writePeerState (line 4622) | func (n *raft) writePeerState(ps *peerState) { method readTermVote (line 4670) | func (n *raft) readTermVote() (term uint64, voted string, err error) { method setWriteErrLocked (line 4692) | func (n *raft) setWriteErrLocked(err error) { method isClosed (line 4735) | func (n *raft) isClosed() bool { method GetWriteErr (line 4740) | func (n *raft) GetWriteErr() error { method setWriteErr (line 4747) | func (n *raft) setWriteErr(err error) { method writeTermVote (line 4755) | func (n *raft) writeTermVote() { method handleVoteResponse (line 4811) | func (n *raft) handleVoteResponse(sub *subscription, c *client, _ *Acc... method processVoteRequest (line 4827) | func (n *raft) processVoteRequest(vr *voteRequest) error { method handleVoteRequest (line 4894) | func (n *raft) handleVoteRequest(sub *subscription, c *client, _ *Acco... method requestVote (line 4903) | func (n *raft) requestVote() { method sendRPC (line 4921) | func (n *raft) sendRPC(subject, reply string, msg []byte) { method sendReply (line 4927) | func (n *raft) sendReply(subject string, msg []byte) { method wonElection (line 4933) | func (n *raft) wonElection(votes int) bool { method quorumNeeded (line 4938) | func (n *raft) quorumNeeded() int { method updateLeadChange (line 4946) | func (n *raft) updateLeadChange(isLeader bool) { method switchState (line 4965) | func (n *raft) switchState(state RaftState) bool { method switchToFollower (line 5005) | func (n *raft) switchToFollower(leader string) { method switchToFollowerLocked (line 5012) | func (n *raft) switchToFollowerLocked(leader string) { method switchToCandidate (line 5032) | func (n *raft) switchToCandidate() { method switchToLeader (line 5064) | func (n *raft) switchToLeader() { type proposedEntry (line 254) | type proposedEntry struct method returnToPool (line 2622) | func (pe *proposedEntry) returnToPool() { type catchupState (line 261) | type catchupState struct type lps (line 272) | type lps struct constant minElectionTimeoutDefault (line 279) | minElectionTimeoutDefault = 4 * time.Second constant maxElectionTimeoutDefault (line 280) | maxElectionTimeoutDefault = 9 * time.Second constant minCampaignTimeoutDefault (line 281) | minCampaignTimeoutDefault = 100 * time.Millisecond constant maxCampaignTimeoutDefault (line 282) | maxCampaignTimeoutDefault = 8 * minCampaignTimeoutDefault constant hbIntervalDefault (line 283) | hbIntervalDefault = 1 * time.Second constant lostQuorumIntervalDefault (line 284) | lostQuorumIntervalDefault = hbIntervalDefault * 10 constant lostQuorumCheckIntervalDefault (line 285) | lostQuorumCheckIntervalDefault = hbIntervalDefault * 10 constant observerModeIntervalDefault (line 286) | observerModeIntervalDefault = 48 * time.Hour constant peerRemoveTimeoutDefault (line 287) | peerRemoveTimeoutDefault = 5 * time.Minute type RaftConfig (line 302) | type RaftConfig struct method bootstrapRaftNode (line 347) | func (s *Server) bootstrapRaftNode(cfg *RaftConfig, knownPeers []string,... method initRaftNode (line 411) | func (s *Server) initRaftNode(accName string, cfg *RaftConfig, labels pp... method startRaftNode (line 618) | func (s *Server) startRaftNode(accName string, cfg *RaftConfig, labels p... method serverNameForNode (line 760) | func (s *Server) serverNameForNode(node string) string { method clusterNameForNode (line 768) | func (s *Server) clusterNameForNode(node string) string { method registerRaftNode (line 777) | func (s *Server) registerRaftNode(group string, n RaftNode) { method unregisterRaftNode (line 787) | func (s *Server) unregisterRaftNode(group string) { method numRaftNodes (line 796) | func (s *Server) numRaftNodes() int { method lookupRaftNode (line 804) | func (s *Server) lookupRaftNode(group string) RaftNode { method reloadDebugRaftNodes (line 816) | func (s *Server) reloadDebugRaftNodes(debug bool) { method stepdownRaftNodes (line 832) | func (s *Server) stepdownRaftNodes() { method shutdownRaftNodes (line 857) | func (s *Server) shutdownRaftNodes() { method transferRaftLeaders (line 881) | func (s *Server) transferRaftLeaders() bool { type snapshot (line 1244) | type snapshot struct constant minSnapshotLen (line 1251) | minSnapshotLen = 28 type checkpoint (line 1415) | type checkpoint struct method LoadLastSnapshot (line 1425) | func (c *checkpoint) LoadLastSnapshot() ([]byte, error) { method AppendEntriesSeq (line 1444) | func (c *checkpoint) AppendEntriesSeq() iter.Seq2[*appendEntry, error] { method Abort (line 1468) | func (c *checkpoint) Abort() { method InstallSnapshot (line 1479) | func (c *checkpoint) InstallSnapshot(data []byte) (uint64, error) { constant snapshotsDir (line 1559) | snapshotsDir = "snapshots" constant snapFileT (line 1560) | snapFileT = "snap.%d.%d" function termAndIndexFromSnapFile (line 1565) | func termAndIndexFromSnapFile(sn string) (term, index uint64, err error) { function randCampaignTimeout (line 1996) | func randCampaignTimeout() time.Duration { constant raftAllSubj (line 2184) | raftAllSubj = "$NRG.>" constant raftVoteSubj (line 2185) | raftVoteSubj = "$NRG.V.%s" constant raftAppendSubj (line 2186) | raftAppendSubj = "$NRG.AE.%s" constant raftPropSubj (line 2187) | raftPropSubj = "$NRG.P.%s" constant raftRemovePeerSubj (line 2188) | raftRemovePeerSubj = "$NRG.RP.%s" constant raftReply (line 2189) | raftReply = "$NRG.R.%s" constant raftCatchupReply (line 2190) | raftCatchupReply = "$NRG.CR.%s" function randElectionTimeout (line 2257) | func randElectionTimeout() time.Duration { type CommittedEntry (line 2528) | type CommittedEntry struct method ReturnToPool (line 2543) | func (ce *CommittedEntry) ReturnToPool() { function newCommittedEntry (line 2535) | func newCommittedEntry(index uint64, entries []*Entry) *CommittedEntry { function newEntry (line 2565) | func newEntry(t EntryType, data []byte) *Entry { type appendEntry (line 2579) | type appendEntry struct method returnToPool (line 2602) | func (ae *appendEntry) returnToPool() { method String (line 2677) | func (ae *appendEntry) String() string { method encode (line 2684) | func (ae *appendEntry) encode(b []byte) ([]byte, error) { method shouldStore (line 4387) | func (ae *appendEntry) shouldStore() bool { function newAppendEntry (line 2594) | func newAppendEntry(leader string, term, commit, pterm, pindex uint64, e... function newProposedEntry (line 2615) | func newProposedEntry(entry *Entry, reply string) *proposedEntry { type EntryType (line 2627) | type EntryType method String (line 2643) | func (t EntryType) String() string { constant EntryNormal (line 2630) | EntryNormal EntryType = iota constant EntryOldSnapshot (line 2631) | EntryOldSnapshot constant EntryPeerState (line 2632) | EntryPeerState constant EntryAddPeer (line 2633) | EntryAddPeer constant EntryRemovePeer (line 2634) | EntryRemovePeer constant EntryLeaderTransfer (line 2635) | EntryLeaderTransfer constant EntrySnapshot (line 2636) | EntrySnapshot constant EntryCatchup (line 2640) | EntryCatchup type Entry (line 2663) | type Entry struct method ChangesMembership (line 2668) | func (e *Entry) ChangesMembership() bool { constant appendEntryBaseLen (line 2682) | appendEntryBaseLen = idLen + 4*8 + 2 function decodeAppendEntry (line 2736) | func decodeAppendEntry(msg []byte, sub *subscription, reply string) (*ap... constant idLen (line 2778) | idLen = 8 constant appendEntryResponseLen (line 2779) | appendEntryResponseLen = 24 + 1 type appendEntryResponse (line 2782) | type appendEntryResponse struct method encode (line 2799) | func (ar *appendEntryResponse) encode(b []byte) []byte { function newAppendEntryResponse (line 2791) | func newAppendEntryResponse(term, index uint64, peer string, success boo... function decodeAppendEntryResponse (line 2821) | func decodeAppendEntryResponse(msg []byte) *appendEntryResponse { constant paeDropThreshold (line 4432) | paeDropThreshold = 20_000 constant paeWarnThreshold (line 4433) | paeWarnThreshold = 10_000 constant paeWarnModulo (line 4434) | paeWarnModulo = 5_000 type extensionState (line 4495) | type extensionState constant extUndetermined (line 4498) | extUndetermined = extensionState(iota) constant extExtended (line 4499) | extExtended constant extNotExtended (line 4500) | extNotExtended type peerState (line 4503) | type peerState struct function peerStateBufSize (line 4509) | func peerStateBufSize(ps *peerState) int { function encodePeerState (line 4513) | func encodePeerState(ps *peerState) []byte { function decodePeerState (line 4527) | func decodePeerState(buf []byte) (*peerState, error) { type voteRequest (line 4582) | type voteRequest struct method encode (line 4593) | func (vr *voteRequest) encode() []byte { constant voteRequestLen (line 4591) | voteRequestLen = 24 + idLen function decodeVoteRequest (line 4604) | func decodeVoteRequest(msg []byte, reply string) *voteRequest { constant peerStateFile (line 4619) | peerStateFile = "peers.idx" function writePeerState (line 4636) | func writePeerState(sd string, ps *peerState) error { function readPeerState (line 4644) | func readPeerState(sd string) (ps *peerState, err error) { constant termVoteFile (line 4655) | termVoteFile = "tav.idx" constant termLen (line 4656) | termLen = 8 constant termVoteLen (line 4657) | termVoteLen = idLen + termLen function writeTermVote (line 4660) | func writeTermVote(sd string, wtv []byte) error { type voteResponse (line 4777) | type voteResponse struct method encode (line 4786) | func (vr *voteResponse) encode() []byte { constant voteResponseLen (line 4784) | voteResponseLen = 8 + 8 + 1 function decodeVoteResponse (line 4800) | func decodeVoteResponse(msg []byte) *voteResponse { constant noLeader (line 5001) | noLeader = _EMPTY_ constant noVote (line 5002) | noVote = _EMPTY_ FILE: server/raft_chain_of_blocks_helpers_test.go type RCOBStateMachine (line 51) | type RCOBStateMachine struct method waitGroup (line 67) | func (sm *RCOBStateMachine) waitGroup() *sync.WaitGroup { method logDebug (line 84) | func (sm *RCOBStateMachine) logDebug(format string, args ...any) { method server (line 90) | func (sm *RCOBStateMachine) server() *Server { method node (line 96) | func (sm *RCOBStateMachine) node() RaftNode { method propose (line 102) | func (sm *RCOBStateMachine) propose(data []byte) { method applyEntry (line 114) | func (sm *RCOBStateMachine) applyEntry(ce *CommittedEntry) { method leaderChange (line 139) | func (sm *RCOBStateMachine) leaderChange(isLeader bool) { method stop (line 157) | func (sm *RCOBStateMachine) stop() { method restart (line 174) | func (sm *RCOBStateMachine) restart() { method proposeBlock (line 203) | func (sm *RCOBStateMachine) proposeBlock() { method applyBlock (line 235) | func (sm *RCOBStateMachine) applyBlock(data []byte) { method getCurrentHash (line 260) | func (sm *RCOBStateMachine) getCurrentHash() (bool, uint64, string) { method createSnapshot (line 280) | func (sm *RCOBStateMachine) createSnapshot() { method loadSnapshot (line 330) | func (sm *RCOBStateMachine) loadSnapshot(data []byte) { type RCOBBlock (line 77) | type RCOBBlock struct type RCOBSnapshot (line 272) | type RCOBSnapshot struct function newRaftChainStateMachine (line 360) | func newRaftChainStateMachine(s *Server, cfg *RaftConfig, n RaftNode) st... FILE: server/raft_helpers_test.go type stateMachine (line 29) | type stateMachine interface type smFactory (line 46) | type smFactory type smGroup (line 48) | type smGroup method leader (line 51) | func (sg smGroup) leader() stateMachine { method followers (line 60) | func (sg smGroup) followers() []stateMachine { method waitOnLeader (line 72) | func (sg smGroup) waitOnLeader() stateMachine { method randomMember (line 86) | func (sg smGroup) randomMember() stateMachine { method nonLeader (line 91) | func (sg smGroup) nonLeader() stateMachine { method lockAll (line 101) | func (sg smGroup) lockAll() { method unlockAll (line 108) | func (sg smGroup) unlockAll() { method lockFollowers (line 115) | func (sg smGroup) lockFollowers() []stateMachine { method waitOnTotal (line 400) | func (rg smGroup) waitOnTotal(t *testing.T, expected int64) { method createRaftGroup (line 128) | func (c *cluster) createRaftGroup(name string, numMembers int, smf smFac... method createMemRaftGroup (line 132) | func (c *cluster) createMemRaftGroup(name string, numMembers int, smf sm... method createRaftGroupEx (line 136) | func (c *cluster) createRaftGroupEx(name string, numMembers int, smf smF... method createWAL (line 146) | func (c *cluster) createWAL(name string, st StorageType) WAL { function serverPeerNames (line 170) | func serverPeerNames(servers []*Server) []string { method createStateMachine (line 183) | func (c *cluster) createStateMachine(s *Server, cfg *RaftConfig, peers [... method createRaftGroupWithPeers (line 192) | func (c *cluster) createRaftGroupWithPeers(name string, servers []*Serve... method addNodeEx (line 208) | func (c *cluster) addNodeEx(name string, smf smFactory, st StorageType) ... method addRaftNode (line 222) | func (c *cluster) addRaftNode(name string, smf smFactory) stateMachine { method addMemRaftNode (line 226) | func (c *cluster) addMemRaftNode(name string, smf smFactory) stateMachine { function smLoop (line 232) | func smLoop(sm stateMachine) { type stateAdder (line 261) | type stateAdder struct method server (line 272) | func (a *stateAdder) server() *Server { method node (line 278) | func (a *stateAdder) node() RaftNode { method waitGroup (line 284) | func (a *stateAdder) waitGroup() *sync.WaitGroup { method propose (line 290) | func (a *stateAdder) propose(data []byte) { method applyEntry (line 296) | func (a *stateAdder) applyEntry(ce *CommittedEntry) { method leaderChange (line 318) | func (a *stateAdder) leaderChange(isLeader bool) { method proposeDelta (line 326) | func (a *stateAdder) proposeDelta(delta int64) { method stop (line 333) | func (a *stateAdder) stop() { method restart (line 341) | func (a *stateAdder) restart() { method total (line 379) | func (a *stateAdder) total() int64 { method snapshot (line 386) | func (a *stateAdder) snapshot(t *testing.T) { function newStateAdder (line 419) | func newStateAdder(s *Server, cfg *RaftConfig, n RaftNode) stateMachine { function initSingleMemRaftNode (line 423) | func initSingleMemRaftNode(t *testing.T) (*raft, func()) { function initSingleMemRaftNodeWithCluster (line 432) | func initSingleMemRaftNodeWithCluster(t *testing.T) (*raft, *cluster) { function encode (line 453) | func encode(t *testing.T, ae *appendEntry) *appendEntry { FILE: server/raft_test.go function TestNRGSimple (line 35) | func TestNRGSimple(t *testing.T) { function TestNRGSnapshotAndRestart (line 49) | func TestNRGSnapshotAndRestart(t *testing.T) { function TestNRGAppendEntryEncode (line 82) | func TestNRGAppendEntryEncode(t *testing.T) { function TestNRGAppendEntryDecode (line 125) | func TestNRGAppendEntryDecode(t *testing.T) { function TestNRGRecoverFromFollowingNoLeader (line 154) | func TestNRGRecoverFromFollowingNoLeader(t *testing.T) { function TestNRGInlineStepdown (line 194) | func TestNRGInlineStepdown(t *testing.T) { function TestNRGObserverMode (line 209) | func TestNRGObserverMode(t *testing.T) { function TestNRGAEFromOldLeader (line 245) | func TestNRGAEFromOldLeader(t *testing.T) { function TestNRGSimpleElection (line 296) | func TestNRGSimpleElection(t *testing.T) { function TestNRGLeaderTransfer (line 377) | func TestNRGLeaderTransfer(t *testing.T) { function TestNRGSwitchStateClearsQueues (line 422) | func TestNRGSwitchStateClearsQueues(t *testing.T) { function TestNRGStepDownOnSameTermDoesntClearVote (line 447) | func TestNRGStepDownOnSameTermDoesntClearVote(t *testing.T) { function TestNRGUnsuccessfulVoteRequestDoesntResetElectionTimer (line 506) | func TestNRGUnsuccessfulVoteRequestDoesntResetElectionTimer(t *testing.T) { function TestNRGUnsuccessfulVoteRequestCampaignEarly (line 587) | func TestNRGUnsuccessfulVoteRequestCampaignEarly(t *testing.T) { function TestNRGInvalidTAVDoesntPanic (line 641) | func TestNRGInvalidTAVDoesntPanic(t *testing.T) { function TestNRGAssumeHighTermAfterCandidateIsolation (line 662) | func TestNRGAssumeHighTermAfterCandidateIsolation(t *testing.T) { function TestNRGHeartbeatOnLeaderChange (line 708) | func TestNRGHeartbeatOnLeaderChange(t *testing.T) { function TestNRGElectionTimerAfterObserver (line 729) | func TestNRGElectionTimerAfterObserver(t *testing.T) { function TestNRGSystemClientCleanupFromAccount (line 758) | func TestNRGSystemClientCleanupFromAccount(t *testing.T) { function TestNRGCandidateDoesntRevertTermAfterOldAE (line 792) | func TestNRGCandidateDoesntRevertTermAfterOldAE(t *testing.T) { function TestNRGTermDoesntRollBackToPtermOnCatchup (line 831) | func TestNRGTermDoesntRollBackToPtermOnCatchup(t *testing.T) { function TestNRGNoResetOnAppendEntryResponse (line 912) | func TestNRGNoResetOnAppendEntryResponse(t *testing.T) { function TestNRGCandidateDontStepdownDueToLeaderOfPreviousTerm (line 972) | func TestNRGCandidateDontStepdownDueToLeaderOfPreviousTerm(t *testing.T) { function TestNRGRemoveLeaderPeerDeadlockBug (line 1040) | func TestNRGRemoveLeaderPeerDeadlockBug(t *testing.T) { function TestNRGWALEntryWithoutQuorumMustTruncate (line 1063) | func TestNRGWALEntryWithoutQuorumMustTruncate(t *testing.T) { function TestNRGTermNoDecreaseAfterWALReset (line 1156) | func TestNRGTermNoDecreaseAfterWALReset(t *testing.T) { function TestNRGPendingAppendEntryCacheInvalidation (line 1199) | func TestNRGPendingAppendEntryCacheInvalidation(t *testing.T) { function TestNRGCatchupDoesNotTruncateUncommittedEntriesWithQuorum (line 1236) | func TestNRGCatchupDoesNotTruncateUncommittedEntriesWithQuorum(t *testin... function TestNRGCatchupCanTruncateMultipleEntriesWithoutQuorum (line 1317) | func TestNRGCatchupCanTruncateMultipleEntriesWithoutQuorum(t *testing.T) { function TestNRGCatchupDoesNotTruncateCommittedEntriesDuringRedelivery (line 1416) | func TestNRGCatchupDoesNotTruncateCommittedEntriesDuringRedelivery(t *te... function TestNRGCatchupFromNewLeaderWithIncorrectPterm (line 1467) | func TestNRGCatchupFromNewLeaderWithIncorrectPterm(t *testing.T) { function TestNRGDontRemoveSnapshotIfTruncateToApplied (line 1513) | func TestNRGDontRemoveSnapshotIfTruncateToApplied(t *testing.T) { function TestNRGSnapshotAndTruncateToApplied (line 1559) | func TestNRGSnapshotAndTruncateToApplied(t *testing.T) { function TestNRGIgnoreDoubleSnapshot (line 1645) | func TestNRGIgnoreDoubleSnapshot(t *testing.T) { function TestNRGDontSwitchToCandidateWithInflightSnapshot (line 1696) | func TestNRGDontSwitchToCandidateWithInflightSnapshot(t *testing.T) { function TestNRGDontSwitchToCandidateWithMultipleInflightSnapshots (line 1735) | func TestNRGDontSwitchToCandidateWithMultipleInflightSnapshots(t *testin... function TestNRGRecoverPindexPtermOnlyIfLogNotEmpty (line 1782) | func TestNRGRecoverPindexPtermOnlyIfLogNotEmpty(t *testing.T) { function TestNRGCancelCatchupWhenDetectingHigherTermDuringVoteRequest (line 1814) | func TestNRGCancelCatchupWhenDetectingHigherTermDuringVoteRequest(t *tes... function TestNRGMultipleStopsDontPanic (line 1847) | func TestNRGMultipleStopsDontPanic(t *testing.T) { function TestNRGTruncateDownToCommitted (line 1861) | func TestNRGTruncateDownToCommitted(t *testing.T) { type mockWALTruncateAlwaysFails (line 1910) | type mockWALTruncateAlwaysFails struct method Truncate (line 1914) | func (m mockWALTruncateAlwaysFails) Truncate(seq uint64) error { function TestNRGTruncateDownToCommittedWhenTruncateFails (line 1918) | func TestNRGTruncateDownToCommittedWhenTruncateFails(t *testing.T) { function TestNRGForwardProposalResponse (line 1965) | func TestNRGForwardProposalResponse(t *testing.T) { function TestNRGMemoryWALEmptiesSnapshotsDir (line 1987) | func TestNRGMemoryWALEmptiesSnapshotsDir(t *testing.T) { function TestNRGHealthCheckWaitForCatchup (line 2032) | func TestNRGHealthCheckWaitForCatchup(t *testing.T) { function TestNRGHealthCheckWaitForDoubleCatchup (line 2095) | func TestNRGHealthCheckWaitForDoubleCatchup(t *testing.T) { function TestNRGHealthCheckWaitForPendingCommitsWhenPaused (line 2181) | func TestNRGHealthCheckWaitForPendingCommitsWhenPaused(t *testing.T) { function TestNRGAppendEntryCanEstablishQuorumAfterLeaderChange (line 2234) | func TestNRGAppendEntryCanEstablishQuorumAfterLeaderChange(t *testing.T) { function TestNRGQuorumAccounting (line 2273) | func TestNRGQuorumAccounting(t *testing.T) { function TestNRGRevalidateQuorumAfterLeaderChange (line 2308) | func TestNRGRevalidateQuorumAfterLeaderChange(t *testing.T) { function TestNRGSignalLeadChangeFalseIfCampaignImmediately (line 2359) | func TestNRGSignalLeadChangeFalseIfCampaignImmediately(t *testing.T) { function TestNRGCatchupDontCountTowardQuorum (line 2420) | func TestNRGCatchupDontCountTowardQuorum(t *testing.T) { function TestNRGIgnoreTrackResponseWhenNotLeader (line 2481) | func TestNRGIgnoreTrackResponseWhenNotLeader(t *testing.T) { function TestNRGRejectNewAppendEntryFromPreviousLeader (line 2511) | func TestNRGRejectNewAppendEntryFromPreviousLeader(t *testing.T) { function TestNRGRejectAppendEntryDuringCatchupFromPreviousLeader (line 2540) | func TestNRGRejectAppendEntryDuringCatchupFromPreviousLeader(t *testing.... function TestNRGDontRejectAppendEntryFromReplay (line 2615) | func TestNRGDontRejectAppendEntryFromReplay(t *testing.T) { function TestNRGSimpleCatchup (line 2669) | func TestNRGSimpleCatchup(t *testing.T) { function TestNRGSnapshotCatchup (line 2710) | func TestNRGSnapshotCatchup(t *testing.T) { function TestNRGSnapshotRecovery (line 2792) | func TestNRGSnapshotRecovery(t *testing.T) { function TestNRGKeepRunningOnServerShutdown (line 2827) | func TestNRGKeepRunningOnServerShutdown(t *testing.T) { function TestNRGVoteResponseEncoding (line 2856) | func TestNRGVoteResponseEncoding(t *testing.T) { function TestNRGInitializeAndScaleUp (line 2879) | func TestNRGInitializeAndScaleUp(t *testing.T) { function TestNRGReplayOnSnapshotSameTerm (line 2977) | func TestNRGReplayOnSnapshotSameTerm(t *testing.T) { function TestNRGReplayOnSnapshotDifferentTerm (line 3021) | func TestNRGReplayOnSnapshotDifferentTerm(t *testing.T) { function TestNRGSizeAndApplied (line 3074) | func TestNRGSizeAndApplied(t *testing.T) { function TestNRGIgnoreEntryAfterCanceledCatchup (line 3140) | func TestNRGIgnoreEntryAfterCanceledCatchup(t *testing.T) { function TestNRGDelayedMessagesAfterCatchupDontCountTowardQuorum (line 3164) | func TestNRGDelayedMessagesAfterCatchupDontCountTowardQuorum(t *testing.... function TestNRGStepdownWithHighestTermDuringCatchup (line 3226) | func TestNRGStepdownWithHighestTermDuringCatchup(t *testing.T) { function TestNRGTruncateOnStartup (line 3252) | func TestNRGTruncateOnStartup(t *testing.T) { function TestNRGLeaderCatchupHandling (line 3347) | func TestNRGLeaderCatchupHandling(t *testing.T) { function TestNRGNewEntriesFromOldLeaderResetsWALDuringCatchup (line 3396) | func TestNRGNewEntriesFromOldLeaderResetsWALDuringCatchup(t *testing.T) { function TestNRGProcessed (line 3472) | func TestNRGProcessed(t *testing.T) { function TestNRGSendAppendEntryNotLeader (line 3535) | func TestNRGSendAppendEntryNotLeader(t *testing.T) { function TestNRGDrainAndReplaySnapshot (line 3561) | func TestNRGDrainAndReplaySnapshot(t *testing.T) { function TestNRGTrackPeerActive (line 3646) | func TestNRGTrackPeerActive(t *testing.T) { function TestNRGLostQuorum (line 3688) | func TestNRGLostQuorum(t *testing.T) { function TestNRGParallelCatchupRollback (line 3736) | func TestNRGParallelCatchupRollback(t *testing.T) { function TestNRGReportLeaderAfterNoopEntry (line 3793) | func TestNRGReportLeaderAfterNoopEntry(t *testing.T) { function TestNRGSendSnapshotInstallsSnapshot (line 3822) | func TestNRGSendSnapshotInstallsSnapshot(t *testing.T) { function TestNRGQuorumAfterLeaderStepdown (line 3869) | func TestNRGQuorumAfterLeaderStepdown(t *testing.T) { function TestNRGNoLogResetOnCorruptedSendToFollower (line 3935) | func TestNRGNoLogResetOnCorruptedSendToFollower(t *testing.T) { function TestNRGTruncateLogWithMisalignedSnapshotGap (line 3982) | func TestNRGTruncateLogWithMisalignedSnapshotGap(t *testing.T) { function TestNRGTruncateLogWithMissingSnapshot (line 4059) | func TestNRGTruncateLogWithMissingSnapshot(t *testing.T) { function TestNRGChainOfBlocksRunInLockstep (line 4126) | func TestNRGChainOfBlocksRunInLockstep(t *testing.T) { function TestNRGChainOfBlocksStopAndCatchUp (line 4227) | func TestNRGChainOfBlocksStopAndCatchUp(t *testing.T) { function TestNRGProposeRemovePeer (line 4367) | func TestNRGProposeRemovePeer(t *testing.T) { function TestNRGProposeRemovePeerConcurrent (line 4393) | func TestNRGProposeRemovePeerConcurrent(t *testing.T) { function TestNRGUncommittedMembershipChangeOnNewLeader (line 4439) | func TestNRGUncommittedMembershipChangeOnNewLeader(t *testing.T) { function TestNRGUncommittedMembershipChangeGetsTruncated (line 4467) | func TestNRGUncommittedMembershipChangeGetsTruncated(t *testing.T) { function TestNRGUncommittedMembershipChangeOnNewLeaderForwardedRemovePeerProposal (line 4497) | func TestNRGUncommittedMembershipChangeOnNewLeaderForwardedRemovePeerPro... function TestNRGIgnoreForwardedProposalIfNotCaughtUpLeader (line 4554) | func TestNRGIgnoreForwardedProposalIfNotCaughtUpLeader(t *testing.T) { function TestNRGProposeRemovePeerQuorum (line 4601) | func TestNRGProposeRemovePeerQuorum(t *testing.T) { function TestNRGProposeRemovePeerLeader (line 4641) | func TestNRGProposeRemovePeerLeader(t *testing.T) { function TestNRGProposeRemovePeerAll (line 4689) | func TestNRGProposeRemovePeerAll(t *testing.T) { function TestNRGLeaderResurrectsRemovedPeers (line 4722) | func TestNRGLeaderResurrectsRemovedPeers(t *testing.T) { function TestNRGAddPeers (line 4754) | func TestNRGAddPeers(t *testing.T) { function TestNRGDisjointMajorities (line 4777) | func TestNRGDisjointMajorities(t *testing.T) { function TestNRGAppendEntryResurrectsLeader (line 4831) | func TestNRGAppendEntryResurrectsLeader(t *testing.T) { function TestNRGSingleNodeElection (line 4868) | func TestNRGSingleNodeElection(t *testing.T) { function TestNRGMustNotResetVoteOnStepDownOrLeaderTransfer (line 4924) | func TestNRGMustNotResetVoteOnStepDownOrLeaderTransfer(t *testing.T) { function TestNRGInstallSnapshotFromCheckpoint (line 4949) | func TestNRGInstallSnapshotFromCheckpoint(t *testing.T) { function TestNRGInstallSnapshotForce (line 5104) | func TestNRGInstallSnapshotForce(t *testing.T) { function TestNRGInstallSnapshotFromCheckpointAfterTruncateToSnapshot (line 5138) | func TestNRGInstallSnapshotFromCheckpointAfterTruncateToSnapshot(t *test... function TestNRGSwitchToCandidateResetsVote (line 5223) | func TestNRGSwitchToCandidateResetsVote(t *testing.T) { function TestNRGInitSingleMemRaftNodeDefaults (line 5244) | func TestNRGInitSingleMemRaftNodeDefaults(t *testing.T) { function TestNRGReplayAddPeerKeepsClusterSize (line 5254) | func TestNRGReplayAddPeerKeepsClusterSize(t *testing.T) { function TestNRGTrackPeerLag (line 5331) | func TestNRGTrackPeerLag(t *testing.T) { function TestNRGPeersResponse (line 5396) | func TestNRGPeersResponse(t *testing.T) { function TestNRGOnlyCommitIfCurrentTerm (line 5467) | func TestNRGOnlyCommitIfCurrentTerm(t *testing.T) { FILE: server/rate_counter.go type rateCounter (line 21) | type rateCounter struct method allow (line 37) | func (r *rateCounter) allow() bool { method countBlocked (line 58) | func (r *rateCounter) countBlocked() uint64 { function newRateCounter (line 30) | func newRateCounter(limit int64) *rateCounter { FILE: server/rate_counter_test.go function TestRateCounter (line 21) | func TestRateCounter(t *testing.T) { FILE: server/reload.go type reloadContext (line 38) | type reloadContext struct type option (line 43) | type option interface type noopOption (line 77) | type noopOption struct method IsLoggingChange (line 79) | func (n noopOption) IsLoggingChange() bool { method IsTraceLevelChange (line 83) | func (n noopOption) IsTraceLevelChange() bool { method IsAuthChange (line 87) | func (n noopOption) IsAuthChange() bool { method IsTLSChange (line 91) | func (n noopOption) IsTLSChange() bool { method IsClusterPermsChange (line 95) | func (n noopOption) IsClusterPermsChange() bool { method IsClusterPoolSizeOrAccountsChange (line 99) | func (n noopOption) IsClusterPoolSizeOrAccountsChange() bool { method IsJetStreamChange (line 103) | func (n noopOption) IsJetStreamChange() bool { method IsStatszChange (line 107) | func (n noopOption) IsStatszChange() bool { type loggingOption (line 113) | type loggingOption struct method IsLoggingChange (line 117) | func (l loggingOption) IsLoggingChange() bool { type traceLevelOption (line 123) | type traceLevelOption struct method IsTraceLevelChange (line 127) | func (l traceLevelOption) IsTraceLevelChange() bool { type traceOption (line 132) | type traceOption struct method Apply (line 138) | func (t *traceOption) Apply(server *Server) { type traceVerboseOption (line 143) | type traceVerboseOption struct method Apply (line 149) | func (t *traceVerboseOption) Apply(server *Server) { type traceHeadersOption (line 154) | type traceHeadersOption struct method Apply (line 160) | func (t *traceHeadersOption) Apply(server *Server) { type debugOption (line 165) | type debugOption struct method Apply (line 172) | func (d *debugOption) Apply(server *Server) { type logtimeOption (line 178) | type logtimeOption struct method Apply (line 184) | func (l *logtimeOption) Apply(server *Server) { type logtimeUTCOption (line 189) | type logtimeUTCOption struct method Apply (line 195) | func (l *logtimeUTCOption) Apply(server *Server) { type logfileOption (line 200) | type logfileOption struct method Apply (line 206) | func (l *logfileOption) Apply(server *Server) { type syslogOption (line 211) | type syslogOption struct method Apply (line 217) | func (s *syslogOption) Apply(server *Server) { type remoteSyslogOption (line 223) | type remoteSyslogOption struct method Apply (line 229) | func (r *remoteSyslogOption) Apply(server *Server) { type tlsOption (line 234) | type tlsOption struct method Apply (line 240) | func (t *tlsOption) Apply(server *Server) { method IsTLSChange (line 253) | func (t *tlsOption) IsTLSChange() bool { type tlsTimeoutOption (line 259) | type tlsTimeoutOption struct method Apply (line 266) | func (t *tlsTimeoutOption) Apply(server *Server) { type tlsPinnedCertOption (line 271) | type tlsPinnedCertOption struct method Apply (line 277) | func (t *tlsPinnedCertOption) Apply(server *Server) { type tlsHandshakeFirst (line 282) | type tlsHandshakeFirst struct method Apply (line 288) | func (t *tlsHandshakeFirst) Apply(server *Server) { type tlsHandshakeFirstFallback (line 293) | type tlsHandshakeFirstFallback struct method Apply (line 299) | func (t *tlsHandshakeFirstFallback) Apply(server *Server) { type authOption (line 304) | type authOption struct method IsAuthChange (line 308) | func (o authOption) IsAuthChange() bool { type usernameOption (line 313) | type usernameOption struct method Apply (line 319) | func (u *usernameOption) Apply(server *Server) { type passwordOption (line 324) | type passwordOption struct method Apply (line 330) | func (p *passwordOption) Apply(server *Server) { type authorizationOption (line 336) | type authorizationOption struct method Apply (line 342) | func (a *authorizationOption) Apply(server *Server) { type authTimeoutOption (line 348) | type authTimeoutOption struct method Apply (line 355) | func (a *authTimeoutOption) Apply(server *Server) { type tagsOption (line 360) | type tagsOption struct method Apply (line 364) | func (u *tagsOption) Apply(server *Server) { method IsStatszChange (line 368) | func (u *tagsOption) IsStatszChange() bool { type metadataOption (line 373) | type metadataOption struct method Apply (line 377) | func (u *metadataOption) Apply(server *Server) { method IsStatszChange (line 381) | func (u *metadataOption) IsStatszChange() bool { type usersOption (line 387) | type usersOption struct method Apply (line 391) | func (u *usersOption) Apply(server *Server) { type nkeysOption (line 397) | type nkeysOption struct method Apply (line 401) | func (u *nkeysOption) Apply(server *Server) { type clusterOption (line 406) | type clusterOption struct method Apply (line 417) | func (c *clusterOption) Apply(s *Server) { method IsClusterPermsChange (line 476) | func (c *clusterOption) IsClusterPermsChange() bool { method IsClusterPoolSizeOrAccountsChange (line 480) | func (c *clusterOption) IsClusterPoolSizeOrAccountsChange() bool { method diffPoolAndAccounts (line 484) | func (c *clusterOption) diffPoolAndAccounts(old *ClusterOpts) { type routesOption (line 508) | type routesOption struct method Apply (line 515) | func (r *routesOption) Apply(server *Server) { type maxConnOption (line 558) | type maxConnOption struct method Apply (line 565) | func (m *maxConnOption) Apply(server *Server) { type pidFileOption (line 596) | type pidFileOption struct method Apply (line 602) | func (p *pidFileOption) Apply(server *Server) { type portsFileDirOption (line 613) | type portsFileDirOption struct method Apply (line 619) | func (p *portsFileDirOption) Apply(server *Server) { type maxControlLineOption (line 627) | type maxControlLineOption struct method Apply (line 633) | func (m *maxControlLineOption) Apply(server *Server) { type maxPayloadOption (line 645) | type maxPayloadOption struct method Apply (line 651) | func (m *maxPayloadOption) Apply(server *Server) { type pingIntervalOption (line 663) | type pingIntervalOption struct method Apply (line 670) | func (p *pingIntervalOption) Apply(server *Server) { type maxPingsOutOption (line 676) | type maxPingsOutOption struct method Apply (line 683) | func (m *maxPingsOutOption) Apply(server *Server) { type writeDeadlineOption (line 689) | type writeDeadlineOption struct method Apply (line 696) | func (w *writeDeadlineOption) Apply(server *Server) { type clientAdvertiseOption (line 701) | type clientAdvertiseOption struct method Apply (line 707) | func (c *clientAdvertiseOption) Apply(server *Server) { type accountsOption (line 716) | type accountsOption struct method Apply (line 721) | func (a *accountsOption) Apply(s *Server) { type jetStreamOption (line 726) | type jetStreamOption struct method Apply (line 731) | func (a *jetStreamOption) Apply(s *Server) { method IsJetStreamChange (line 735) | func (jso jetStreamOption) IsJetStreamChange() bool { method IsStatszChange (line 739) | func (jso jetStreamOption) IsStatszChange() bool { type defaultSentinelOption (line 743) | type defaultSentinelOption struct method Apply (line 748) | func (so *defaultSentinelOption) Apply(s *Server) { type ocspOption (line 752) | type ocspOption struct method Apply (line 757) | func (a *ocspOption) Apply(s *Server) { type ocspResponseCacheOption (line 761) | type ocspResponseCacheOption struct method Apply (line 766) | func (a *ocspResponseCacheOption) Apply(s *Server) { type connectErrorReports (line 772) | type connectErrorReports struct method Apply (line 778) | func (c *connectErrorReports) Apply(s *Server) { type reconnectErrorReports (line 784) | type reconnectErrorReports struct method Apply (line 790) | func (r *reconnectErrorReports) Apply(s *Server) { type maxTracedMsgLenOption (line 795) | type maxTracedMsgLenOption struct method Apply (line 801) | func (m *maxTracedMsgLenOption) Apply(server *Server) { type mqttAckWaitReload (line 808) | type mqttAckWaitReload struct method Apply (line 813) | func (o *mqttAckWaitReload) Apply(s *Server) { type mqttMaxAckPendingReload (line 817) | type mqttMaxAckPendingReload struct method Apply (line 822) | func (o *mqttMaxAckPendingReload) Apply(s *Server) { type mqttStreamReplicasReload (line 827) | type mqttStreamReplicasReload struct method Apply (line 832) | func (o *mqttStreamReplicasReload) Apply(s *Server) { type mqttConsumerReplicasReload (line 836) | type mqttConsumerReplicasReload struct method Apply (line 841) | func (o *mqttConsumerReplicasReload) Apply(s *Server) { type mqttConsumerMemoryStorageReload (line 845) | type mqttConsumerMemoryStorageReload struct method Apply (line 850) | func (o *mqttConsumerMemoryStorageReload) Apply(s *Server) { type mqttInactiveThresholdReload (line 854) | type mqttInactiveThresholdReload struct method Apply (line 859) | func (o *mqttInactiveThresholdReload) Apply(s *Server) { type profBlockRateReload (line 863) | type profBlockRateReload struct method Apply (line 868) | func (o *profBlockRateReload) Apply(s *Server) { type leafNodeOption (line 873) | type leafNodeOption struct method Apply (line 880) | func (l *leafNodeOption) Apply(s *Server) { type noFastProdStallReload (line 980) | type noFastProdStallReload struct method Apply (line 985) | func (l *noFastProdStallReload) Apply(s *Server) { method recheckPinnedCerts (line 994) | func (s *Server) recheckPinnedCerts(curOpts *Options, newOpts *Options) { type proxiesReload (line 1054) | type proxiesReload struct method Apply (line 1060) | func (p *proxiesReload) Apply(s *Server) { method Reload (line 1089) | func (s *Server) Reload() error { method ReloadOptions (line 1110) | func (s *Server) ReloadOptions(newOpts *Options) error { function applyBoolFlags (line 1184) | func applyBoolFlags(newOpts, flagOpts *Options) { method reloadOptions (line 1211) | func (s *Server) reloadOptions(curOpts, newOpts *Options) error { function imposeOrder (line 1238) | func imposeOrder(value any) error { method diffOptions (line 1276) | func (s *Server) diffOptions(newOpts *Options) ([]option, error) { function copyRemoteGWConfigsWithoutTLSConfig (line 1789) | func copyRemoteGWConfigsWithoutTLSConfig(current []*RemoteGatewayOpts) [... function copyRemoteLNConfigForReloadCompare (line 1804) | func copyRemoteLNConfigForReloadCompare(current []*RemoteLeafOpts) []*Re... method applyOptions (line 1830) | func (s *Server) applyOptions(ctx *reloadContext, opts []option) { method resetInternalLoopInfo (line 1921) | func (s *Server) resetInternalLoopInfo() { method reloadClientTraceLevel (line 1936) | func (s *Server) reloadClientTraceLevel() { method reloadAuthorization (line 1990) | func (s *Server) reloadAuthorization() { method clientHasMovedToDifferentAccount (line 2177) | func (s *Server) clientHasMovedToDifferentAccount(c *client) bool { method reloadClusterPermissions (line 2214) | func (s *Server) reloadClusterPermissions(oldPerms *RoutePermissions) { method reloadClusterPoolAndAccounts (line 2361) | func (s *Server) reloadClusterPoolAndAccounts(co *clusterOption, opts *O... function validateClusterOpts (line 2587) | func validateClusterOpts(old, new ClusterOpts) error { function diffRoutes (line 2607) | func diffRoutes(old, new []*url.URL) (add, remove []*url.URL) { function diffProxiesTrustedKeys (line 2633) | func diffProxiesTrustedKeys(old, new []*ProxyConfig) ([]string, []string) { FILE: server/reload_test.go function newServerWithConfig (line 43) | func newServerWithConfig(t *testing.T, configFile string) (*Server, *Opt... function newServerWithContent (line 52) | func newServerWithContent(t *testing.T, content []byte) (*Server, *Optio... function newOptionsFromContent (line 58) | func newOptionsFromContent(t *testing.T, content []byte) (*Options, stri... function createConfFile (line 69) | func createConfFile(t testing.TB, content []byte) string { function runReloadServerWithConfig (line 80) | func runReloadServerWithConfig(t *testing.T, configFile string) (*Server... function runReloadServerWithContent (line 89) | func runReloadServerWithContent(t *testing.T, content []byte) (*Server, ... function changeCurrentConfigContent (line 98) | func changeCurrentConfigContent(t *testing.T, curConfig, newConfig strin... function changeCurrentConfigContentWithNewContent (line 107) | func changeCurrentConfigContentWithNewContent(t *testing.T, curConfig st... function TestConfigReloadNoConfigFile (line 116) | func TestConfigReloadNoConfigFile(t *testing.T) { function TestConfigReloadUnsupported (line 129) | func TestConfigReloadUnsupported(t *testing.T) { function TestConfigReloadUnsupportedHotSwapping (line 180) | func TestConfigReloadUnsupportedHotSwapping(t *testing.T) { function TestConfigReloadInvalidConfig (line 202) | func TestConfigReloadInvalidConfig(t *testing.T) { function TestConfigReload (line 251) | func TestConfigReload(t *testing.T) { function TestConfigReloadRotateTLS (line 392) | func TestConfigReloadRotateTLS(t *testing.T) { function TestConfigReloadEnableTLS (line 446) | func TestConfigReloadEnableTLS(t *testing.T) { function TestConfigReloadDisableTLS (line 477) | func TestConfigReloadDisableTLS(t *testing.T) { function TestConfigReloadRotateTLSMultiCert (line 508) | func TestConfigReloadRotateTLSMultiCert(t *testing.T) { function TestConfigReloadDefaultSentinel (line 604) | func TestConfigReloadDefaultSentinel(t *testing.T) { function TestConfigReloadRotateUserAuthentication (line 658) | func TestConfigReloadRotateUserAuthentication(t *testing.T) { function TestConfigReloadEnableUserAuthentication (line 720) | func TestConfigReloadEnableUserAuthentication(t *testing.T) { function TestConfigReloadDisableUserAuthentication (line 781) | func TestConfigReloadDisableUserAuthentication(t *testing.T) { function TestConfigReloadRotateTokenAuthentication (line 814) | func TestConfigReloadRotateTokenAuthentication(t *testing.T) { function TestConfigReloadEnableTokenAuthentication (line 871) | func TestConfigReloadEnableTokenAuthentication(t *testing.T) { function TestConfigReloadDisableTokenAuthentication (line 932) | func TestConfigReloadDisableTokenAuthentication(t *testing.T) { function TestConfigReloadRotateUsersAuthentication (line 965) | func TestConfigReloadRotateUsersAuthentication(t *testing.T) { function TestConfigReloadEnableUsersAuthentication (line 1052) | func TestConfigReloadEnableUsersAuthentication(t *testing.T) { function TestConfigReloadDisableUsersAuthentication (line 1113) | func TestConfigReloadDisableUsersAuthentication(t *testing.T) { function TestConfigReloadChangePermissions (line 1146) | func TestConfigReloadChangePermissions(t *testing.T) { function TestConfigReloadClusterHostUnsupported (line 1379) | func TestConfigReloadClusterHostUnsupported(t *testing.T) { function TestConfigReloadClusterPortUnsupported (line 1394) | func TestConfigReloadClusterPortUnsupported(t *testing.T) { function TestConfigReloadEnableClusterAuthorization (line 1411) | func TestConfigReloadEnableClusterAuthorization(t *testing.T) { function TestConfigReloadDisableClusterAuthorization (line 1507) | func TestConfigReloadDisableClusterAuthorization(t *testing.T) { function TestConfigReloadClusterRoutes (line 1586) | func TestConfigReloadClusterRoutes(t *testing.T) { function TestConfigReloadClusterRemoveSolicitedRoutes (line 1687) | func TestConfigReloadClusterRemoveSolicitedRoutes(t *testing.T) { function reloadUpdateConfig (line 1762) | func reloadUpdateConfig(t *testing.T, s *Server, conf, content string) { function TestConfigReloadClusterAdvertise (line 1772) | func TestConfigReloadClusterAdvertise(t *testing.T) { function TestConfigReloadClusterNoAdvertise (line 1843) | func TestConfigReloadClusterNoAdvertise(t *testing.T) { function TestConfigReloadClusterName (line 1893) | func TestConfigReloadClusterName(t *testing.T) { function TestConfigReloadMaxSubsUnsupported (line 1917) | func TestConfigReloadMaxSubsUnsupported(t *testing.T) { function TestConfigReloadClientAdvertise (line 1932) | func TestConfigReloadClientAdvertise(t *testing.T) { function TestConfigReloadMaxConnections (line 1978) | func TestConfigReloadMaxConnections(t *testing.T) { function TestConfigReloadMaxConnectionsPreventAll (line 2031) | func TestConfigReloadMaxConnectionsPreventAll(t *testing.T) { function TestConfigReloadMaxPayload (line 2085) | func TestConfigReloadMaxPayload(t *testing.T) { function TestConfigReloadRotateFiles (line 2148) | func TestConfigReloadRotateFiles(t *testing.T) { function TestConfigReloadClusterWorks (line 2188) | func TestConfigReloadClusterWorks(t *testing.T) { function TestConfigReloadClusterPerms (line 2262) | func TestConfigReloadClusterPerms(t *testing.T) { function TestConfigReloadClusterPermsImport (line 2461) | func TestConfigReloadClusterPermsImport(t *testing.T) { function TestConfigReloadClusterPermsExport (line 2556) | func TestConfigReloadClusterPermsExport(t *testing.T) { function TestConfigReloadClusterPermsOldServer (line 2651) | func TestConfigReloadClusterPermsOldServer(t *testing.T) { function TestConfigReloadAccountUsers (line 2723) | func TestConfigReloadAccountUsers(t *testing.T) { function TestConfigReloadAccountWithNoChanges (line 2940) | func TestConfigReloadAccountWithNoChanges(t *testing.T) { function TestConfigReloadAccountNKeyUsers (line 3019) | func TestConfigReloadAccountNKeyUsers(t *testing.T) { function TestConfigReloadAccountStreamsImportExport (line 3153) | func TestConfigReloadAccountStreamsImportExport(t *testing.T) { function TestConfigReloadAccountServicesImportExport (line 3347) | func TestConfigReloadAccountServicesImportExport(t *testing.T) { function TestConfigReloadNotPreventedByGateways (line 3498) | func TestConfigReloadNotPreventedByGateways(t *testing.T) { function TestConfigReloadBoolFlags (line 3533) | func TestConfigReloadBoolFlags(t *testing.T) { function TestConfigReloadMaxControlLineWithClients (line 3999) | func TestConfigReloadMaxControlLineWithClients(t *testing.T) { type testCustomAuth (line 4043) | type testCustomAuth struct method Check (line 4045) | func (ca *testCustomAuth) Check(c ClientAuthentication) bool { return ... function TestConfigReloadIgnoreCustomAuth (line 4047) | func TestConfigReloadIgnoreCustomAuth(t *testing.T) { function TestConfigReloadLeafNodeRandomPort (line 4069) | func TestConfigReloadLeafNodeRandomPort(t *testing.T) { function TestConfigReloadLeafNodeWithTLS (line 4096) | func TestConfigReloadLeafNodeWithTLS(t *testing.T) { function TestConfigReloadLeafNodeWithRemotesNoChanges (line 4157) | func TestConfigReloadLeafNodeWithRemotesNoChanges(t *testing.T) { function TestConfigReloadAndVarz (line 4197) | func TestConfigReloadAndVarz(t *testing.T) { function TestConfigReloadConnectErrReports (line 4246) | func TestConfigReloadConnectErrReports(t *testing.T) { function TestConfigReloadAuthDoesNotBreakRouteInterest (line 4280) | func TestConfigReloadAuthDoesNotBreakRouteInterest(t *testing.T) { function TestConfigReloadAccountResolverTLSConfig (line 4354) | func TestConfigReloadAccountResolverTLSConfig(t *testing.T) { function TestConfigReloadLogging (line 4430) | func TestConfigReloadLogging(t *testing.T) { function TestConfigReloadValidate (line 4557) | func TestConfigReloadValidate(t *testing.T) { function TestConfigReloadAccounts (line 4590) | func TestConfigReloadAccounts(t *testing.T) { function TestConfigReloadDefaultSystemAccount (line 4747) | func TestConfigReloadDefaultSystemAccount(t *testing.T) { function TestConfigReloadAccountMappings (line 4799) | func TestConfigReloadAccountMappings(t *testing.T) { function TestConfigReloadWithSysAccountOnly (line 4860) | func TestConfigReloadWithSysAccountOnly(t *testing.T) { function TestConfigReloadRouteImportPermissionsWithAccounts (line 4896) | func TestConfigReloadRouteImportPermissionsWithAccounts(t *testing.T) { function TestConfigReloadRoutePoolAndPerAccount (line 5201) | func TestConfigReloadRoutePoolAndPerAccount(t *testing.T) { function TestConfigReloadRoutePoolAndPerAccountNoPanicIfFirstAdded (line 5537) | func TestConfigReloadRoutePoolAndPerAccountNoPanicIfFirstAdded(t *testin... function TestConfigReloadRoutePoolCannotBeDisabledIfAccountsPresent (line 5572) | func TestConfigReloadRoutePoolCannotBeDisabledIfAccountsPresent(t *testi... function TestConfigReloadRoutePoolAndPerAccountWithOlderServer (line 5648) | func TestConfigReloadRoutePoolAndPerAccountWithOlderServer(t *testing.T) { function TestConfigReloadRoutePoolAndPerAccountNoDuplicateSub (line 5756) | func TestConfigReloadRoutePoolAndPerAccountNoDuplicateSub(t *testing.T) { function TestConfigReloadGlobalAccountWithMappingAndJetStream (line 5860) | func TestConfigReloadGlobalAccountWithMappingAndJetStream(t *testing.T) { function TestConfigReloadRouteCompression (line 5930) | func TestConfigReloadRouteCompression(t *testing.T) { function TestConfigReloadRouteCompressionS2Auto (line 6102) | func TestConfigReloadRouteCompressionS2Auto(t *testing.T) { function TestConfigReloadLeafNodeCompression (line 6163) | func TestConfigReloadLeafNodeCompression(t *testing.T) { function TestConfigReloadLeafNodeCompressionS2Auto (line 6356) | func TestConfigReloadLeafNodeCompressionS2Auto(t *testing.T) { function TestConfigReloadNoPanicOnShutdown (line 6411) | func TestConfigReloadNoPanicOnShutdown(t *testing.T) { FILE: server/ring.go type closedClient (line 17) | type closedClient struct type closedRingBuffer (line 25) | type closedRingBuffer struct method append (line 39) | func (rb *closedRingBuffer) append(cc *closedClient) { method next (line 44) | func (rb *closedRingBuffer) next() int { method len (line 48) | func (rb *closedRingBuffer) len() int { method totalConns (line 55) | func (rb *closedRingBuffer) totalConns() uint64 { method closedClients (line 65) | func (rb *closedRingBuffer) closedClients() []*closedClient { function newClosedRingBuffer (line 31) | func newClosedRingBuffer(max int) *closedRingBuffer { FILE: server/ring_test.go function TestRBAppendAndLenAndTotal (line 22) | func TestRBAppendAndLenAndTotal(t *testing.T) { method String (line 44) | func (cc *closedClient) String() string { function TestRBclosedClients (line 48) | func TestRBclosedClients(t *testing.T) { FILE: server/route.go type RouteType (line 36) | type RouteType constant Implicit (line 41) | Implicit RouteType = iota constant Explicit (line 43) | Explicit type route (line 56) | type route struct type routeInfo (line 97) | type routeInfo struct constant gossipDefault (line 105) | gossipDefault = byte(iota) constant gossipDisabled (line 106) | gossipDisabled constant gossipOverride (line 107) | gossipOverride type connectInfo (line 110) | type connectInfo struct constant ConProto (line 128) | ConProto = "CONNECT %s" + _CRLF_ constant InfoProto (line 129) | InfoProto = "INFO %s" + _CRLF_ constant clusterTLSInsecureWarning (line 134) | clusterTLSInsecureWarning = "TLS certificate chain and hostname of solic... constant defaultRouteMaxPingInterval (line 140) | defaultRouteMaxPingInterval = 30 * time.Second method removeReplySub (line 151) | func (c *client) removeReplySub(sub *subscription) { method processAccountSub (line 167) | func (c *client) processAccountSub(arg []byte) error { method processAccountUnsub (line 174) | func (c *client) processAccountUnsub(arg []byte) { method processRoutedOriginClusterMsgArgs (line 182) | func (c *client) processRoutedOriginClusterMsgArgs(arg []byte) error { method processRoutedHeaderMsgArgs (line 280) | func (c *client) processRoutedHeaderMsgArgs(arg []byte) error { method processRoutedMsgArgs (line 376) | func (c *client) processRoutedMsgArgs(arg []byte) error { method processInboundRoutedMsg (line 457) | func (c *client) processInboundRoutedMsg(msg []byte) { method sendRouteConnect (line 500) | func (c *client) sendRouteConnect(clusterName string, tlsRequired bool) ... function computeRoutePoolIdx (line 535) | func computeRoutePoolIdx(poolSize int, an string) int { method processRouteInfo (line 546) | func (c *client) processRouteInfo(info *Info) { method negotiateRouteCompression (line 894) | func (s *Server) negotiateRouteCompression(c *client, didSolicit bool, a... method updateRemoteRoutePerms (line 950) | func (s *Server) updateRemoteRoutePerms(c *client, info *Info) { method sendAsyncInfoToClients (line 1012) | func (s *Server) sendAsyncInfoToClients(regCli, wsCli bool) { method processImplicitRoute (line 1040) | func (s *Server) processImplicitRoute(info *Info, routeNoPool bool) { method hasThisRouteConfigured (line 1101) | func (s *Server) hasThisRouteConfigured(info *Info) bool { method forwardNewRouteInfoToKnownServers (line 1136) | func (s *Server) forwardNewRouteInfoToKnownServers(info *Info, rtype Rou... method canImport (line 1223) | func (c *client) canImport(subject string) bool { method canExport (line 1232) | func (c *client) canExport(subject string) bool { method setRoutePermissions (line 1241) | func (c *client) setRoutePermissions(perms *RoutePermissions) { type asubs (line 1260) | type asubs struct function getAccNameFromRoutedSubKey (line 1270) | func getAccNameFromRoutedSubKey(sub *subscription, key string, keyHasSub... method getRoutedSubKeyInfo (line 1287) | func (c *client) getRoutedSubKeyInfo() (bool, string, bool) { method removeRemoteSubs (line 1296) | func (c *client) removeRemoteSubs() { method removeRemoteSubsForAcc (line 1349) | func (c *client) removeRemoteSubsForAcc(name string) []*subscription { method parseUnsubProto (line 1363) | func (c *client) parseUnsubProto(arg []byte, accInProto, hasOrigin bool)... method processRemoteUnsub (line 1401) | func (c *client) processRemoteUnsub(arg []byte, leafUnsub bool) (err err... method processRemoteSub (line 1486) | func (c *client) processRemoteSub(argo []byte, hasOrigin bool) (err erro... method addRouteSubOrUnsubProtoToBuf (line 1726) | func (c *client) addRouteSubOrUnsubProtoToBuf(buf []byte, accName string... method sendSubsToRoute (line 1778) | func (s *Server) sendSubsToRoute(route *client, idx int, account string) { method sendRouteSubProtos (line 1878) | func (c *client) sendRouteSubProtos(subs []*subscription, trace bool, fi... method sendRouteUnSubProtos (line 1887) | func (c *client) sendRouteUnSubProtos(subs []*subscription, trace bool, ... method sendRouteSubOrUnSubProtos (line 1895) | func (c *client) sendRouteSubOrUnSubProtos(subs []*subscription, isSubPr... method createRoute (line 1932) | func (s *Server) createRoute(conn net.Conn, rURL *url.URL, rtype RouteTy... function routeShouldDelayInfo (line 2079) | func routeShouldDelayInfo(accName string, opts *Options) bool { method generateRouteInitialInfoJSON (line 2087) | func (s *Server) generateRouteInitialInfoJSON(accName, compression strin... constant _CRLF_ (line 2106) | _CRLF_ = "\r\n" constant _EMPTY_ (line 2107) | _EMPTY_ = "" method addRoute (line 2110) | func (s *Server) addRoute(c *client, didSolicit, sendDelayedInfo bool, g... function hasSolicitedRoute (line 2435) | func hasSolicitedRoute(conns []*client) (*url.URL, RouteType, bool) { function upgradeRouteToSolicited (line 2455) | func upgradeRouteToSolicited(r *client, url *url.URL, rtype RouteType) { function handleDuplicateRoute (line 2470) | func handleDuplicateRoute(remote, c *client, setNoReconnect bool) { method importFilter (line 2507) | func (c *client) importFilter(sub *subscription) bool { method updateRouteSubscriptionMap (line 2516) | func (s *Server) updateRouteSubscriptionMap(acc *Account, sub *subscript... method startRouteAcceptLoop (line 2693) | func (s *Server) startRouteAcceptLoop() { method setRouteInfoHostPortAndIP (line 2826) | func (s *Server) setRouteInfoHostPortAndIP() error { method StartRouting (line 2846) | func (s *Server) StartRouting(clientListenReady chan struct{}) { method reConnectToRoute (line 2858) | func (s *Server) reConnectToRoute(rURL *url.URL, rtype RouteType, accNam... method routeStillValid (line 2878) | func (s *Server) routeStillValid(rURL *url.URL) bool { method connectToRoute (line 2887) | func (s *Server) connectToRoute(rURL *url.URL, rtype RouteType, firstCon... method isSolicitedRoute (line 2973) | func (c *client) isSolicitedRoute() bool { method saveRouteTLSName (line 2982) | func (s *Server) saveRouteTLSName(routes []*url.URL) { method solicitRoutes (line 2993) | func (s *Server) solicitRoutes(routes []*url.URL, accounts []string) { method processRouteConnect (line 3008) | func (c *client) processRouteConnect(srv *Server, arg []byte, lang strin... method removeAllRoutesExcept (line 3082) | func (s *Server) removeAllRoutesExcept(remoteID string) { method removeRoute (line 3110) | func (s *Server) removeRoute(c *client) { method isDuplicateServerName (line 3230) | func (s *Server) isDuplicateServerName(name string) bool { method forEachNonPerAccountRoute (line 3260) | func (s *Server) forEachNonPerAccountRoute(f func(r *client)) { method forEachRoute (line 3274) | func (s *Server) forEachRoute(f func(r *client)) { method forEachRouteIdx (line 3289) | func (s *Server) forEachRouteIdx(idx int, f func(r *client) bool) { method forEachRemote (line 3302) | func (s *Server) forEachRemote(f func(r *client)) { FILE: server/routes_test.go function init (line 43) | func init() { function checkNumRoutes (line 48) | func checkNumRoutes(t *testing.T, s *Server, expected int) { function checkSubInterest (line 58) | func checkSubInterest(t *testing.T, s *Server, accName, subject string, ... function checkSubNoInterest (line 72) | func checkSubNoInterest(t *testing.T, s *Server, accName, subject string... function TestRouteConfig (line 86) | func TestRouteConfig(t *testing.T) { function TestClusterAdvertise (line 124) | func TestClusterAdvertise(t *testing.T) { function TestClusterAdvertiseErrorOnStartup (line 177) | func TestClusterAdvertiseErrorOnStartup(t *testing.T) { function TestClientAdvertise (line 184) | func TestClientAdvertise(t *testing.T) { function TestServerRoutesWithClients (line 216) | func TestServerRoutesWithClients(t *testing.T) { function TestServerRoutesWithAuthAndBCrypt (line 260) | func TestServerRoutesWithAuthAndBCrypt(t *testing.T) { function checkClusterFormed (line 315) | func checkClusterFormed(t testing.TB, servers ...*Server) { function nextServerOpts (line 353) | func nextServerOpts(opts *Options) *Options { function TestSeedSolicitWorks (line 365) | func TestSeedSolicitWorks(t *testing.T) { function TestTLSSeedSolicitWorks (line 423) | func TestTLSSeedSolicitWorks(t *testing.T) { function TestChainedSolicitWorks (line 481) | func TestChainedSolicitWorks(t *testing.T) { function checkExpectedSubs (line 543) | func checkExpectedSubs(t *testing.T, expected int, servers ...*Server) { function TestTLSChainedSolicitWorks (line 555) | func TestTLSChainedSolicitWorks(t *testing.T) { function TestRouteTLSHandshakeError (line 615) | func TestRouteTLSHandshakeError(t *testing.T) { function TestBlockedShutdownOnRouteAcceptLoopFailure (line 634) | func TestBlockedShutdownOnRouteAcceptLoopFailure(t *testing.T) { function TestRouteUseIPv6 (line 658) | func TestRouteUseIPv6(t *testing.T) { function TestClientConnectToRoutePort (line 699) | func TestClientConnectToRoutePort(t *testing.T) { type checkDuplicateRouteLogger (line 745) | type checkDuplicateRouteLogger struct method Debugf (line 750) | func (l *checkDuplicateRouteLogger) Debugf(format string, v ...any) { function TestRoutesToEachOther (line 759) | func TestRoutesToEachOther(t *testing.T) { function wait (line 805) | func wait(ch chan bool) error { function TestServerPoolUpdatedWhenRouteGoesAway (line 814) | func TestServerPoolUpdatedWhenRouteGoesAway(t *testing.T) { function TestRouteFailedConnRemovedFromTmpMap (line 936) | func TestRouteFailedConnRemovedFromTmpMap(t *testing.T) { function getFirstRoute (line 999) | func getFirstRoute(s *Server) *client { function TestRoutePermsAppliedOnInboundAndOutboundRoute (line 1010) | func TestRoutePermsAppliedOnInboundAndOutboundRoute(t *testing.T) { function TestRouteSendLocalSubsWithLowMaxPending (line 1098) | func TestRouteSendLocalSubsWithLowMaxPending(t *testing.T) { function TestRouteNoCrashOnAddingSubToRoute (line 1131) | func TestRouteNoCrashOnAddingSubToRoute(t *testing.T) { function TestRouteRTT (line 1203) | func TestRouteRTT(t *testing.T) { function TestRouteCloseTLSConnection (line 1290) | func TestRouteCloseTLSConnection(t *testing.T) { function TestRouteClusterNameConflictBetweenStaticAndDynamic (line 1374) | func TestRouteClusterNameConflictBetweenStaticAndDynamic(t *testing.T) { type testRouteResolver (line 1389) | type testRouteResolver struct method LookupHost (line 1391) | func (r *testRouteResolver) LookupHost(ctx context.Context, host strin... type routeHostLookupLogger (line 1395) | type routeHostLookupLogger struct method Debugf (line 1402) | func (l *routeHostLookupLogger) Debugf(format string, v ...any) { function TestRouteIPResolutionAndRouteToSelf (line 1415) | func TestRouteIPResolutionAndRouteToSelf(t *testing.T) { function TestRouteDuplicateServerName (line 1444) | func TestRouteDuplicateServerName(t *testing.T) { function TestRouteLockReleasedOnTLSFailure (line 1471) | func TestRouteLockReleasedOnTLSFailure(t *testing.T) { type localhostResolver (line 1518) | type localhostResolver struct method LookupHost (line 1520) | func (r *localhostResolver) LookupHost(ctx context.Context, host strin... function TestTLSRoutesCertificateImplicitAllowPass (line 1524) | func TestTLSRoutesCertificateImplicitAllowPass(t *testing.T) { function TestTLSRoutesCertificateImplicitAllowFail (line 1528) | func TestTLSRoutesCertificateImplicitAllowFail(t *testing.T) { function testTLSRoutesCertificateImplicitAllow (line 1532) | func testTLSRoutesCertificateImplicitAllow(t *testing.T, pass bool) { function TestSubjectRenameViaJetStreamAck (line 1595) | func TestSubjectRenameViaJetStreamAck(t *testing.T) { function TestClusterQueueGroupWeightTrackingLeak (line 1614) | func TestClusterQueueGroupWeightTrackingLeak(t *testing.T) { type testRouteReconnectLogger (line 1680) | type testRouteReconnectLogger struct method Debugf (line 1685) | func (l *testRouteReconnectLogger) Debugf(format string, v ...any) { function TestRouteSolicitedReconnectsEvenIfImplicit (line 1695) | func TestRouteSolicitedReconnectsEvenIfImplicit(t *testing.T) { function TestRouteReconnectExponentialBackoff (line 1758) | func TestRouteReconnectExponentialBackoff(t *testing.T) { function TestRouteSaveTLSName (line 1816) | func TestRouteSaveTLSName(t *testing.T) { function TestRoutePoolAndPerAccountErrors (line 1906) | func TestRoutePoolAndPerAccountErrors(t *testing.T) { function TestRoutePool (line 1966) | func TestRoutePool(t *testing.T) { function TestRoutePoolConnectRace (line 2100) | func TestRoutePoolConnectRace(t *testing.T) { function TestRoutePoolRouteStoredSameIndexBothSides (line 2180) | func TestRoutePoolRouteStoredSameIndexBothSides(t *testing.T) { function TestRoutePoolSizeDifferentOnEachServer (line 2254) | func TestRoutePoolSizeDifferentOnEachServer(t *testing.T) { type captureRMsgTrace (line 2522) | type captureRMsgTrace struct method Tracef (line 2529) | func (l *captureRMsgTrace) Tracef(format string, args ...any) { function TestRoutePerAccount (line 2539) | func TestRoutePerAccount(t *testing.T) { function TestRoutePerAccountImplicit (line 2655) | func TestRoutePerAccountImplicit(t *testing.T) { function TestRoutePerAccountDefaultForSysAccount (line 2705) | func TestRoutePerAccountDefaultForSysAccount(t *testing.T) { function TestRoutePerAccountConnectRace (line 2795) | func TestRoutePerAccountConnectRace(t *testing.T) { function TestRoutePerAccountGossipWorks (line 2867) | func TestRoutePerAccountGossipWorks(t *testing.T) { function TestRoutePerAccountGossipWorksWithOldServerNotSeed (line 2945) | func TestRoutePerAccountGossipWorksWithOldServerNotSeed(t *testing.T) { function TestRoutePerAccountGossipWorksWithOldServerSeed (line 3024) | func TestRoutePerAccountGossipWorksWithOldServerSeed(t *testing.T) { function TestRoutePoolPerAccountSubUnsubProtoParsing (line 3104) | func TestRoutePoolPerAccountSubUnsubProtoParsing(t *testing.T) { function TestRoutePoolPerAccountStreamImport (line 3196) | func TestRoutePoolPerAccountStreamImport(t *testing.T) { function TestRoutePoolAndPerAccountWithServiceLatencyNoDataRace (line 3298) | func TestRoutePoolAndPerAccountWithServiceLatencyNoDataRace(t *testing.T) { function TestRouteParseOriginClusterMsgArgs (line 3376) | func TestRouteParseOriginClusterMsgArgs(t *testing.T) { function TestRoutePoolAndPerAccountOperatorMode (line 3427) | func TestRoutePoolAndPerAccountOperatorMode(t *testing.T) { function TestRoutePoolAndPerAccountWithOlderServer (line 3571) | func TestRoutePoolAndPerAccountWithOlderServer(t *testing.T) { type testDuplicateRouteLogger (line 3645) | type testDuplicateRouteLogger struct method Noticef (line 3651) | func (l *testDuplicateRouteLogger) Noticef(format string, args ...any) { function TestRoutePoolWithOlderServerConnectAndReconnect (line 3669) | func TestRoutePoolWithOlderServerConnectAndReconnect(t *testing.T) { function TestRoutePoolBadAuthNoRunawayCreateRoute (line 3745) | func TestRoutePoolBadAuthNoRunawayCreateRoute(t *testing.T) { function TestRouteCompressionOptions (line 3801) | func TestRouteCompressionOptions(t *testing.T) { type testConnSentBytes (line 3946) | type testConnSentBytes struct method Write (line 3952) | func (c *testConnSentBytes) Write(p []byte) (int, error) { function TestRouteCompression (line 3960) | func TestRouteCompression(t *testing.T) { function TestRouteCompressionMatrixModes (line 4082) | func TestRouteCompressionMatrixModes(t *testing.T) { function TestRouteCompressionWithOlderServer (line 4176) | func TestRouteCompressionWithOlderServer(t *testing.T) { function TestRouteCompressionImplicitRoute (line 4212) | func TestRouteCompressionImplicitRoute(t *testing.T) { function TestRouteCompressionAuto (line 4269) | func TestRouteCompressionAuto(t *testing.T) { function TestRoutePings (line 4376) | func TestRoutePings(t *testing.T) { function TestRouteCustomPing (line 4409) | func TestRouteCustomPing(t *testing.T) { function TestRouteNoLeakOnSlowConsumer (line 4443) | func TestRouteNoLeakOnSlowConsumer(t *testing.T) { function TestRouteNoAppSubLeakOnSlowConsumer (line 4510) | func TestRouteNoAppSubLeakOnSlowConsumer(t *testing.T) { function TestRouteSlowConsumerRecover (line 4614) | func TestRouteSlowConsumerRecover(t *testing.T) { function TestRouteNoLeakOnAuthTimeout (line 4739) | func TestRouteNoLeakOnAuthTimeout(t *testing.T) { function TestRouteNoRaceOnClusterNameNegotiation (line 4775) | func TestRouteNoRaceOnClusterNameNegotiation(t *testing.T) { function TestRouteImplicitNotTooManyDuplicates (line 4808) | func TestRouteImplicitNotTooManyDuplicates(t *testing.T) { function TestRouteImplicitJoinsSeparateGroups (line 4888) | func TestRouteImplicitJoinsSeparateGroups(t *testing.T) { function TestRouteConfigureWriteDeadline (line 4981) | func TestRouteConfigureWriteDeadline(t *testing.T) { function TestRouteConfigureWriteTimeoutPolicy (line 5009) | func TestRouteConfigureWriteTimeoutPolicy(t *testing.T) { function TestRoutePoolFirstPongBlocksChain (line 5043) | func TestRoutePoolFirstPongBlocksChain(t *testing.T) { function BenchmarkProcessRoutedMsgArgs (line 5181) | func BenchmarkProcessRoutedMsgArgs(b *testing.B) { function BenchmarkProcessRoutedHeaderMsgArgs (line 5194) | func BenchmarkProcessRoutedHeaderMsgArgs(b *testing.B) { function BenchmarkProcessRoutedOriginClusterMsgArgs (line 5207) | func BenchmarkProcessRoutedOriginClusterMsgArgs(b *testing.B) { function BenchmarkProcessLeafMsgArgs (line 5220) | func BenchmarkProcessLeafMsgArgs(b *testing.B) { function BenchmarkProcessLeafHeaderMsgArgs (line 5233) | func BenchmarkProcessLeafHeaderMsgArgs(b *testing.B) { function BenchmarkProcessRoutedMsgArgs_Queues (line 5248) | func BenchmarkProcessRoutedMsgArgs_Queues(b *testing.B) { function BenchmarkProcessRoutedHeaderMsgArgs_Queues (line 5261) | func BenchmarkProcessRoutedHeaderMsgArgs_Queues(b *testing.B) { function BenchmarkProcessLeafMsgArgs_Queues (line 5274) | func BenchmarkProcessLeafMsgArgs_Queues(b *testing.B) { FILE: server/scheduler.go constant headerLen (line 32) | headerLen = 17 type MsgScheduling (line 35) | type MsgScheduling struct method add (line 61) | func (ms *MsgScheduling) add(seq uint64, subj string, ts int64) { method init (line 66) | func (ms *MsgScheduling) init(seq uint64, subj string, ts int64) { method update (line 81) | func (ms *MsgScheduling) update(subj string, ts int64) { method markInflight (line 93) | func (ms *MsgScheduling) markInflight(subj string) { method isInflight (line 99) | func (ms *MsgScheduling) isInflight(subj string) bool { method remove (line 104) | func (ms *MsgScheduling) remove(seq uint64) { method removeSubject (line 111) | func (ms *MsgScheduling) removeSubject(subj string) { method clearInflight (line 119) | func (ms *MsgScheduling) clearInflight() { method resetTimer (line 123) | func (ms *MsgScheduling) resetTimer() { method getScheduledMessages (line 158) | func (ms *MsgScheduling) getScheduledMessages(loadMsg func(seq uint64,... method encode (line 250) | func (ms *MsgScheduling) encode(highSeq uint64) []byte { method decode (line 268) | func (ms *MsgScheduling) decode(b []byte) (uint64, error) { type MsgSchedule (line 46) | type MsgSchedule struct function newMsgScheduling (line 51) | func newMsgScheduling(run func()) *MsgScheduling { function parseMsgSchedule (line 303) | func parseMsgSchedule(pattern string, tz string, ts int64) (time.Time, b... FILE: server/sdm.go type SDMMeta (line 22) | type SDMMeta struct method empty (line 47) | func (sdm *SDMMeta) empty() { method trackPending (line 56) | func (sdm *SDMMeta) trackPending(seq uint64, subj string, last bool) b... method removeSeqAndSubject (line 66) | func (sdm *SDMMeta) removeSeqAndSubject(seq uint64, subj string) { type SDMBySeq (line 28) | type SDMBySeq struct function newSDMMeta (line 33) | func newSDMMeta() *SDMMeta { function isSubjectDeleteMarker (line 42) | func isSubjectDeleteMarker(hdr []byte) bool { FILE: server/sendq.go type outMsg (line 21) | type outMsg struct type sendq (line 28) | type sendq struct method internalLoop (line 41) | func (sq *sendq) internalLoop() { method send (line 109) | func (sq *sendq) send(subj, rply string, hdr, msg []byte) { method newSendQ (line 35) | func (s *Server) newSendQ(acc *Account) *sendq { FILE: server/server.go constant firstPingInterval (line 58) | firstPingInterval = time.Second constant firstClientPingInterval (line 61) | firstClientPingInterval = 2 * time.Second constant RouteProtoZero (line 73) | RouteProtoZero = iota constant RouteProtoInfo (line 76) | RouteProtoInfo constant RouteProtoV2 (line 78) | RouteProtoV2 constant MsgTraceProto (line 80) | MsgTraceProto function setServerProtoForTest (line 103) | func setServerProtoForTest(wantedProto int) int { type Info (line 109) | type Info struct type Server (line 169) | type Server struct method getServerProto (line 85) | func (s *Server) getServerProto() int { method initRouteStructures (line 982) | func (s *Server) initRouteStructures(opts *Options) { method logRejectedTLSConns (line 1000) | func (s *Server) logRejectedTLSConns() { method ClusterName (line 1018) | func (s *Server) ClusterName() string { method cachedClusterName (line 1026) | func (s *Server) cachedClusterName() string { method setClusterName (line 1034) | func (s *Server) setClusterName(name string) { method isClusterNameDynamic (line 1070) | func (s *Server) isClusterNameDynamic() bool { method serverName (line 1081) | func (s *Server) serverName() string { method ClientURL (line 1087) | func (s *Server) ClientURL() string { method WebsocketURL (line 1101) | func (s *Server) WebsocketURL() string { method getOpts (line 1207) | func (s *Server) getOpts() *Options { method setOpts (line 1214) | func (s *Server) setOpts(opts *Options) { method globalAccount (line 1220) | func (s *Server) globalAccount() *Account { method configureAccounts (line 1231) | func (s *Server) configureAccounts(reloading bool) (map[string]struct{... method configureResolver (line 1487) | func (s *Server) configureResolver() error { method checkResolvePreloads (line 1522) | func (s *Server) checkResolvePreloads() { method globalAccountOnly (line 1545) | func (s *Server) globalAccountOnly() bool { method standAloneMode (line 1568) | func (s *Server) standAloneMode() bool { method configuredRoutes (line 1573) | func (s *Server) configuredRoutes() int { method ActivePeers (line 1578) | func (s *Server) ActivePeers() (peers []string) { method isTrustedIssuer (line 1591) | func (s *Server) isTrustedIssuer(issuer string) bool { method processTrustedKeys (line 1608) | func (s *Server) processTrustedKeys() bool { method initStampedTrustedKeys (line 1651) | func (s *Server) initStampedTrustedKeys() bool { method Running (line 1696) | func (s *Server) Running() bool { method isRunning (line 1701) | func (s *Server) isRunning() bool { method logPid (line 1705) | func (s *Server) logPid() error { method numReservedAccounts (line 1712) | func (s *Server) numReservedAccounts() int { method NumActiveAccounts (line 1717) | func (s *Server) NumActiveAccounts() int32 { method incActiveAccounts (line 1722) | func (s *Server) incActiveAccounts() { method decActiveAccounts (line 1727) | func (s *Server) decActiveAccounts() { method numAccounts (line 1733) | func (s *Server) numAccounts() int { method NumLoadedAccounts (line 1745) | func (s *Server) NumLoadedAccounts() int { method LookupOrRegisterAccount (line 1750) | func (s *Server) LookupOrRegisterAccount(name string) (account *Accoun... method RegisterAccount (line 1763) | func (s *Server) RegisterAccount(name string) (*Account, error) { method SetSystemAccount (line 1776) | func (s *Server) SetSystemAccount(accName string) error { method SystemAccount (line 1799) | func (s *Server) SystemAccount() *Account { method GlobalAccount (line 1805) | func (s *Server) GlobalAccount() *Account { method SetDefaultSystemAccount (line 1812) | func (s *Server) SetDefaultSystemAccount() error { method setSystemAccount (line 1823) | func (s *Server) setSystemAccount(acc *Account) error { method createInternalSystemClient (line 1911) | func (s *Server) createInternalSystemClient() *client { method createInternalJetStreamClient (line 1916) | func (s *Server) createInternalJetStreamClient() *client { method createInternalAccountClient (line 1921) | func (s *Server) createInternalAccountClient() *client { method createInternalClient (line 1926) | func (s *Server) createInternalClient(kind int) *client { method shouldTrackSubscriptions (line 1942) | func (s *Server) shouldTrackSubscriptions() bool { method registerAccount (line 1950) | func (s *Server) registerAccount(acc *Account) *Account { method setAccountSublist (line 1958) | func (s *Server) setAccountSublist(acc *Account) { method registerAccountNoLock (line 1974) | func (s *Server) registerAccountNoLock(acc *Account) *Account { method setRouteInfo (line 2045) | func (s *Server) setRouteInfo(acc *Account) { method lookupAccount (line 2070) | func (s *Server) lookupAccount(name string) (*Account, error) { method lookupOrFetchAccount (line 2077) | func (s *Server) lookupOrFetchAccount(name string, fetch bool) (*Accou... method LookupAccount (line 2107) | func (s *Server) LookupAccount(name string) (*Account, error) { method updateAccount (line 2113) | func (s *Server) updateAccount(acc *Account) error { method updateAccountWithClaimJWT (line 2131) | func (s *Server) updateAccountWithClaimJWT(acc *Account, claimJWT stri... method fetchRawAccountClaims (line 2166) | func (s *Server) fetchRawAccountClaims(name string) (string, error) { method fetchAccountClaims (line 2189) | func (s *Server) fetchAccountClaims(name string) (*jwt.AccountClaims, ... method verifyAccountClaims (line 2203) | func (s *Server) verifyAccountClaims(claimJWT string) (*jwt.AccountCla... method fetchAccount (line 2221) | func (s *Server) fetchAccount(name string) (*Account, error) { method Start (line 2264) | func (s *Server) Start() { method isShuttingDown (line 2578) | func (s *Server) isShuttingDown() bool { method Shutdown (line 2584) | func (s *Server) Shutdown() { method closeWebsocketServer (line 2759) | func (s *Server) closeWebsocketServer() int { method WaitForShutdown (line 2776) | func (s *Server) WaitForShutdown() { method AcceptLoop (line 2781) | func (s *Server) AcceptLoop(clr chan struct{}) { method getServerListener (line 2865) | func (s *Server) getServerListener(hp string) (net.Listener, error) { method InProcessConn (line 2877) | func (s *Server) InProcessConn() (net.Conn, error) { method acceptConnections (line 2890) | func (s *Server) acceptConnections(l net.Listener, acceptName string, ... method setInfoHostPort (line 2922) | func (s *Server) setInfoHostPort() error { method StartProfiler (line 2942) | func (s *Server) StartProfiler() { method setBlockProfileRate (line 2993) | func (s *Server) setBlockProfileRate(rate int) { method StartHTTPMonitoring (line 3004) | func (s *Server) StartHTTPMonitoring() { method StartHTTPSMonitoring (line 3010) | func (s *Server) StartHTTPSMonitoring() { method StartMonitoring (line 3015) | func (s *Server) StartMonitoring() error { method basePath (line 3054) | func (s *Server) basePath(p string) string { method getMonitoringTLSConfig (line 3083) | func (s *Server) getMonitoringTLSConfig(_ *tls.ClientHelloInfo) (*tls.... method startMonitoring (line 3091) | func (s *Server) startMonitoring(secure bool) error { method HTTPHandler (line 3208) | func (s *Server) HTTPHandler() http.Handler { method copyInfo (line 3217) | func (s *Server) copyInfo() Info { method createClient (line 3246) | func (s *Server) createClient(conn net.Conn) *client { method createClientInProcess (line 3250) | func (s *Server) createClientInProcess(conn net.Conn) *client { method createClientEx (line 3254) | func (s *Server) createClientEx(conn net.Conn, inProcess bool) *client { method saveClosedClient (line 3562) | func (s *Server) saveClosedClient(c *client, nc net.Conn, subs map[str... method addConnectURLsAndSendINFOToClients (line 3608) | func (s *Server) addConnectURLsAndSendINFOToClients(curls, wsurls []st... method removeConnectURLsAndSendINFOToClients (line 3616) | func (s *Server) removeConnectURLsAndSendINFOToClients(curls, wsurls [... method updateServerINFOAndSendINFOToClients (line 3623) | func (s *Server) updateServerINFOAndSendINFOToClients(curls, wsurls []... method removeClient (line 3709) | func (s *Server) removeClient(c *client) { method removeProxiedConn (line 3744) | func (s *Server) removeProxiedConn(key string, cid uint64) { method removeFromTempClients (line 3752) | func (s *Server) removeFromTempClients(cid uint64) { method addToTempClients (line 3758) | func (s *Server) addToTempClients(cid uint64, c *client) bool { method NumRoutes (line 3774) | func (s *Server) NumRoutes() int { method numRoutes (line 3782) | func (s *Server) numRoutes() int { method NumRemotes (line 3791) | func (s *Server) NumRemotes() int { method numRemotes (line 3799) | func (s *Server) numRemotes() int { method NumLeafNodes (line 3804) | func (s *Server) NumLeafNodes() int { method NumClients (line 3811) | func (s *Server) NumClients() int { method GetClient (line 3818) | func (s *Server) GetClient(cid uint64) *client { method getClient (line 3823) | func (s *Server) getClient(cid uint64) *client { method GetLeafNode (line 3830) | func (s *Server) GetLeafNode(cid uint64) *client { method NumSubscriptions (line 3837) | func (s *Server) NumSubscriptions() uint32 { method numSubscriptions (line 3845) | func (s *Server) numSubscriptions() uint32 { method NumSlowConsumers (line 3856) | func (s *Server) NumSlowConsumers() int64 { method NumStalledClients (line 3861) | func (s *Server) NumStalledClients() int64 { method NumSlowConsumersClients (line 3866) | func (s *Server) NumSlowConsumersClients() uint64 { method NumSlowConsumersRoutes (line 3871) | func (s *Server) NumSlowConsumersRoutes() uint64 { method NumSlowConsumersGateways (line 3876) | func (s *Server) NumSlowConsumersGateways() uint64 { method NumSlowConsumersLeafs (line 3881) | func (s *Server) NumSlowConsumersLeafs() uint64 { method NumStaleConnections (line 3886) | func (s *Server) NumStaleConnections() int64 { method NumStaleConnectionsClients (line 3891) | func (s *Server) NumStaleConnectionsClients() uint64 { method NumStaleConnectionsRoutes (line 3896) | func (s *Server) NumStaleConnectionsRoutes() uint64 { method NumStaleConnectionsGateways (line 3901) | func (s *Server) NumStaleConnectionsGateways() uint64 { method NumStaleConnectionsLeafs (line 3906) | func (s *Server) NumStaleConnectionsLeafs() uint64 { method ConfigTime (line 3911) | func (s *Server) ConfigTime() time.Time { method Addr (line 3918) | func (s *Server) Addr() net.Addr { method MonitorAddr (line 3928) | func (s *Server) MonitorAddr() *net.TCPAddr { method ClusterAddr (line 3938) | func (s *Server) ClusterAddr() *net.TCPAddr { method ProfilerAddr (line 3948) | func (s *Server) ProfilerAddr() *net.TCPAddr { method readyForConnections (line 3957) | func (s *Server) readyForConnections(d time.Duration) error { method ReadyForConnections (line 4024) | func (s *Server) ReadyForConnections(dur time.Duration) bool { method supportsHeaders (line 4029) | func (s *Server) supportsHeaders() bool { method ID (line 4037) | func (s *Server) ID() string { method NodeName (line 4042) | func (s *Server) NodeName() string { method Name (line 4047) | func (s *Server) Name() string { method String (line 4051) | func (s *Server) String() string { method startGoRoutine (line 4071) | func (s *Server) startGoRoutine(f func(), tags ...pprofLabels) bool { method numClosedConns (line 4086) | func (s *Server) numClosedConns() int { method totalClosedConns (line 4092) | func (s *Server) totalClosedConns() uint64 { method closedClients (line 4098) | func (s *Server) closedClients() []*closedClient { method getClientConnectURLs (line 4109) | func (s *Server) getClientConnectURLs() []string { method getConnectURLs (line 4121) | func (s *Server) getConnectURLs(advertise, host string, port int) ([]s... method getNonLocalIPsIfHostIsIPAny (line 4160) | func (s *Server) getNonLocalIPsIfHostIsIPAny(host string, all bool) (b... method PortsInfo (line 4248) | func (s *Server) PortsInfo(maxWait time.Duration) *Ports { method portFile (line 4308) | func (s *Server) portFile(dirHint string) string { method deletePortsFile (line 4321) | func (s *Server) deletePortsFile(hintDir string) { method logPorts (line 4333) | func (s *Server) logPorts() { method readyForListeners (line 4358) | func (s *Server) readyForListeners(dur time.Duration) bool { method serviceListeners (line 4390) | func (s *Server) serviceListeners() []net.Listener { method isLameDuckMode (line 4410) | func (s *Server) isLameDuckMode() bool { method LameDuckShutdown (line 4422) | func (s *Server) LameDuckShutdown() { method lameDuckMode (line 4429) | func (s *Server) lameDuckMode() { method sendLDMToRoutes (line 4560) | func (s *Server) sendLDMToRoutes() { method sendLDMToClients (line 4575) | func (s *Server) sendLDMToClients() { method acceptError (line 4608) | func (s *Server) acceptError(acceptName string, err error, tmpDelay ti... method getRandomIP (line 4632) | func (s *Server) getRandomIP(resolver netResolver, url string, exclude... method shouldReportConnectErr (line 4683) | func (s *Server) shouldReportConnectErr(firstConnect bool, attempts in... method updateRemoteSubscription (line 4697) | func (s *Server) updateRemoteSubscription(acc *Account, sub *subscript... method startRateLimitLogExpiration (line 4706) | func (s *Server) startRateLimitLogExpiration() { method changeRateLimitLogInterval (line 4732) | func (s *Server) changeRateLimitLogInterval(d time.Duration) { method DisconnectClientByID (line 4743) | func (s *Server) DisconnectClientByID(id uint64) error { method LDMClientByID (line 4758) | func (s *Server) LDMClientByID(id uint64) error { type nodeInfo (line 388) | type nodeInfo struct type stats (line 403) | type stats struct type scStats (line 414) | type scStats struct type staleStats (line 422) | type staleStats struct constant CompressionNotSupported (line 439) | CompressionNotSupported = "not supported" constant CompressionOff (line 440) | CompressionOff = "off" constant CompressionAccept (line 441) | CompressionAccept = "accept" constant CompressionS2Auto (line 442) | CompressionS2Auto = "s2_auto" constant CompressionS2Uncompressed (line 443) | CompressionS2Uncompressed = "s2_uncompressed" constant CompressionS2Fast (line 444) | CompressionS2Fast = "s2_fast" constant CompressionS2Better (line 445) | CompressionS2Better = "s2_better" constant CompressionS2Best (line 446) | CompressionS2Best = "s2_best" function validateAndNormalizeCompressionOption (line 467) | func validateAndNormalizeCompressionOption(c *CompressionOpts, chosenMod... function needsCompression (line 550) | func needsCompression(m string) bool { function selectCompressionMode (line 560) | func selectCompressionMode(scm, rcm string) (mode string, err error) { function compressionModeForInfoProtocol (line 600) | func compressionModeForInfoProtocol(co *CompressionOpts, cm string) stri... function selectS2AutoModeBasedOnRTT (line 619) | func selectS2AutoModeBasedOnRTT(rtt time.Duration, rttThresholds []time.... function compressOptsEqual (line 649) | func compressOptsEqual(c1, c2 *CompressionOpts) bool { function s2WriterOptions (line 679) | func s2WriterOptions(cm string) []s2.WriterOption { function New (line 699) | func New(opts *Options) *Server { function NewServerFromConfig (line 704) | func NewServerFromConfig(opts *Options) (*Server, error) { function NewServer (line 717) | func NewServer(opts *Options) (*Server, error) { function validateCluster (line 1112) | func validateCluster(o *Options) error { function validatePinnedCerts (line 1148) | func validatePinnedCerts(pinned PinnedCertSet) error { function validateOptions (line 1159) | func validateOptions(o *Options) error { function checkTrustedKeyString (line 1634) | func checkTrustedKeyString(keys string) []string { function PrintAndDie (line 1665) | func PrintAndDie(msg string) { function PrintServerAndExit (line 1671) | func PrintServerAndExit() { function ProcessCommandLineArgs (line 1679) | func ProcessCommandLineArgs(cmd *flag.FlagSet) (showVersion bool, showHe... constant RootPath (line 3037) | RootPath = "/" constant VarzPath (line 3038) | VarzPath = "/varz" constant ConnzPath (line 3039) | ConnzPath = "/connz" constant RoutezPath (line 3040) | RoutezPath = "/routez" constant GatewayzPath (line 3041) | GatewayzPath = "/gatewayz" constant LeafzPath (line 3042) | LeafzPath = "/leafz" constant SubszPath (line 3043) | SubszPath = "/subsz" constant StackszPath (line 3044) | StackszPath = "/stacksz" constant AccountzPath (line 3045) | AccountzPath = "/accountz" constant AccountStatzPath (line 3046) | AccountStatzPath = "/accstatz" constant JszPath (line 3047) | JszPath = "/jsz" constant HealthzPath (line 3048) | HealthzPath = "/healthz" constant IPQueuesPath (line 3049) | IPQueuesPath = "/ipqueuesz" constant RaftzPath (line 3050) | RaftzPath = "/raftz" constant ExpvarzPath (line 3051) | ExpvarzPath = "/debug/vars" type captureHTTPServerLog (line 3058) | type captureHTTPServerLog struct method Write (line 3063) | func (cl *captureHTTPServerLog) Write(p []byte) (int, error) { type tlsMixConn (line 3229) | type tlsMixConn struct method Read (line 3235) | func (c *tlsMixConn) Read(b []byte) (int, error) { function tlsTimeout (line 3663) | func tlsTimeout(c *client, conn *tls.Conn) { function tlsVersion (line 3680) | func tlsVersion(ver uint16) string { function tlsVersionFromString (line 3694) | func tlsVersionFromString(ver string) (uint16, error) { type pprofLabels (line 4055) | type pprofLabels function setGoRoutineLabels (line 4057) | func setGoRoutineLabels(tags ...pprofLabels) { function resolveHostPorts (line 4199) | func resolveHostPorts(addr net.Listener) []string { function formatURL (line 4228) | func formatURL(protocol string, addr net.Listener) []string { type Ports (line 4237) | type Ports struct FILE: server/server_fuzz_test.go constant tlsHandshake (line 28) | tlsHandshake byte = 22 constant tlsClientHello (line 29) | tlsClientHello byte = 1 type ClientHelloInjector (line 32) | type ClientHelloInjector struct method inject (line 46) | func (i *ClientHelloInjector) inject(b []byte) []byte { method Write (line 102) | func (i *ClientHelloInjector) Write(b []byte) (int, error) { method Read (line 106) | func (i *ClientHelloInjector) Read(b []byte) (int, error) { method Close (line 110) | func (i *ClientHelloInjector) Close() error { function NewClientHelloInjector (line 38) | func NewClientHelloInjector(s io.ReadWriteCloser, tlsVer uint16, b []byt... type FakeSocket (line 114) | type FakeSocket struct method Write (line 129) | func (s *FakeSocket) Write(b []byte) (int, error) { method readChunk (line 138) | func (s *FakeSocket) readChunk(b []byte) (int, error) { method Read (line 144) | func (s *FakeSocket) Read(b []byte) (int, error) { method Close (line 161) | func (s *FakeSocket) Close() error { function NewFakeSocket (line 121) | func NewFakeSocket(name string, capacity int) *FakeSocket { type FakeConn (line 166) | type FakeConn struct method Read (line 178) | func (c *FakeConn) Read(b []byte) (int, error) { method Write (line 182) | func (c *FakeConn) Write(b []byte) (int, error) { method Close (line 186) | func (c *FakeConn) Close() error { method LocalAddr (line 190) | func (c *FakeConn) LocalAddr() net.Addr { method RemoteAddr (line 194) | func (c *FakeConn) RemoteAddr() net.Addr { method SetDeadline (line 198) | func (c *FakeConn) SetDeadline(t time.Time) error { method SetReadDeadline (line 202) | func (c *FakeConn) SetReadDeadline(t time.Time) error { method SetWriteDeadline (line 206) | func (c *FakeConn) SetWriteDeadline(t time.Time) error { function NewFakeConn (line 171) | func NewFakeConn(loc io.ReadWriteCloser, rem io.ReadWriteCloser) *FakeCo... type FakeListener (line 210) | type FakeListener struct method Accept (line 222) | func (ln *FakeListener) Accept() (c net.Conn, err error) { method Close (line 226) | func (ln *FakeListener) Close() error { method Addr (line 232) | func (ln *FakeListener) Addr() net.Addr { function NewFakeListener (line 215) | func NewFakeListener() *FakeListener { function getTlsVersion (line 236) | func getTlsVersion(useTls13 bool) uint16 { function corruptCert (line 244) | func corruptCert(crt []byte, i uint16) []byte { function runServerWithListener (line 249) | func runServerWithListener(ln net.Listener, opts *Options) *Server { type MathRandReader (line 275) | type MathRandReader method Read (line 277) | func (m MathRandReader) Read(buf []byte) (int, error) { function FuzzServerTLS (line 306) | func FuzzServerTLS(f *testing.F) { FILE: server/server_test.go function checkForErr (line 44) | func checkForErr(totalWait, sleepDur time.Duration, f func() error) error { function checkFor (line 57) | func checkFor(t testing.TB, totalWait, sleepDur time.Duration, f func() ... function DefaultOptions (line 66) | func DefaultOptions() *Options { function RunServer (line 80) | func RunServer(opts *Options) *Server { function LoadConfig (line 111) | func LoadConfig(configFile string) (opts *Options) { function RunServerWithConfig (line 121) | func RunServerWithConfig(configFile string) (srv *Server, opts *Options) { function TestSemanticVersion (line 127) | func TestSemanticVersion(t *testing.T) { function TestVersionMatchesTag (line 133) | func TestVersionMatchesTag(t *testing.T) { function TestStartProfiler (line 162) | func TestStartProfiler(t *testing.T) { function TestStartupAndShutdown (line 170) | func TestStartupAndShutdown(t *testing.T) { function TestTLSVersions (line 203) | func TestTLSVersions(t *testing.T) { function TestTLSMinVersionConfig (line 223) | func TestTLSMinVersionConfig(t *testing.T) { function TestTLSCipher (line 321) | func TestTLSCipher(t *testing.T) { function TestGetConnectURLs (line 343) | func TestGetConnectURLs(t *testing.T) { function TestInfoServerNameDefaultsToPK (line 417) | func TestInfoServerNameDefaultsToPK(t *testing.T) { function TestInfoServerNameIsSettable (line 429) | func TestInfoServerNameIsSettable(t *testing.T) { function TestClientAdvertiseConnectURL (line 442) | func TestClientAdvertiseConnectURL(t *testing.T) { function TestClientAdvertiseInCluster (line 492) | func TestClientAdvertiseInCluster(t *testing.T) { function TestClientAdvertiseErrorOnStartup (line 537) | func TestClientAdvertiseErrorOnStartup(t *testing.T) { function TestNoDeadlockOnStartFailure (line 544) | func TestNoDeadlockOnStartFailure(t *testing.T) { function TestMaxConnections (line 571) | func TestMaxConnections(t *testing.T) { function TestMaxConnectionsPreventsAll (line 591) | func TestMaxConnectionsPreventsAll(t *testing.T) { function TestMaxSubscriptions (line 602) | func TestMaxSubscriptions(t *testing.T) { function TestProcessCommandLineArgs (line 629) | func TestProcessCommandLineArgs(t *testing.T) { function TestRandomPorts (line 676) | func TestRandomPorts(t *testing.T) { function TestNilMonitoringPort (line 698) | func TestNilMonitoringPort(t *testing.T) { type DummyAuth (line 711) | type DummyAuth struct method Check (line 718) | func (d *DummyAuth) Check(c ClientAuthentication) bool { function TestCustomClientAuthentication (line 742) | func TestCustomClientAuthentication(t *testing.T) { function TestCustomRouterAuthentication (line 769) | func TestCustomRouterAuthentication(t *testing.T) { function TestMonitoringNoTimeout (line 798) | func TestMonitoringNoTimeout(t *testing.T) { function TestProfilingNoTimeout (line 817) | func TestProfilingNoTimeout(t *testing.T) { function TestLameDuckOptionsValidation (line 846) | func TestLameDuckOptionsValidation(t *testing.T) { function testSetLDMGracePeriod (line 859) | func testSetLDMGracePeriod(o *Options, val time.Duration) { function TestLameDuckMode (line 867) | func TestLameDuckMode(t *testing.T) { function TestLameDuckModeInfo (line 1076) | func TestLameDuckModeInfo(t *testing.T) { function TestServerValidateGatewaysOptions (line 1253) | func TestServerValidateGatewaysOptions(t *testing.T) { function TestAcceptError (line 1321) | func TestAcceptError(t *testing.T) { function TestServerShutdownDuringStart (line 1364) | func TestServerShutdownDuringStart(t *testing.T) { type myDummyDNSResolver (line 1441) | type myDummyDNSResolver struct method LookupHost (line 1446) | func (r *myDummyDNSResolver) LookupHost(ctx context.Context, host stri... function TestGetRandomIP (line 1453) | func TestGetRandomIP(t *testing.T) { type shortWriteConn (line 1539) | type shortWriteConn struct method Write (line 1543) | func (swc *shortWriteConn) Write(b []byte) (int, error) { function TestClientWriteLoopStall (line 1558) | func TestClientWriteLoopStall(t *testing.T) { function TestInsecureSkipVerifyWarning (line 1609) | func TestInsecureSkipVerifyWarning(t *testing.T) { function TestConnectErrorReports (line 1704) | func TestConnectErrorReports(t *testing.T) { function TestReconnectErrorReports (line 1855) | func TestReconnectErrorReports(t *testing.T) { function TestServerLogsConfigurationFile (line 2055) | func TestServerLogsConfigurationFile(t *testing.T) { function TestServerRateLimitLogging (line 2079) | func TestServerRateLimitLogging(t *testing.T) { function TestServerAuthBlockAndSysAccounts (line 2207) | func TestServerAuthBlockAndSysAccounts(t *testing.T) { function TestServerConfigLastLineComments (line 2233) | func TestServerConfigLastLineComments(t *testing.T) { function TestServerClusterAndGatewayNameNoSpace (line 2250) | func TestServerClusterAndGatewayNameNoSpace(t *testing.T) { function TestServerClientURL (line 2300) | func TestServerClientURL(t *testing.T) { function TestServerJsonMarshalNestedStructsPanic (line 2319) | func TestServerJsonMarshalNestedStructsPanic(t *testing.T) { function TestBuildinfoFormatRevision (line 2338) | func TestBuildinfoFormatRevision(t *testing.T) { FILE: server/service.go function Run (line 20) | func Run(server *Server) error { function isWindowsService (line 26) | func isWindowsService() bool { FILE: server/service_test.go function TestRun (line 23) | func TestRun(t *testing.T) { FILE: server/service_windows.go constant reopenLogCode (line 24) | reopenLogCode = 128 constant reopenLogCmd (line 25) | reopenLogCmd = svc.Cmd(reopenLogCode) constant ldmCode (line 26) | ldmCode = 129 constant ldmCmd (line 27) | ldmCmd = svc.Cmd(ldmCode) constant acceptReopenLog (line 28) | acceptReopenLog = svc.Accepted(reopenLogCode) function SetServiceName (line 34) | func SetServiceName(name string) { type winServiceWrapper (line 40) | type winServiceWrapper struct method Execute (line 63) | func (w *winServiceWrapper) Execute(args []string, changes <-chan svc.... function init (line 46) | func init() { function Run (line 123) | func Run(server *Server) error { function isWindowsService (line 140) | func isWindowsService() bool { FILE: server/service_windows_test.go function TestWinServiceWrapper (line 29) | func TestWinServiceWrapper(t *testing.T) { function TestWinServiceLDMExit (line 82) | func TestWinServiceLDMExit(t *testing.T) { type winSvcMock (line 148) | type winSvcMock struct method Expect (line 154) | func (w *winSvcMock) Expect(st svc.State) { method Listen (line 159) | func (w *winSvcMock) Listen(dur time.Duration) error { FILE: server/signal.go function SetProcessName (line 32) | func SetProcessName(name string) { method handleSignals (line 37) | func (s *Server) handleSignals() { function ProcessSignal (line 89) | func ProcessSignal(command Command, pidExpr string) error { function CommandToSignal (line 145) | func CommandToSignal(command Command) (syscall.Signal, error) { function resolvePids (line 165) | func resolvePids() ([]int, error) { FILE: server/signal_test.go function TestSignalToReOpenLogFile (line 33) | func TestSignalToReOpenLogFile(t *testing.T) { function TestSignalToReloadConfig (line 77) | func TestSignalToReloadConfig(t *testing.T) { function TestProcessSignalNoProcesses (line 123) | func TestProcessSignalNoProcesses(t *testing.T) { function TestProcessSignalMultipleProcesses (line 142) | func TestProcessSignalMultipleProcesses(t *testing.T) { function TestProcessSignalMultipleProcessesGlob (line 162) | func TestProcessSignalMultipleProcessesGlob(t *testing.T) { function TestProcessSignalMultipleProcessesGlobPartial (line 183) | func TestProcessSignalMultipleProcessesGlobPartial(t *testing.T) { function TestProcessSignalPgrepError (line 204) | func TestProcessSignalPgrepError(t *testing.T) { function TestProcessSignalPgrepMangled (line 223) | func TestProcessSignalPgrepMangled(t *testing.T) { function TestProcessSignalResolveSingleProcess (line 242) | func TestProcessSignalResolveSingleProcess(t *testing.T) { function TestProcessSignalInvalidCommand (line 276) | func TestProcessSignalInvalidCommand(t *testing.T) { function TestProcessSignalInvalidPid (line 287) | func TestProcessSignalInvalidPid(t *testing.T) { function TestProcessSignalQuitProcess (line 298) | func TestProcessSignalQuitProcess(t *testing.T) { function TestProcessSignalTermProcess (line 324) | func TestProcessSignalTermProcess(t *testing.T) { function TestProcessSignalReopenProcess (line 350) | func TestProcessSignalReopenProcess(t *testing.T) { function TestProcessSignalReloadProcess (line 376) | func TestProcessSignalReloadProcess(t *testing.T) { function TestProcessSignalLameDuckMode (line 402) | func TestProcessSignalLameDuckMode(t *testing.T) { function TestProcessSignalTermDuringLameDuckMode (line 428) | func TestProcessSignalTermDuringLameDuckMode(t *testing.T) { function TestSignalInterruptHasSuccessfulExit (line 487) | func TestSignalInterruptHasSuccessfulExit(t *testing.T) { function TestSignalTermHasSuccessfulExit (line 502) | func TestSignalTermHasSuccessfulExit(t *testing.T) { FILE: server/signal_wasm.go method handleSignals (line 18) | func (s *Server) handleSignals() { function ProcessSignal (line 22) | func ProcessSignal(command Command, service string) error { FILE: server/signal_windows.go method handleSignals (line 28) | func (s *Server) handleSignals() { function ProcessSignal (line 53) | func ProcessSignal(command Command, service string) error { FILE: server/split_test.go function TestSplitBufferSubOp (line 22) | func TestSplitBufferSubOp(t *testing.T) { function TestSplitBufferUnsubOp (line 66) | func TestSplitBufferUnsubOp(t *testing.T) { function TestSplitBufferPubOp (line 101) | func TestSplitBufferPubOp(t *testing.T) { function TestSplitBufferPubOp2 (line 167) | func TestSplitBufferPubOp2(t *testing.T) { function TestSplitBufferPubOp3 (line 187) | func TestSplitBufferPubOp3(t *testing.T) { function TestSplitBufferPubOp4 (line 213) | func TestSplitBufferPubOp4(t *testing.T) { function TestSplitBufferPubOp5 (line 239) | func TestSplitBufferPubOp5(t *testing.T) { function TestSplitConnectArg (line 258) | func TestSplitConnectArg(t *testing.T) { function TestSplitDanglingArgBuf (line 306) | func TestSplitDanglingArgBuf(t *testing.T) { function TestSplitRoutedMsgArg (line 418) | func TestSplitRoutedMsgArg(t *testing.T) { function TestSplitBufferMsgOp (line 448) | func TestSplitBufferMsgOp(t *testing.T) { function TestSplitBufferLeafMsgArg (line 521) | func TestSplitBufferLeafMsgArg(t *testing.T) { FILE: server/store.go type StorageType (line 31) | type StorageType method String (line 565) | func (st StorageType) String() string { method MarshalJSON (line 576) | func (st StorageType) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 587) | func (st *StorageType) UnmarshalJSON(data []byte) error { constant FileStorage (line 35) | FileStorage = StorageType(22) constant MemoryStorage (line 37) | MemoryStorage = StorageType(33) type StoreMsg (line 73) | type StoreMsg struct method copy (line 743) | func (smo *StoreMsg) copy(sm *StoreMsg) { method clear (line 754) | func (sm *StoreMsg) clear() { type StorageUpdateHandler (line 84) | type StorageUpdateHandler type StorageRemoveMsgHandler (line 87) | type StorageRemoveMsgHandler type ProcessJetStreamMsgHandler (line 91) | type ProcessJetStreamMsgHandler type StreamStore (line 93) | type StreamStore interface type RetentionPolicy (line 140) | type RetentionPolicy method String (line 481) | func (rp RetentionPolicy) String() string { method MarshalJSON (line 494) | func (rp RetentionPolicy) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 507) | func (rp *RetentionPolicy) UnmarshalJSON(data []byte) error { constant LimitsPolicy (line 145) | LimitsPolicy RetentionPolicy = iota constant InterestPolicy (line 147) | InterestPolicy constant WorkQueuePolicy (line 149) | WorkQueuePolicy type DiscardPolicy (line 154) | type DiscardPolicy method String (line 521) | func (dp DiscardPolicy) String() string { method MarshalJSON (line 532) | func (dp DiscardPolicy) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 543) | func (dp *DiscardPolicy) UnmarshalJSON(data []byte) error { constant DiscardOld (line 158) | DiscardOld = iota constant DiscardNew (line 160) | DiscardNew type StreamState (line 164) | type StreamState struct type SimpleState (line 180) | type SimpleState struct type LostStreamData (line 192) | type LostStreamData struct type SnapshotResult (line 198) | type SnapshotResult struct constant streamStateMagic (line 206) | streamStateMagic = uint8(42) constant streamStateVersion (line 208) | streamStateVersion = uint8(1) constant runLengthMagic (line 210) | runLengthMagic = uint8(33) constant seqSetMagic (line 212) | seqSetMagic = uint8(22) type DeleteBlock (line 220) | type DeleteBlock interface type DeleteBlocks (line 225) | type DeleteBlocks method NumDeleted (line 351) | func (dbs DeleteBlocks) NumDeleted() (total uint64) { type StreamReplicatedState (line 229) | type StreamReplicatedState struct function IsEncodedStreamState (line 239) | func IsEncodedStreamState(buf []byte) bool { function DecodeStreamState (line 245) | func DecodeStreamState(buf []byte) (*StreamReplicatedState, error) { type DeleteRange (line 310) | type DeleteRange struct method State (line 315) | func (dr *DeleteRange) State() (first, last, num uint64) { method Range (line 324) | func (dr *DeleteRange) Range(f func(uint64) bool) { type DeleteSlice (line 333) | type DeleteSlice method State (line 335) | func (ds DeleteSlice) State() (first, last, num uint64) { method Range (line 343) | func (ds DeleteSlice) Range(f func(uint64) bool) { type ConsumerStore (line 360) | type ConsumerStore interface type SequencePair (line 380) | type SequencePair struct type ConsumerState (line 386) | type ConsumerState struct function encodeConsumerState (line 400) | func encodeConsumerState(state *ConsumerState) []byte { type Pending (line 464) | type Pending struct constant limitsPolicyJSONString (line 470) | limitsPolicyJSONString = `"limits"` constant interestPolicyJSONString (line 471) | interestPolicyJSONString = `"interest"` constant workQueuePolicyJSONString (line 472) | workQueuePolicyJSONString = `"workqueue"` constant memoryStorageJSONString (line 556) | memoryStorageJSONString = `"memory"` constant fileStorageJSONString (line 557) | fileStorageJSONString = `"file"` constant ackNonePolicyJSONString (line 600) | ackNonePolicyJSONString = `"none"` constant ackAllPolicyJSONString (line 601) | ackAllPolicyJSONString = `"all"` constant ackExplicitPolicyJSONString (line 602) | ackExplicitPolicyJSONString = `"explicit"` method MarshalJSON (line 611) | func (ap AckPolicy) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 624) | func (ap *AckPolicy) UnmarshalJSON(data []byte) error { constant replayInstantPolicyJSONString (line 639) | replayInstantPolicyJSONString = `"instant"` constant replayOriginalPolicyJSONString (line 640) | replayOriginalPolicyJSONString = `"original"` method MarshalJSON (line 648) | func (rp ReplayPolicy) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 659) | func (rp *ReplayPolicy) UnmarshalJSON(data []byte) error { constant deliverAllPolicyJSONString (line 672) | deliverAllPolicyJSONString = `"all"` constant deliverLastPolicyJSONString (line 673) | deliverLastPolicyJSONString = `"last"` constant deliverNewPolicyJSONString (line 674) | deliverNewPolicyJSONString = `"new"` constant deliverByStartSequenceJSONString (line 675) | deliverByStartSequenceJSONString = `"by_start_sequence"` constant deliverByStartTimeJSONString (line 676) | deliverByStartTimeJSONString = `"by_start_time"` constant deliverLastPerPolicyJSONString (line 677) | deliverLastPerPolicyJSONString = `"last_per_subject"` constant deliverUndefinedJSONString (line 678) | deliverUndefinedJSONString = `"undefined"` method UnmarshalJSON (line 691) | func (p *DeliverPolicy) UnmarshalJSON(data []byte) error { method MarshalJSON (line 712) | func (p DeliverPolicy) MarshalJSON() ([]byte, error) { function isOutOfSpaceErr (line 731) | func isOutOfSpaceErr(err error) bool { function isClusterResetErr (line 738) | func isClusterResetErr(err error) bool { function bytesToString (line 766) | func bytesToString(b []byte) string { function stringToBytes (line 775) | func stringToBytes(s string) []byte { function copyString (line 786) | func copyString(s string) string { function isPermissionError (line 792) | func isPermissionError(err error) bool { FILE: server/store_test.go function testAllStoreAllPermutations (line 29) | func testAllStoreAllPermutations(t *testing.T, compressionAndEncryption ... function TestStoreMsgLoadNextMsgMulti (line 57) | func TestStoreMsgLoadNextMsgMulti(t *testing.T) { function TestStoreLoadNextMsgWildcardStartBeforeFirstMatch (line 118) | func TestStoreLoadNextMsgWildcardStartBeforeFirstMatch(t *testing.T) { function TestStoreDeleteSlice (line 147) | func TestStoreDeleteSlice(t *testing.T) { function TestStoreDeleteRange (line 163) | func TestStoreDeleteRange(t *testing.T) { function TestStoreSubjectStateConsistency (line 179) | func TestStoreSubjectStateConsistency(t *testing.T) { function TestStoreSubjectStateConsistencyOptimization (line 314) | func TestStoreSubjectStateConsistencyOptimization(t *testing.T) { function TestStoreMaxMsgsPerUpdateBug (line 405) | func TestStoreMaxMsgsPerUpdateBug(t *testing.T) { function TestStoreCompactCleansUpDmap (line 449) | func TestStoreCompactCleansUpDmap(t *testing.T) { function TestStoreTruncateCleansUpDmap (line 500) | func TestStoreTruncateCleansUpDmap(t *testing.T) { function TestStorePurgeExZero (line 552) | func TestStorePurgeExZero(t *testing.T) { function TestStoreUpdateConfigTTLState (line 574) | func TestStoreUpdateConfigTTLState(t *testing.T) { function TestStoreStreamInteriorDeleteAccounting (line 621) | func TestStoreStreamInteriorDeleteAccounting(t *testing.T) { function TestStoreMsgLoadPrevMsgMulti (line 752) | func TestStoreMsgLoadPrevMsgMulti(t *testing.T) { function TestStoreDiscardNew (line 788) | func TestStoreDiscardNew(t *testing.T) { function TestStoreGetSeqFromTimeWithInteriorDeletesGap (line 874) | func TestStoreGetSeqFromTimeWithInteriorDeletesGap(t *testing.T) { function TestStoreGetSeqFromTimeWithTrailingDeletes (line 900) | func TestStoreGetSeqFromTimeWithTrailingDeletes(t *testing.T) { function TestFileStoreMultiLastSeqsAndLoadLastMsgWithLazySubjectState (line 921) | func TestFileStoreMultiLastSeqsAndLoadLastMsgWithLazySubjectState(t *tes... FILE: server/stream.go type StreamConfigRequest (line 43) | type StreamConfigRequest struct type StreamConfig (line 52) | type StreamConfig struct method clone (line 134) | func (cfg *StreamConfig) clone() *StreamConfig { type StreamConsumerLimits (line 168) | type StreamConsumerLimits struct type SubjectTransformConfig (line 174) | type SubjectTransformConfig struct type RePublish (line 180) | type RePublish struct type PersistModeType (line 187) | type PersistModeType method String (line 209) | func (wc PersistModeType) String() string { method MarshalJSON (line 220) | func (wc PersistModeType) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 231) | func (wc *PersistModeType) UnmarshalJSON(data []byte) error { constant DefaultPersistMode (line 192) | DefaultPersistMode = PersistModeType(iota) constant AsyncPersistMode (line 196) | AsyncPersistMode constant defaultPersistModeJSONString (line 200) | defaultPersistModeJSONString = `"default"` constant asyncPersistModeJSONString (line 201) | asyncPersistModeJSONString = `"async"` type JSPubAckResponse (line 244) | type JSPubAckResponse struct method ToError (line 251) | func (r *JSPubAckResponse) ToError() error { type PubAck (line 260) | type PubAck struct type CounterValue (line 272) | type CounterValue struct type CounterSources (line 278) | type CounterSources type BatchFlowAck (line 284) | type BatchFlowAck struct method MarshalJSON (line 296) | func (ack BatchFlowAck) MarshalJSON() []byte { type BatchFlowGap (line 306) | type BatchFlowGap struct method MarshalJSON (line 316) | func (gap BatchFlowGap) MarshalJSON() []byte { type BatchFlowErr (line 326) | type BatchFlowErr struct method MarshalJSON (line 337) | func (err BatchFlowErr) MarshalJSON() []byte { type StreamInfo (line 346) | type StreamInfo struct type streamInfoClusterResponse (line 361) | type streamInfoClusterResponse struct type StreamAlternate (line 366) | type StreamAlternate struct type ClusterInfo (line 374) | type ClusterInfo struct type PeerInfo (line 386) | type PeerInfo struct type StreamSourceInfo (line 398) | type StreamSourceInfo struct type StreamSource (line 409) | type StreamSource struct method composeIName (line 1071) | func (ssi *StreamSource) composeIName() string { method setIndexName (line 1111) | func (ssi *StreamSource) setIndexName() { type ExternalStream (line 422) | type ExternalStream struct method Domain (line 428) | func (ext *ExternalStream) Domain() string { constant streamDefaultMaxQueueMsgs (line 437) | streamDefaultMaxQueueMsgs = 100_000 constant streamDefaultMaxQueueBytes (line 438) | streamDefaultMaxQueueBytes = 128 * 1024 * 1024 constant streamDefaultMaxBatchTimeout (line 443) | streamDefaultMaxBatchTimeout = 10 * time.Second constant streamDefaultMaxAtomicBatchInflightPerStream (line 445) | streamDefaultMaxAtomicBatchInflightPerStream = 50 constant streamDefaultMaxAtomicBatchInflightTotal (line 446) | streamDefaultMaxAtomicBatchInflightTotal = 1000 constant streamDefaultMaxAtomicBatchSize (line 447) | streamDefaultMaxAtomicBatchSize = 1000 constant streamDefaultMaxFastBatchInflightPerStream (line 449) | streamDefaultMaxFastBatchInflightPerStream = 1000 constant streamDefaultMaxFastBatchInflightTotal (line 450) | streamDefaultMaxFastBatchInflightTotal = 50_000 type stream (line 466) | type stream struct method streamAssignment (line 1115) | func (mset *stream) streamAssignment() *streamAssignment { method setStreamAssignment (line 1121) | func (mset *stream) setStreamAssignment(sa *streamAssignment) { method monitorQuitC (line 1166) | func (mset *stream) monitorQuitC() <-chan struct{} { method signalMonitorQuit (line 1181) | func (mset *stream) signalMonitorQuit() { method updateC (line 1190) | func (mset *stream) updateC() <-chan struct{} { method IsLeader (line 1200) | func (mset *stream) IsLeader() bool { method isLeader (line 1207) | func (mset *stream) isLeader() bool { method isLeaderNodeState (line 1219) | func (mset *stream) isLeaderNodeState() bool { method setLeader (line 1227) | func (mset *stream) setLeader(isLeader bool) error { method startClusterSubs (line 1284) | func (mset *stream) startClusterSubs() { method stopClusterSubs (line 1291) | func (mset *stream) stopClusterSubs() { method account (line 1299) | func (mset *stream) account() *Account { method accountLocked (line 1303) | func (mset *stream) accountLocked(needLock bool) *Account { method maxMsgSize (line 1318) | func (mset *stream) maxMsgSize() uint64 { method autoTuneFileStorageBlockSize (line 1354) | func (mset *stream) autoTuneFileStorageBlockSize(fsCfg *FileStoreConfi... method rebuildDedupe (line 1391) | func (mset *stream) rebuildDedupe() { method lastSeqAndCLFS (line 1425) | func (mset *stream) lastSeqAndCLFS() (uint64, uint64) { method getCLFS (line 1429) | func (mset *stream) getCLFS() uint64 { method setCLFS (line 1438) | func (mset *stream) setCLFS(clfs uint64) { method lastSeq (line 1444) | func (mset *stream) lastSeq() uint64 { method setLastSeq (line 1452) | func (mset *stream) setLastSeq(lseq uint64) { method sendCreateAdvisory (line 1456) | func (mset *stream) sendCreateAdvisory() { method sendDeleteAdvisoryLocked (line 1488) | func (mset *stream) sendDeleteAdvisoryLocked() { method sendUpdateAdvisoryLocked (line 1511) | func (mset *stream) sendUpdateAdvisoryLocked() { method sendStreamBatchAbandonedAdvisory (line 1534) | func (mset *stream) sendStreamBatchAbandonedAdvisory(batchId string, r... method createdTime (line 1563) | func (mset *stream) createdTime() time.Time { method setCreatedTime (line 1571) | func (mset *stream) setCreatedTime(created time.Time) { method config (line 2180) | func (mset *stream) config() StreamConfig { method fileStoreConfig (line 2186) | func (mset *stream) fileStoreConfig() (FileStoreConfig, error) { method update (line 2333) | func (mset *stream) update(config *StreamConfig) error { method updatePedantic (line 2337) | func (mset *stream) updatePedantic(config *StreamConfig, pedantic bool... method updateWithAdvisory (line 2342) | func (mset *stream) updateWithAdvisory(config *StreamConfig, sendAdvis... method getCfgName (line 2660) | func (mset *stream) getCfgName() string { method purge (line 2667) | func (mset *stream) purge(preq *JSApiStreamPurgeRequest) (purged uint6... method purgeLocked (line 2671) | func (mset *stream) purgeLocked(preq *JSApiStreamPurgeRequest, needLoc... method removeMsg (line 2749) | func (mset *stream) removeMsg(seq uint64) (bool, error) { method deleteMsg (line 2754) | func (mset *stream) deleteMsg(seq uint64) (bool, error) { method eraseMsg (line 2769) | func (mset *stream) eraseMsg(seq uint64) (bool, error) { method isMirror (line 2784) | func (mset *stream) isMirror() bool { method sourcesInfo (line 2790) | func (mset *stream) sourcesInfo() (sis []*StreamSourceInfo) { method sourceInfo (line 2801) | func (mset *stream) sourceInfo(si *sourceInfo) *StreamSourceInfo { method mirrorInfo (line 2842) | func (mset *stream) mirrorInfo() *StreamSourceInfo { method retryDisconnectedSyncConsumers (line 2850) | func (mset *stream) retryDisconnectedSyncConsumers() { method processMirrorMsgs (line 2891) | func (mset *stream) processMirrorMsgs(mirror *sourceInfo, ready *sync.... method processInboundMirrorMsg (line 2972) | func (mset *stream) processInboundMirrorMsg(m *inMsg) bool { method setMirrorErr (line 3125) | func (mset *stream) setMirrorErr(err *ApiError) { method cancelMirrorConsumer (line 3136) | func (mset *stream) cancelMirrorConsumer() { method retryMirrorConsumer (line 3147) | func (mset *stream) retryMirrorConsumer() error { method skipMsgs (line 3156) | func (mset *stream) skipMsgs(start, end uint64) { method scheduleSetupMirrorConsumerRetry (line 3207) | func (mset *stream) scheduleSetupMirrorConsumerRetry() { method setupMirrorConsumer (line 3234) | func (mset *stream) setupMirrorConsumer() error { method streamSource (line 3528) | func (mset *stream) streamSource(iname string) *StreamSource { method retrySourceConsumerAtSeq (line 3538) | func (mset *stream) retrySourceConsumerAtSeq(iName string, seq uint64) { method cancelSourceConsumer (line 3548) | func (mset *stream) cancelSourceConsumer(iname string) { method cancelSourceInfo (line 3561) | func (mset *stream) cancelSourceInfo(si *sourceInfo) { method setupSourceConsumer (line 3588) | func (mset *stream) setupSourceConsumer(iname string, seq uint64, star... method trySetupSourceConsumer (line 3632) | func (mset *stream) trySetupSourceConsumer(iname string, seq uint64, s... method processAllSourceMsgs (line 3862) | func (mset *stream) processAllSourceMsgs() { method sendFlowControlReply (line 3952) | func (mset *stream) sendFlowControlReply(reply string) { method handleFlowControl (line 3960) | func (mset *stream) handleFlowControl(m *inMsg) { method processInboundSourceMsg (line 3970) | func (mset *stream) processInboundSourceMsg(si *sourceInfo, m *inMsg) ... method setStartingSequenceForSources (line 4192) | func (mset *stream) setStartingSequenceForSources(iNames map[string]st... method resetSourceInfo (line 4285) | func (mset *stream) resetSourceInfo() { method startingSequenceForSources (line 4320) | func (mset *stream) startingSequenceForSources() { method setupSourceConsumers (line 4431) | func (mset *stream) setupSourceConsumers() error { method subscribeToStream (line 4461) | func (mset *stream) subscribeToStream() error { method subscribeToDirect (line 4519) | func (mset *stream) subscribeToDirect() error { method unsubscribeToDirect (line 4544) | func (mset *stream) unsubscribeToDirect() { method subscribeToMirrorDirect (line 4556) | func (mset *stream) subscribeToMirrorDirect() error { method unsubscribeToMirrorDirect (line 4587) | func (mset *stream) unsubscribeToMirrorDirect() { method stopSourceConsumers (line 4600) | func (mset *stream) stopSourceConsumers() { method removeInternalConsumer (line 4607) | func (mset *stream) removeInternalConsumer(si *sourceInfo) { method unsubscribeToStream (line 4616) | func (mset *stream) unsubscribeToStream(stopping, shuttingDown bool) e... method deleteAtomicBatches (line 4659) | func (mset *stream) deleteAtomicBatches(shuttingDown bool) { method deleteBatchApplyState (line 4676) | func (mset *stream) deleteBatchApplyState() { method deleteFastBatches (line 4687) | func (mset *stream) deleteFastBatches() { method subscribeInternal (line 4699) | func (mset *stream) subscribeInternal(subject string, cb msgHandler) (... method queueSubscribeInternal (line 4713) | func (mset *stream) queueSubscribeInternal(subject, group string, cb m... method unsubscribeInternal (line 4730) | func (mset *stream) unsubscribeInternal(subject string) error { method unsubscribe (line 4752) | func (mset *stream) unsubscribe(sub *subscription) { method setupStore (line 4759) | func (mset *stream) setupStore(fsCfg *FileStoreConfig) error { method storeUpdates (line 4818) | func (mset *stream) storeUpdates(md, bd int64, seq uint64, subj string) { method numMsgIds (line 4849) | func (mset *stream) numMsgIds() int { method checkMsgId (line 4857) | func (mset *stream) checkMsgId(id string) *ddentry { method purgeMsgIds (line 4866) | func (mset *stream) purgeMsgIds() { method storeMsgId (line 4913) | func (mset *stream) storeMsgId(dde *ddentry) { method storeMsgIdLocked (line 4921) | func (mset *stream) storeMsgIdLocked(dde *ddentry) { method IsClustered (line 5246) | func (mset *stream) IsClustered() bool { method isClustered (line 5253) | func (mset *stream) isClustered() bool { method queueInbound (line 5279) | func (mset *stream) queueInbound(ib *ipQueue[*inMsg], subj, rply strin... method processDirectGetRequest (line 5308) | func (mset *stream) processDirectGetRequest(_ *subscription, c *client... method processDirectGetLastBySubjectRequest (line 5362) | func (mset *stream) processDirectGetLastBySubjectRequest(_ *subscripti... method getDirectMulti (line 5433) | func (mset *stream) getDirectMulti(req *JSApiMsgGetRequest, reply stri... method getDirectRequest (line 5546) | func (mset *stream) getDirectRequest(req *JSApiMsgGetRequest, reply st... method processInboundJetStreamMsg (line 5684) | func (mset *stream) processInboundJetStreamMsg(_ *subscription, c *cli... method processJetStreamMsg (line 5712) | func (mset *stream) processJetStreamMsg(subject, reply string, hdr, ms... method processJetStreamMsgWithBatch (line 5716) | func (mset *stream) processJetStreamMsgWithBatch(subject, reply string... method processJetStreamAtomicBatchMsg (line 6615) | func (mset *stream) processJetStreamAtomicBatchMsg(batchId, subject, r... method processJetStreamFastBatchMsg (line 6990) | func (mset *stream) processJetStreamFastBatchMsg(batch *FastBatch, sub... method signalConsumersLoop (line 7334) | func (mset *stream) signalConsumersLoop() { method signalConsumers (line 7359) | func (mset *stream) signalConsumers(subj string, seq uint64) { method setupSendCapabilities (line 7460) | func (mset *stream) setupSendCapabilities() { method accName (line 7472) | func (mset *stream) accName() string { method name (line 7483) | func (mset *stream) name() string { method nameLocked (line 7487) | func (mset *stream) nameLocked(needLock bool) string { method internalLoop (line 7498) | func (mset *stream) internalLoop() { method resetAndWaitOnConsumers (line 7632) | func (mset *stream) resetAndWaitOnConsumers() { method delete (line 7653) | func (mset *stream) delete() error { method stop (line 7661) | func (mset *stream) stop(deleteFlag, advisory bool) error { method getMsg (line 7843) | func (mset *stream) getMsg(seq uint64) (*StoredMsg, error) { method getConsumers (line 7860) | func (mset *stream) getConsumers() []*consumer { method numPublicConsumers (line 7867) | func (mset *stream) numPublicConsumers() int { method getPublicConsumers (line 7872) | func (mset *stream) getPublicConsumers() []*consumer { method getDirectConsumers (line 7886) | func (mset *stream) getDirectConsumers() []*consumer { method checkInterestState (line 7913) | func (mset *stream) checkInterestState() { method isInterestRetention (line 7946) | func (mset *stream) isInterestRetention() bool { method numConsumers (line 7953) | func (mset *stream) numConsumers() int { method setConsumer (line 7960) | func (mset *stream) setConsumer(o *consumer) { method removeConsumer (line 7981) | func (mset *stream) removeConsumer(o *consumer) { method swapSigSubs (line 8010) | func (mset *stream) swapSigSubs(o *consumer, newFilters []string) { method lookupConsumer (line 8058) | func (mset *stream) lookupConsumer(name string) *consumer { method numDirectConsumers (line 8064) | func (mset *stream) numDirectConsumers() (num int) { method state (line 8080) | func (mset *stream) state() StreamState { method stateWithDetail (line 8084) | func (mset *stream) stateWithDetail(details bool) StreamState { method Store (line 8102) | func (mset *stream) Store() StreamStore { method partitionUnique (line 8110) | func (mset *stream) partitionUnique(name string, partitions []string) ... method potentialFilteredConsumers (line 8135) | func (mset *stream) potentialFilteredConsumers() bool { method noInterest (line 8149) | func (mset *stream) noInterest(seq uint64, obs *consumer) bool { method noInterestWithSubject (line 8156) | func (mset *stream) noInterestWithSubject(seq uint64, subj string, obs... method checkForInterest (line 8161) | func (mset *stream) checkForInterest(seq uint64, obs *consumer) bool { method checkForInterestWithSubject (line 8182) | func (mset *stream) checkForInterestWithSubject(seq uint64, subj strin... method hasPreAck (line 8199) | func (mset *stream) hasPreAck(o *consumer, seq uint64) bool { method hasAllPreAcks (line 8213) | func (mset *stream) hasAllPreAcks(seq uint64, subj string) bool { method clearAllPreAcks (line 8224) | func (mset *stream) clearAllPreAcks(seq uint64) { method clearAllPreAcksBelowFloor (line 8230) | func (mset *stream) clearAllPreAcksBelowFloor(floor uint64) { method registerPreAckLock (line 8239) | func (mset *stream) registerPreAckLock(o *consumer, seq uint64) { method registerPreAck (line 8248) | func (mset *stream) registerPreAck(o *consumer, seq uint64) { method clearPreAck (line 8263) | func (mset *stream) clearPreAck(o *consumer, seq uint64) { method ackMsg (line 8278) | func (mset *stream) ackMsg(o *consumer, seq uint64) bool { method snapshot (line 8363) | func (mset *stream) snapshot(deadline time.Duration, checkMsgs, includ... method checkForOrphanMsgs (line 8578) | func (mset *stream) checkForOrphanMsgs() { method checkConsumerReplication (line 8606) | func (mset *stream) checkConsumerReplication() { method checkInMonitor (line 8628) | func (mset *stream) checkInMonitor() bool { method clearMonitorRunning (line 8640) | func (mset *stream) clearMonitorRunning() { method isMonitorRunning (line 8650) | func (mset *stream) isMonitorRunning() bool { method setWriteErr (line 8657) | func (mset *stream) setWriteErr(err error) { method setWriteErrLocked (line 8663) | func (mset *stream) setWriteErrLocked(err error) { method getWriteErr (line 8687) | func (mset *stream) getWriteErr() error { method trackReplicationTraffic (line 8694) | func (mset *stream) trackReplicationTraffic(node RaftNode, sz int, r i... type inflightSubjectRunningTotal (line 579) | type inflightSubjectRunningTotal struct type msgCounterRunningTotal (line 586) | type msgCounterRunningTotal struct type sourceInfo (line 592) | type sourceInfo struct method isCurrentSub (line 2967) | func (si *sourceInfo) isCurrentSub(reply string) bool { method genSourceHeader (line 4123) | func (si *sourceInfo) genSourceHeader(orig, reply string) string { constant dgetGroup (line 616) | dgetGroup = sysGroup constant dgetCaughtUpThresh (line 617) | dgetCaughtUpThresh = 10 constant JSMsgId (line 622) | JSMsgId = "Nats-Msg-Id" constant JSExpectedStream (line 623) | JSExpectedStream = "Nats-Expected-Stream" constant JSExpectedLastSeq (line 624) | JSExpectedLastSeq = "Nats-Expected-Last-Sequence" constant JSExpectedLastSubjSeq (line 625) | JSExpectedLastSubjSeq = "Nats-Expected-Last-Subject-Sequence" constant JSExpectedLastSubjSeqSubj (line 626) | JSExpectedLastSubjSeqSubj = "Nats-Expected-Last-Subject-Sequence-Subject" constant JSExpectedLastMsgId (line 627) | JSExpectedLastMsgId = "Nats-Expected-Last-Msg-Id" constant JSStreamSource (line 628) | JSStreamSource = "Nats-Stream-Source" constant JSLastConsumerSeq (line 629) | JSLastConsumerSeq = "Nats-Last-Consumer" constant JSLastStreamSeq (line 630) | JSLastStreamSeq = "Nats-Last-Stream" constant JSConsumerStalled (line 631) | JSConsumerStalled = "Nats-Consumer-Stalled" constant JSMsgRollup (line 632) | JSMsgRollup = "Nats-Rollup" constant JSMsgSize (line 633) | JSMsgSize = "Nats-Msg-Size" constant JSResponseType (line 634) | JSResponseType = "Nats-Response-Type" constant JSMessageTTL (line 635) | JSMessageTTL = "Nats-TTL" constant JSMarkerReason (line 636) | JSMarkerReason = "Nats-Marker-Reason" constant JSMessageIncr (line 637) | JSMessageIncr = "Nats-Incr" constant JSMessageCounterSources (line 638) | JSMessageCounterSources = "Nats-Counter-Sources" constant JSBatchId (line 639) | JSBatchId = "Nats-Batch-Id" constant JSBatchSeq (line 640) | JSBatchSeq = "Nats-Batch-Sequence" constant JSBatchCommit (line 641) | JSBatchCommit = "Nats-Batch-Commit" constant JSSchedulePattern (line 642) | JSSchedulePattern = "Nats-Schedule" constant JSScheduleTimeZone (line 643) | JSScheduleTimeZone = "Nats-Schedule-Time-Zone" constant JSScheduleTTL (line 644) | JSScheduleTTL = "Nats-Schedule-TTL" constant JSScheduleTarget (line 645) | JSScheduleTarget = "Nats-Schedule-Target" constant JSScheduleSource (line 646) | JSScheduleSource = "Nats-Schedule-Source" constant JSScheduler (line 657) | JSScheduler = "Nats-Scheduler" constant JSScheduleNext (line 658) | JSScheduleNext = "Nats-Schedule-Next" constant JSScheduleNextPurge (line 659) | JSScheduleNextPurge = "purge" constant JSStream (line 664) | JSStream = "Nats-Stream" constant JSSequence (line 665) | JSSequence = "Nats-Sequence" constant JSTimeStamp (line 666) | JSTimeStamp = "Nats-Time-Stamp" constant JSSubject (line 667) | JSSubject = "Nats-Subject" constant JSLastSequence (line 668) | JSLastSequence = "Nats-Last-Sequence" constant JSNumPending (line 669) | JSNumPending = "Nats-Num-Pending" constant JSUpToSequence (line 670) | JSUpToSequence = "Nats-UpTo-Sequence" constant JSMsgRollupSubject (line 675) | JSMsgRollupSubject = "sub" constant JSMsgRollupAll (line 676) | JSMsgRollupAll = "all" constant JSMarkerReasonMaxAge (line 681) | JSMarkerReasonMaxAge = "MaxAge" constant JSMarkerReasonPurge (line 682) | JSMarkerReasonPurge = "Purge" constant JSMarkerReasonRemove (line 683) | JSMarkerReasonRemove = "Remove" constant jsCreateResponse (line 687) | jsCreateResponse = "create" type ddentry (line 691) | type ddentry struct constant StreamMaxReplicas (line 698) | StreamMaxReplicas = 5 method addStream (line 701) | func (a *Account) addStream(config *StreamConfig) (*stream, error) { method recoverStream (line 706) | func (a *Account) recoverStream(config *StreamConfig) (*stream, error) { method addStreamWithStore (line 711) | func (a *Account) addStreamWithStore(config *StreamConfig, fsConfig *Fil... method addStreamPedantic (line 715) | func (a *Account) addStreamPedantic(config *StreamConfig, pedantic bool)... method addStreamWithAssignment (line 719) | func (a *Account) addStreamWithAssignment(config *StreamConfig, fsConfig... method subjectsOverlap (line 1580) | func (jsa *jsAccount) subjectsOverlap(subjects []string, self *stream) b... constant StreamDefaultDuplicatesWindow (line 1597) | StreamDefaultDuplicatesWindow = 2 * time.Minute method checkStreamCfg (line 1599) | func (s *Server) checkStreamCfg(config *StreamConfig, acc *Account, peda... method configUpdateCheck (line 2197) | func (jsa *jsAccount) configUpdateCheck(old, new *StreamConfig, s *Serve... constant sourceHealthHB (line 2885) | sourceHealthHB = 1 * time.Second constant sourceHealthCheckInterval (line 2887) | sourceHealthCheckInterval = 10 * time.Second constant retryBackOff (line 3186) | retryBackOff = 5 * time.Second constant retryMaximum (line 3188) | retryMaximum = 2 * time.Minute function calculateRetryBackoff (line 3192) | func calculateRetryBackoff(fails int) time.Duration { constant sourceConsumerRetryThreshold (line 3582) | sourceConsumerRetryThreshold = 2 * time.Second function streamAndSeqFromAckReply (line 4154) | func streamAndSeqFromAckReply(reply string) (string, string, uint64) { function streamAndSeq (line 4171) | func streamAndSeq(shdr string) (string, string, uint64) { function getMsgId (line 4938) | func getMsgId(hdr []byte) string { function getExpectedLastMsgId (line 4943) | func getExpectedLastMsgId(hdr []byte) string { function getExpectedStream (line 4948) | func getExpectedStream(hdr []byte) string { function getExpectedLastSeq (line 4953) | func getExpectedLastSeq(hdr []byte) (uint64, bool) { function getRollup (line 4962) | func getRollup(hdr []byte) string { function getExpectedLastSeqPerSubject (line 4971) | func getExpectedLastSeqPerSubject(hdr []byte) (uint64, bool) { function getExpectedLastSeqPerSubjectForSubject (line 4980) | func getExpectedLastSeqPerSubjectForSubject(hdr []byte) string { function getMessageTTL (line 4988) | func getMessageTTL(hdr []byte) (int64, error) { function parseMessageTTL (line 4999) | func parseMessageTTL(ttl string) (int64, error) { function getMessageIncr (line 5023) | func getMessageIncr(hdr []byte) (*big.Int, bool) { function getMessageSchedule (line 5033) | func getMessageSchedule(hdr []byte) (time.Time, bool) { function nextMessageSchedule (line 5041) | func nextMessageSchedule(hdr []byte, ts int64) (time.Time, bool) { function getMessageScheduleTTL (line 5053) | func getMessageScheduleTTL(hdr []byte) (string, bool) { function getMessageScheduleTarget (line 5065) | func getMessageScheduleTarget(hdr []byte) string { function getMessageScheduleSource (line 5073) | func getMessageScheduleSource(hdr []byte) string { function getMessageScheduler (line 5081) | func getMessageScheduler(hdr []byte) string { function getBatchId (line 5089) | func getBatchId(hdr []byte) string { type FastBatch (line 5099) | type FastBatch struct method returnToPool (line 5133) | func (b *FastBatch) returnToPool() { constant FastBatchSuffix (line 5110) | FastBatchSuffix = ".$FI" constant FastBatchGapFail (line 5111) | FastBatchGapFail = "fail" constant FastBatchGapOk (line 5112) | FastBatchGapOk = "ok" constant FastBatchOpStart (line 5116) | FastBatchOpStart = iota constant FastBatchOpAppend (line 5117) | FastBatchOpAppend constant FastBatchOpCommit (line 5118) | FastBatchOpCommit constant FastBatchOpCommitEob (line 5119) | FastBatchOpCommitEob constant FastBatchOpPing (line 5120) | FastBatchOpPing function getFastBatchFromPool (line 5125) | func getFastBatchFromPool() *FastBatch { function getFastBatch (line 5144) | func getFastBatch(reply string, hdr []byte) (*FastBatch, bool) { function getBatchSequence (line 5237) | func getBatchSequence(hdr []byte) (uint64, bool) { type inMsg (line 5258) | type inMsg struct method isControlMsg (line 3946) | func (m *inMsg) isControlMsg() bool { method returnToPool (line 5274) | func (im *inMsg) returnToPool() { type directGetReq (line 5301) | type directGetReq struct constant dg (line 5426) | dg = "NATS/1.0\r\nNats-Stream: %s\r\nNats-Subject: %s\r\nNats-Sequence... constant dgb (line 5427) | dgb = "NATS/1.0\r\nNats-Stream: %s\r\nNats-Subject: %s\r\nNats-Sequence... constant eob (line 5428) | eob = "NATS/1.0 204 EOB\r\nNats-Num-Pending: %d\r\nNats-Last-Sequence: ... constant eobm (line 5429) | eobm = "NATS/1.0 204 EOB\r\nNats-Num-Pending: %d\r\nNats-Last-Sequence: ... type cMsg (line 7302) | type cMsg struct method returnToPool (line 7324) | func (m *cMsg) returnToPool() { function newCMsg (line 7311) | func newCMsg(subj string, seq uint64) *cMsg { type jsPubMsg (line 7372) | type jsPubMsg struct method returnToPool (line 7406) | func (pm *jsPubMsg) returnToPool() { method size (line 7417) | func (pm *jsPubMsg) size() int { function newJSPubMsg (line 7385) | func newJSPubMsg(dsubj, subj, reply string, hdr, msg []byte, o *consumer... function getJSPubMsgFromPool (line 7402) | func getJSPubMsgFromPool() *jsPubMsg { type jsOutQ (line 7425) | type jsOutQ struct method sendMsg (line 7429) | func (q *jsOutQ) sendMsg(subj string, msg []byte) { method send (line 7435) | func (q *jsOutQ) send(msg *jsPubMsg) { method unregister (line 7442) | func (q *jsOutQ) unregister() { type StoredMsg (line 7450) | type StoredMsg struct constant defaultCheckInterestStateT (line 7901) | defaultCheckInterestStateT = 2 * time.Minute constant defaultCheckInterestStateJ (line 7902) | defaultCheckInterestStateJ = 30 constant snapsDir (line 8371) | snapsDir = "__snapshots__" method RestoreStream (line 8374) | func (a *Account) RestoreStream(ncfg *StreamConfig, r io.Reader) (*strea... FILE: server/stree/dump.go method Dump (line 23) | func (t *SubjectTree[T]) Dump(w io.Writer) { method dump (line 29) | func (t *SubjectTree[T]) dump(w io.Writer, n node, depth int) { method kind (line 51) | func (n *leaf[T]) kind() string { return "LEAF" } method kind (line 52) | func (n *node4) kind() string { return "NODE4" } method kind (line 53) | func (n *node10) kind() string { return "NODE10" } method kind (line 54) | func (n *node16) kind() string { return "NODE16" } method kind (line 55) | func (n *node48) kind() string { return "NODE48" } method kind (line 56) | func (n *node256) kind() string { return "NODE256" } function dumpPre (line 59) | func dumpPre(depth int) string { FILE: server/stree/helper_test.go function require_True (line 22) | func require_True(t testing.TB, b bool) { function require_False (line 30) | func require_False(t testing.TB, b bool) { function require_NoError (line 38) | func require_NoError(t testing.TB, err error) { function require_Equal (line 48) | func require_Equal[T comparable](t testing.TB, a, b T) { function require_Len (line 56) | func require_Len(t testing.TB, a, b int) { FILE: server/stree/leaf.go type leaf (line 22) | type leaf struct function newLeaf (line 30) | func newLeaf[T any](suffix []byte, value T) *leaf[T] { method isLeaf (line 34) | func (n *leaf[T]) isLeaf() bool { return t... method base (line 35) | func (n *leaf[T]) base() *meta { return n... method match (line 36) | func (n *leaf[T]) match(subject []byte) bool { return b... method setSuffix (line 37) | func (n *leaf[T]) setSuffix(suffix []byte) { n.suffix... method isFull (line 38) | func (n *leaf[T]) isFull() bool { return t... method matchParts (line 39) | func (n *leaf[T]) matchParts(parts [][]byte) ([][]byte, bool) { return m... method iter (line 40) | func (n *leaf[T]) iter(f func(node) bool) {} method children (line 41) | func (n *leaf[T]) children() []node { return n... method numChildren (line 42) | func (n *leaf[T]) numChildren() uint16 { return 0 } method path (line 43) | func (n *leaf[T]) path() []byte { return n... method setPrefix (line 46) | func (n *leaf[T]) setPrefix(pre []byte) { panic("setPrefix called on ... method addChild (line 47) | func (n *leaf[T]) addChild(_ byte, _ node) { panic("addChild called on l... method findChild (line 48) | func (n *leaf[T]) findChild(_ byte) *node { panic("findChild called on ... method grow (line 49) | func (n *leaf[T]) grow() node { panic("grow called on leaf") } method deleteChild (line 50) | func (n *leaf[T]) deleteChild(_ byte) { panic("deleteChild called o... method shrink (line 51) | func (n *leaf[T]) shrink() node { panic("shrink called on lea... FILE: server/stree/node.go type node (line 17) | type node interface type meta (line 35) | type meta struct method isLeaf (line 40) | func (n *meta) isLeaf() bool { return false } method base (line 41) | func (n *meta) base() *meta { return n } method setPrefix (line 43) | func (n *meta) setPrefix(pre []byte) { method numChildren (line 47) | func (n *meta) numChildren() uint16 { return n.size } method path (line 48) | func (n *meta) path() []byte { return n.prefix } method matchParts (line 51) | func (n *meta) matchParts(parts [][]byte) ([][]byte, bool) { FILE: server/stree/node10.go type node10 (line 20) | type node10 struct method addChild (line 34) | func (n *node10) addChild(c byte, nn node) { method findChild (line 43) | func (n *node10) findChild(c byte) *node { method isFull (line 52) | func (n *node10) isFull() bool { return n.size >= 10 } method grow (line 54) | func (n *node10) grow() node { method deleteChild (line 63) | func (n *node10) deleteChild(c byte) { method shrink (line 83) | func (n *node10) shrink() node { method iter (line 95) | func (n *node10) iter(f func(node) bool) { method children (line 104) | func (n *node10) children() []node { function newNode10 (line 26) | func newNode10(prefix []byte) *node10 { FILE: server/stree/node16.go type node16 (line 18) | type node16 struct method addChild (line 32) | func (n *node16) addChild(c byte, nn node) { method findChild (line 41) | func (n *node16) findChild(c byte) *node { method isFull (line 50) | func (n *node16) isFull() bool { return n.size >= 16 } method grow (line 52) | func (n *node16) grow() node { method deleteChild (line 61) | func (n *node16) deleteChild(c byte) { method shrink (line 81) | func (n *node16) shrink() node { method iter (line 93) | func (n *node16) iter(f func(node) bool) { method children (line 102) | func (n *node16) children() []node { function newNode16 (line 24) | func newNode16(prefix []byte) *node16 { FILE: server/stree/node256.go type node256 (line 18) | type node256 struct method addChild (line 29) | func (n *node256) addChild(c byte, nn node) { method findChild (line 34) | func (n *node256) findChild(c byte) *node { method isFull (line 41) | func (n *node256) isFull() bool { return false } method grow (line 42) | func (n *node256) grow() node { panic("grow can not be called on nod... method deleteChild (line 45) | func (n *node256) deleteChild(c byte) { method shrink (line 53) | func (n *node256) shrink() node { method iter (line 67) | func (n *node256) iter(f func(node) bool) { method children (line 78) | func (n *node256) children() []node { function newNode256 (line 23) | func newNode256(prefix []byte) *node256 { FILE: server/stree/node4.go type node4 (line 18) | type node4 struct method addChild (line 31) | func (n *node4) addChild(c byte, nn node) { method findChild (line 40) | func (n *node4) findChild(c byte) *node { method isFull (line 49) | func (n *node4) isFull() bool { return n.size >= 4 } method grow (line 51) | func (n *node4) grow() node { method deleteChild (line 60) | func (n *node4) deleteChild(c byte) { method shrink (line 80) | func (n *node4) shrink() node { method iter (line 88) | func (n *node4) iter(f func(node) bool) { method children (line 97) | func (n *node4) children() []node { function newNode4 (line 24) | func newNode4(prefix []byte) *node4 { FILE: server/stree/node48.go type node48 (line 21) | type node48 struct method addChild (line 33) | func (n *node48) addChild(c byte, nn node) { method findChild (line 42) | func (n *node48) findChild(c byte) *node { method isFull (line 50) | func (n *node48) isFull() bool { return n.size >= 48 } method grow (line 52) | func (n *node48) grow() node { method deleteChild (line 63) | func (n *node48) deleteChild(c byte) { method shrink (line 85) | func (n *node48) shrink() node { method iter (line 99) | func (n *node48) iter(f func(node) bool) { method children (line 108) | func (n *node48) children() []node { function newNode48 (line 27) | func newNode48(prefix []byte) *node48 { FILE: server/stree/parts.go function genParts (line 23) | func genParts(filter []byte, parts [][]byte) [][]byte { function matchParts (line 78) | func matchParts(parts [][]byte, frag []byte) ([][]byte, bool) { FILE: server/stree/stree.go type SubjectTree (line 28) | type SubjectTree struct function NewSubjectTree (line 34) | func NewSubjectTree[T any]() *SubjectTree[T] { method Size (line 39) | func (t *SubjectTree[T]) Size() int { method Empty (line 47) | func (t *SubjectTree[T]) Empty() *SubjectTree[T] { method Insert (line 56) | func (t *SubjectTree[T]) Insert(subject []byte, value T) (*T, bool) { method Find (line 74) | func (t *SubjectTree[T]) Find(subject []byte) (*T, bool) { method Delete (line 106) | func (t *SubjectTree[T]) Delete(subject []byte) (*T, bool) { method Match (line 119) | func (t *SubjectTree[T]) Match(filter []byte, cb func(subject []byte, va... method MatchUntil (line 137) | func (t *SubjectTree[T]) MatchUntil(filter []byte, cb func(subject []byt... method IterOrdered (line 149) | func (t *SubjectTree[T]) IterOrdered(cb func(subject []byte, val *T) boo... method IterFast (line 158) | func (t *SubjectTree[T]) IterFast(cb func(subject []byte, val *T) bool) { method insert (line 169) | func (t *SubjectTree[T]) insert(np *node, subject []byte, value T, si in... method delete (line 253) | func (t *SubjectTree[T]) delete(np *node, subject []byte, si int) (*T, b... method match (line 318) | func (t *SubjectTree[T]) match(n node, parts [][]byte, pre []byte, cb fu... method iter (line 418) | func (t *SubjectTree[T]) iter(n node, pre []byte, ordered bool, cb func(... function LazyIntersect (line 463) | func LazyIntersect[TL, TR any](tl *SubjectTree[TL], tr *SubjectTree[TR],... function IntersectGSL (line 488) | func IntersectGSL[T any, SL comparable](t *SubjectTree[T], sl *gsl.Gener... function _intersectGSL (line 496) | func _intersectGSL[T any, SL comparable](n node, pre []byte, sl *gsl.Gen... function hasInterestForTokens (line 521) | func hasInterestForTokens[SL comparable](sl *gsl.GenericSublist[SL], sub... function bytesToString (line 534) | func bytesToString(b []byte) string { FILE: server/stree/stree_test.go function TestSubjectTreeBasics (line 33) | func TestSubjectTreeBasics(t *testing.T) { function TestSubjectTreeNodeGrow (line 69) | func TestSubjectTreeNodeGrow(t *testing.T) { function TestSubjectTreeNodePrefixMismatch (line 127) | func TestSubjectTreeNodePrefixMismatch(t *testing.T) { function TestSubjectTreeNodeDelete (line 152) | func TestSubjectTreeNodeDelete(t *testing.T) { function TestSubjectTreeNodesAndPaths (line 243) | func TestSubjectTreeNodesAndPaths(t *testing.T) { function TestSubjectTreeConstruction (line 268) | func TestSubjectTreeConstruction(t *testing.T) { function match (line 322) | func match(t *testing.T, st *SubjectTree[int], filter string, expected i... function TestSubjectTreeMatchLeafOnly (line 331) | func TestSubjectTreeMatchLeafOnly(t *testing.T) { function TestSubjectTreeMatchNodes (line 352) | func TestSubjectTreeMatchNodes(t *testing.T) { function matchUntilCount (line 398) | func matchUntilCount[T any](st *SubjectTree[T], filter string, stopAfter... function TestSubjectTreeMatchUntil (line 407) | func TestSubjectTreeMatchUntil(t *testing.T) { function TestSubjectTreeNoPrefix (line 432) | func TestSubjectTreeNoPrefix(t *testing.T) { function TestSubjectTreePartialTerminalWildcardBugMatch (line 453) | func TestSubjectTreePartialTerminalWildcardBugMatch(t *testing.T) { function TestSubjectTreeMatchSubjectParam (line 461) | func TestSubjectTreeMatchSubjectParam(t *testing.T) { function TestSubjectTreeMatchRandomDoublePWC (line 490) | func TestSubjectTreeMatchRandomDoublePWC(t *testing.T) { function TestSubjectTreeIterOrdered (line 529) | func TestSubjectTreeIterOrdered(t *testing.T) { function TestSubjectTreeIterFast (line 582) | func TestSubjectTreeIterFast(t *testing.T) { function TestSubjectTreeInsertSamePivotBug (line 623) | func TestSubjectTreeInsertSamePivotBug(t *testing.T) { function TestSubjectTreeMatchTsepSecondThenPartialPartBug (line 643) | func TestSubjectTreeMatchTsepSecondThenPartialPartBug(t *testing.T) { function TestSubjectTreeMatchMultipleWildcardBasic (line 655) | func TestSubjectTreeMatchMultipleWildcardBasic(t *testing.T) { function TestSubjectTreeMatchInvalidWildcard (line 662) | func TestSubjectTreeMatchInvalidWildcard(t *testing.T) { function TestSubjectTreeRandomTrackEntries (line 683) | func TestSubjectTreeRandomTrackEntries(t *testing.T) { function TestSubjectTreeLongTokens (line 726) | func TestSubjectTreeLongTokens(t *testing.T) { function b (line 745) | func b(s string) []byte { function TestSubjectTreeMatchAllPerf (line 749) | func TestSubjectTreeMatchAllPerf(t *testing.T) { function TestSubjectTreeIterPerf (line 779) | func TestSubjectTreeIterPerf(t *testing.T) { function TestSubjectTreeNode48 (line 799) | func TestSubjectTreeNode48(t *testing.T) { function TestSubjectTreeMatchNoCallbackDupe (line 881) | func TestSubjectTreeMatchNoCallbackDupe(t *testing.T) { function TestSubjectTreeNilNoPanic (line 904) | func TestSubjectTreeNilNoPanic(t *testing.T) { function TestSubjectTreeInsertLongerLeafSuffixWithTrailingNulls (line 917) | func TestSubjectTreeInsertLongerLeafSuffixWithTrailingNulls(t *testing.T) { function TestSubjectTreeInsertWithNoPivot (line 943) | func TestSubjectTreeInsertWithNoPivot(t *testing.T) { function TestSubjectTreeMatchHasFWCNoPanic (line 954) | func TestSubjectTreeMatchHasFWCNoPanic(t *testing.T) { function TestSubjectTreeLazyIntersect (line 965) | func TestSubjectTreeLazyIntersect(t *testing.T) { function TestSubjectTreeGSLIntersection (line 998) | func TestSubjectTreeGSLIntersection(t *testing.T) { function TestSubjectTreeDeleteShortSubjectNoPanic (line 1308) | func TestSubjectTreeDeleteShortSubjectNoPanic(t *testing.T) { function TestSubjectTreeEmpty (line 1330) | func TestSubjectTreeEmpty(t *testing.T) { function TestSubjectTreeLazyIntersectComprehensive (line 1375) | func TestSubjectTreeLazyIntersectComprehensive(t *testing.T) { function TestNode256Operations (line 1493) | func TestNode256Operations(t *testing.T) { function TestNode256Shrink (line 1542) | func TestNode256Shrink(t *testing.T) { function TestLeafPanicMethods (line 1577) | func TestLeafPanicMethods(t *testing.T) { function TestSizeOnNilTree (line 1667) | func TestSizeOnNilTree(t *testing.T) { function TestFindEdgeCases (line 1672) | func TestFindEdgeCases(t *testing.T) { function TestNodeIterMethods (line 1685) | func TestNodeIterMethods(t *testing.T) { function TestIterOrderedAndIterFastNilRoot (line 1733) | func TestIterOrderedAndIterFastNilRoot(t *testing.T) { function TestNodeAddChildPanic (line 1752) | func TestNodeAddChildPanic(t *testing.T) { function TestNodeAddChildPanicOthers (line 1770) | func TestNodeAddChildPanicOthers(t *testing.T) { function TestNodeDeleteChildNotFound (line 1823) | func TestNodeDeleteChildNotFound(t *testing.T) { function TestNodeShrinkNotNeeded (line 1850) | func TestNodeShrinkNotNeeded(t *testing.T) { function TestNode48IterEarlyTermination (line 1870) | func TestNode48IterEarlyTermination(t *testing.T) { function TestNode10And16IterEarlyTermination (line 1884) | func TestNode10And16IterEarlyTermination(t *testing.T) { function TestMatchPartsEdgeCases (line 1912) | func TestMatchPartsEdgeCases(t *testing.T) { function TestInsertEdgeCases (line 1927) | func TestInsertEdgeCases(t *testing.T) { function TestDeleteEdgeCases (line 1947) | func TestDeleteEdgeCases(t *testing.T) { function TestMatchEdgeCases (line 1970) | func TestMatchEdgeCases(t *testing.T) { function TestIterEdgeCases (line 1985) | func TestIterEdgeCases(t *testing.T) { function TestLeafIter (line 2003) | func TestLeafIter(t *testing.T) { function TestDeleteChildEdgeCasesMore (line 2036) | func TestDeleteChildEdgeCasesMore(t *testing.T) { function TestMatchPartsMoreEdgeCases (line 2058) | func TestMatchPartsMoreEdgeCases(t *testing.T) { function TestInsertComplexEdgeCases (line 2067) | func TestInsertComplexEdgeCases(t *testing.T) { function TestDeleteNilNodePointer (line 2095) | func TestDeleteNilNodePointer(t *testing.T) { function TestMatchComplexEdgeCases (line 2104) | func TestMatchComplexEdgeCases(t *testing.T) { function TestIterComplexTree (line 2121) | func TestIterComplexTree(t *testing.T) { FILE: server/stree/util.go constant pwc (line 18) | pwc = '*' constant fwc (line 19) | fwc = '>' constant tsep (line 20) | tsep = '.' function commonPrefixLen (line 24) | func commonPrefixLen(s1, s2 []byte) int { function copyBytes (line 36) | func copyBytes(src []byte) []byte { type position (line 45) | type position interface constant noPivot (line 48) | noPivot = byte(127) function pivot (line 52) | func pivot[N position](subject []byte, pos N) byte { FILE: server/subject_fuzz_test.go function FuzzSubjectsCollide (line 21) | func FuzzSubjectsCollide(f *testing.F) { FILE: server/subject_transform.go constant NoTransform (line 44) | NoTransform int16 = iota constant BadTransform (line 45) | BadTransform constant Partition (line 46) | Partition constant Wildcard (line 47) | Wildcard constant SplitFromLeft (line 48) | SplitFromLeft constant SplitFromRight (line 49) | SplitFromRight constant SliceFromLeft (line 50) | SliceFromLeft constant SliceFromRight (line 51) | SliceFromRight constant Split (line 52) | Split constant Left (line 53) | Left constant Right (line 54) | Right constant Random (line 55) | Random type subjectTransform (line 61) | type subjectTransform struct method Match (line 433) | func (tr *subjectTransform) Match(subject string) (string, error) { method TransformSubject (line 456) | func (tr *subjectTransform) TransformSubject(subject string) string { method getRandomPartition (line 460) | func (tr *subjectTransform) getRandomPartition(ceiling int) string { method getHashPartition (line 469) | func (tr *subjectTransform) getHashPartition(key []byte, numBuckets in... method TransformTokenizedSubject (line 482) | func (tr *subjectTransform) TransformTokenizedSubject(tokens []string)... method reverse (line 638) | func (tr *subjectTransform) reverse() *subjectTransform { type SubjectTransformer (line 74) | type SubjectTransformer interface function NewSubjectTransformWithStrict (line 81) | func NewSubjectTransformWithStrict(src, dest string, strict bool) (*subj... function NewSubjectTransform (line 198) | func NewSubjectTransform(src, dest string) (*subjectTransform, error) { function NewSubjectTransformStrict (line 202) | func NewSubjectTransformStrict(src, dest string) (*subjectTransform, err... function getMappingFunctionArgs (line 206) | func getMappingFunctionArgs(functionRegEx *regexp.Regexp, token string) ... function transformIndexIntArgsHelper (line 215) | func transformIndexIntArgsHelper(token string, args []string, transformT... function indexPlaceHolders (line 237) | func indexPlaceHolders(token string) (int16, []int, int32, string, error) { function transformTokenize (line 378) | func transformTokenize(subject string) string { function transformUntokenize (line 399) | func transformUntokenize(subject string) (string, []string) { function tokenizeSubject (line 414) | func tokenizeSubject(subject string) []string { function subjectInfo (line 666) | func subjectInfo(subject string) (bool, []string, int, bool) { FILE: server/subject_transform_test.go function TestPlaceHolderIndex (line 25) | func TestPlaceHolderIndex(t *testing.T) { function TestSubjectTransformHelpers (line 93) | func TestSubjectTransformHelpers(t *testing.T) { function TestSubjectTransforms (line 138) | func TestSubjectTransforms(t *testing.T) { function TestSubjectTransformDoesntPanicTransformingMissingToken (line 252) | func TestSubjectTransformDoesntPanicTransformingMissingToken(t *testing.... FILE: server/sublist.go constant pwc (line 33) | pwc = '*' constant pwcs (line 34) | pwcs = "*" constant fwc (line 35) | fwc = '>' constant fwcs (line 36) | fwcs = ">" constant tsep (line 37) | tsep = "." constant btsep (line 38) | btsep = '.' constant slCacheMax (line 51) | slCacheMax = 1024 constant slCacheSweep (line 53) | slCacheSweep = 256 constant plistMin (line 55) | plistMin = 256 type SublistResult (line 59) | type SublistResult struct method addSubToResult (line 460) | func (r *SublistResult) addSubToResult(sub *subscription) *SublistResu... type Sublist (line 65) | type Sublist struct method CacheEnabled (line 135) | func (s *Sublist) CacheEnabled() bool { method RegisterNotification (line 149) | func (s *Sublist) RegisterNotification(subject string, notify chan<- b... method RegisterQueueNotification (line 153) | func (s *Sublist) RegisterQueueNotification(subject, queue string, not... method registerNotification (line 157) | func (s *Sublist) registerNotification(subject, queue string, notify c... method ClearNotification (line 227) | func (s *Sublist) ClearNotification(subject string, notify chan<- bool... method ClearQueueNotification (line 231) | func (s *Sublist) ClearQueueNotification(subject, queue string, notify... method clearNotification (line 235) | func (s *Sublist) clearNotification(subject, queue string, notify chan... method addInsertNotify (line 262) | func (s *Sublist) addInsertNotify(subject string, notify chan<- bool) ... method addRemoveNotify (line 268) | func (s *Sublist) addRemoveNotify(subject string, notify chan<- bool) ... method addNotify (line 274) | func (s *Sublist) addNotify(m map[string][]chan<- bool, subject string... method chkForInsertNotification (line 303) | func (s *Sublist) chkForInsertNotification(subject, queue string) { method chkForRemoveNotification (line 319) | func (s *Sublist) chkForRemoveNotification(subject, queue string) { method Insert (line 356) | func (s *Sublist) Insert(sub *subscription) error { method addToCache (line 478) | func (s *Sublist) addToCache(subject string, sub *subscription) { method removeFromCache (line 498) | func (s *Sublist) removeFromCache(subject string) { method Match (line 520) | func (s *Sublist) Match(subject string) *SublistResult { method MatchBytes (line 526) | func (s *Sublist) MatchBytes(subject []byte) *SublistResult { method HasInterest (line 532) | func (s *Sublist) HasInterest(subject string) bool { method NumInterest (line 538) | func (s *Sublist) NumInterest(subject string) (np, nq int) { method matchNoLock (line 543) | func (s *Sublist) matchNoLock(subject string) *SublistResult { method match (line 547) | func (s *Sublist) match(subject string, doLock bool, doCopyOnCache boo... method hasInterest (line 624) | func (s *Sublist) hasInterest(subject string, doLock bool, np, nq *int... method reduceCacheCount (line 675) | func (s *Sublist) reduceCacheCount() { method UpdateRemoteQSub (line 695) | func (s *Sublist) UpdateRemoteQSub(sub *subscription) { method remove (line 843) | func (s *Sublist) remove(sub *subscription, shouldLock bool, doCacheUp... method Remove (line 915) | func (s *Sublist) Remove(sub *subscription) error { method RemoveBatch (line 920) | func (s *Sublist) RemoveBatch(subs []*subscription) error { method removeFromNode (line 993) | func (s *Sublist) removeFromNode(n *node, sub *subscription) (found, l... method Count (line 1023) | func (s *Sublist) Count() uint32 { method CacheCount (line 1030) | func (s *Sublist) CacheCount() int { method Stats (line 1076) | func (s *Sublist) Stats() *SublistStats { method numLevels (line 1120) | func (s *Sublist) numLevels() int { method addNodeToSubs (line 1563) | func (s *Sublist) addNodeToSubs(n *node, subs *[]*subscription, includ... method collectLocalSubs (line 1582) | func (s *Sublist) collectLocalSubs(l *level, subs *[]*subscription, in... method localSubs (line 1598) | func (s *Sublist) localSubs(subs *[]*subscription, includeLeafHubs boo... method All (line 1605) | func (s *Sublist) All(subs *[]*subscription) { method addAllNodeToSubs (line 1611) | func (s *Sublist) addAllNodeToSubs(n *node, subs *[]*subscription) { method collectAllSubs (line 1628) | func (s *Sublist) collectAllSubs(l *level, subs *[]*subscription) { method ReverseMatch (line 1650) | func (s *Sublist) ReverseMatch(subject string) *SublistResult { type notifyMaps (line 81) | type notifyMaps struct type node (line 87) | type node struct method isEmpty (line 968) | func (n *node) isEmpty() bool { type level (line 96) | type level struct method pruneNode (line 953) | func (l *level) pruneNode(n *node, t string) { method numNodes (line 978) | func (l *level) numNodes() int { function newNode (line 102) | func newNode() *node { function newLevel (line 107) | func newLevel() *level { function NewSublist (line 117) | func NewSublist(enableCache bool) *Sublist { function NewSublistWithCache (line 125) | func NewSublistWithCache() *Sublist { function NewSublistNoCache (line 130) | func NewSublistNoCache() *Sublist { function chkAndRemove (line 212) | func chkAndRemove(key string, notify chan<- bool, ms map[string][]chan<-... function sendNotification (line 253) | func sendNotification(ch chan<- bool, hasInterest bool) { function keyFromSubjectAndQueue (line 290) | func keyFromSubjectAndQueue(subject, queue string) string { function copyResult (line 449) | func copyResult(r *SublistResult) *SublistResult { function isRemoteQSub (line 689) | func isRemoteQSub(sub *subscription) bool { function addNodeToResults (line 706) | func addNodeToResults(n *node, results *SublistResult) { function findQSlot (line 745) | func findQSlot(queue []byte, qsl [][]*subscription) int { function matchLevel (line 758) | func matchLevel(l *level, toks []string, results *SublistResult) { function matchLevelForAny (line 785) | func matchLevelForAny(l *level, toks []string, np, nq *int) bool { type lnt (line 836) | type lnt struct type SublistStats (line 1038) | type SublistStats struct method add (line 1052) | func (s *SublistStats) add(stat *SublistStats) { function visitLevel (line 1126) | func visitLevel(l *level, depth int) int { function subjectHasWildcard (line 1159) | func subjectHasWildcard(subject string) bool { function subjectIsLiteral (line 1174) | func subjectIsLiteral(subject string) bool { function IsValidPublishSubject (line 1187) | func IsValidPublishSubject(subject string) bool { function IsValidSubject (line 1192) | func IsValidSubject(subject string) bool { function isValidSubject (line 1196) | func isValidSubject(subject string, checkRunes bool) bool { function IsValidLiteralSubject (line 1236) | func IsValidLiteralSubject(subject string) bool { function isValidLiteralSubject (line 1241) | func isValidLiteralSubject(tokens iter.Seq[string]) bool { function ValidateMapping (line 1258) | func ValidateMapping(src string, dest string) error { function analyzeTokens (line 1298) | func analyzeTokens(tokens []string) (hasPWC, hasFWC bool) { function tokensCanMatch (line 1314) | func tokensCanMatch(t1, t2 string) bool { function SubjectsCollide (line 1326) | func SubjectsCollide(subj1, subj2 string) bool { function numTokens (line 1375) | func numTokens(subject string) int { function tokenAt (line 1390) | func tokenAt(subject string, index uint8) string { function tokenizeSubjectIntoSlice (line 1408) | func tokenizeSubjectIntoSlice(tts []string, subject string) []string { function SubjectMatchesFilter (line 1422) | func SubjectMatchesFilter(subject, filter string) bool { function subjectIsSubsetMatch (line 1427) | func subjectIsSubsetMatch(subject, test string) bool { function isSubsetMatch (line 1435) | func isSubsetMatch(tokens []string, test string) bool { function isSubsetMatchTokenized (line 1445) | func isSubsetMatchTokenized(tokens, test []string) bool { function matchLiteral (line 1484) | func matchLiteral(literal, subject string) bool { function addLocalSub (line 1553) | func addLocalSub(sub *subscription, subs *[]*subscription, includeLeafHu... function reverseMatchLevel (line 1675) | func reverseMatchLevel(l *level, toks []string, n *node, results *Sublis... function getAllNodes (line 1715) | func getAllNodes(l *level, results *SublistResult) { FILE: server/sublist_test.go function stackFatalf (line 32) | func stackFatalf(t *testing.T, f string, args ...any) { function verifyCount (line 49) | func verifyCount(s *Sublist, count uint32, t *testing.T) { function verifyLen (line 56) | func verifyLen(r []*subscription, l int, t *testing.T) { function verifyQLen (line 63) | func verifyQLen(r [][]*subscription, l int, t *testing.T) { function verifyNumLevels (line 70) | func verifyNumLevels(s *Sublist, expected int, t *testing.T) { function verifyQMember (line 78) | func verifyQMember(qsubs [][]*subscription, val *subscription, t *testin... function verifyMember (line 83) | func verifyMember(r []*subscription, val *subscription, t *testing.T) { function newSub (line 97) | func newSub(subject string) *subscription { function newQSub (line 102) | func newQSub(subject, queue string) *subscription { function newRemoteQSub (line 109) | func newRemoteQSub(subject, queue string, num int32) *subscription { function TestSublistInit (line 117) | func TestSublistInit(t *testing.T) { function TestSublistInsertCount (line 122) | func TestSublistInsertCount(t *testing.T) { function TestSublistInsertCountNoCache (line 126) | func TestSublistInsertCountNoCache(t *testing.T) { function testSublistInsertCount (line 130) | func testSublistInsertCount(t *testing.T, s *Sublist) { function TestSublistSimple (line 137) | func TestSublistSimple(t *testing.T) { function TestSublistSimpleNoCache (line 141) | func TestSublistSimpleNoCache(t *testing.T) { function testSublistSimple (line 145) | func testSublistSimple(t *testing.T, s *Sublist) { function TestSublistSimpleMultiTokens (line 154) | func TestSublistSimpleMultiTokens(t *testing.T) { function TestSublistSimpleMultiTokensNoCache (line 158) | func TestSublistSimpleMultiTokensNoCache(t *testing.T) { function testSublistSimpleMultiTokens (line 162) | func testSublistSimpleMultiTokens(t *testing.T, s *Sublist) { function TestSublistPartialWildcard (line 171) | func TestSublistPartialWildcard(t *testing.T) { function TestSublistPartialWildcardNoCache (line 175) | func TestSublistPartialWildcardNoCache(t *testing.T) { function testSublistPartialWildcard (line 179) | func testSublistPartialWildcard(t *testing.T, s *Sublist) { function TestSublistPartialWildcardAtEnd (line 190) | func TestSublistPartialWildcardAtEnd(t *testing.T) { function TestSublistPartialWildcardAtEndNoCache (line 194) | func TestSublistPartialWildcardAtEndNoCache(t *testing.T) { function testSublistPartialWildcardAtEnd (line 198) | func testSublistPartialWildcardAtEnd(t *testing.T, s *Sublist) { function TestSublistFullWildcard (line 209) | func TestSublistFullWildcard(t *testing.T) { function TestSublistFullWildcardNoCache (line 213) | func TestSublistFullWildcardNoCache(t *testing.T) { function testSublistFullWildcard (line 217) | func testSublistFullWildcard(t *testing.T, s *Sublist) { function TestSublistRemove (line 232) | func TestSublistRemove(t *testing.T) { function TestSublistRemoveNoCache (line 236) | func TestSublistRemoveNoCache(t *testing.T) { function testSublistRemove (line 240) | func testSublistRemove(t *testing.T, s *Sublist) { function TestSublistRemoveWildcard (line 255) | func TestSublistRemoveWildcard(t *testing.T) { function TestSublistRemoveWildcardNoCache (line 259) | func TestSublistRemoveWildcardNoCache(t *testing.T) { function testSublistRemoveWildcard (line 263) | func testSublistRemoveWildcard(t *testing.T, s *Sublist) { function TestSublistRemoveCleanup (line 284) | func TestSublistRemoveCleanup(t *testing.T) { function TestSublistRemoveCleanupNoCache (line 288) | func TestSublistRemoveCleanupNoCache(t *testing.T) { function testSublistRemoveCleanup (line 292) | func testSublistRemoveCleanup(t *testing.T, s *Sublist) { function TestSublistRemoveCleanupWildcards (line 303) | func TestSublistRemoveCleanupWildcards(t *testing.T) { function TestSublistRemoveCleanupWildcardsNoCache (line 307) | func TestSublistRemoveCleanupWildcardsNoCache(t *testing.T) { function testSublistRemoveCleanupWildcards (line 311) | func testSublistRemoveCleanupWildcards(t *testing.T, s *Sublist) { function TestSublistRemoveWithLargeSubs (line 322) | func TestSublistRemoveWithLargeSubs(t *testing.T) { function TestSublistRemoveWithLargeSubsNoCache (line 326) | func TestSublistRemoveWithLargeSubsNoCache(t *testing.T) { function testSublistRemoveWithLargeSubs (line 330) | func testSublistRemoveWithLargeSubs(t *testing.T, s *Sublist) { function TestSublistInvalidSubjectsInsert (line 349) | func TestSublistInvalidSubjectsInsert(t *testing.T) { function TestSublistInvalidSubjectsInsertNoCache (line 353) | func TestSublistInvalidSubjectsInsertNoCache(t *testing.T) { function TestSublistNoCacheRemoveBatch (line 357) | func TestSublistNoCacheRemoveBatch(t *testing.T) { function TestSublistRemoveBatchWithError (line 372) | func TestSublistRemoveBatchWithError(t *testing.T) { function testSublistInvalidSubjectsInsert (line 396) | func testSublistInvalidSubjectsInsert(t *testing.T, s *Sublist) { function TestSublistCache (line 423) | func TestSublistCache(t *testing.T) { function TestSublistBasicQueueResults (line 478) | func TestSublistBasicQueueResults(t *testing.T) { function TestSublistBasicQueueResultsNoCache (line 482) | func TestSublistBasicQueueResultsNoCache(t *testing.T) { function testSublistBasicQueueResults (line 486) | func testSublistBasicQueueResults(t *testing.T, s *Sublist) { function checkBool (line 571) | func checkBool(b, expected bool, t *testing.T) { function checkError (line 578) | func checkError(err, expected error, t *testing.T) { function TestSublistValidLiteralSubjects (line 585) | func TestSublistValidLiteralSubjects(t *testing.T) { function TestSublistValidSubjects (line 612) | func TestSublistValidSubjects(t *testing.T) { function TestSublistMatchLiterals (line 644) | func TestSublistMatchLiterals(t *testing.T) { function TestSubjectIsLiteral (line 673) | func TestSubjectIsLiteral(t *testing.T) { function TestValidateDestinationSubject (line 686) | func TestValidateDestinationSubject(t *testing.T) { function TestSubjectToken (line 707) | func TestSubjectToken(t *testing.T) { function TestSublistBadSubjectOnRemove (line 722) | func TestSublistBadSubjectOnRemove(t *testing.T) { function TestSublistBadSubjectOnRemoveNoCache (line 726) | func TestSublistBadSubjectOnRemoveNoCache(t *testing.T) { function testSublistBadSubjectOnRemove (line 730) | func testSublistBadSubjectOnRemove(t *testing.T, s *Sublist) { function TestSublistTwoTokenPubMatchSingleTokenSub (line 749) | func TestSublistTwoTokenPubMatchSingleTokenSub(t *testing.T) { function TestSublistTwoTokenPubMatchSingleTokenSubNoCache (line 753) | func TestSublistTwoTokenPubMatchSingleTokenSubNoCache(t *testing.T) { function testSublistTwoTokenPubMatchSingleTokenSub (line 757) | func testSublistTwoTokenPubMatchSingleTokenSub(t *testing.T, s *Sublist) { function TestSublistInsertWithWildcardsAsLiterals (line 767) | func TestSublistInsertWithWildcardsAsLiterals(t *testing.T) { function TestSublistInsertWithWildcardsAsLiteralsNoCache (line 771) | func TestSublistInsertWithWildcardsAsLiteralsNoCache(t *testing.T) { function testSublistInsertWithWildcardsAsLiterals (line 775) | func testSublistInsertWithWildcardsAsLiterals(t *testing.T, s *Sublist) { function TestSublistRemoveWithWildcardsAsLiterals (line 789) | func TestSublistRemoveWithWildcardsAsLiterals(t *testing.T) { function TestSublistRemoveWithWildcardsAsLiteralsNoCache (line 793) | func TestSublistRemoveWithWildcardsAsLiteralsNoCache(t *testing.T) { function testSublistRemoveWithWildcardsAsLiterals (line 797) | func testSublistRemoveWithWildcardsAsLiterals(t *testing.T, s *Sublist) { function TestSublistRaceOnRemove (line 815) | func TestSublistRaceOnRemove(t *testing.T) { function TestSublistRaceOnRemoveNoCache (line 819) | func TestSublistRaceOnRemoveNoCache(t *testing.T) { function testSublistRaceOnRemove (line 823) | func testSublistRaceOnRemove(t *testing.T, s *Sublist) { function TestSublistRaceOnInsert (line 896) | func TestSublistRaceOnInsert(t *testing.T) { function TestSublistRaceOnInsertNoCache (line 900) | func TestSublistRaceOnInsertNoCache(t *testing.T) { function testSublistRaceOnInsert (line 904) | func testSublistRaceOnInsert(t *testing.T, s *Sublist) { function TestSublistRaceOnMatch (line 956) | func TestSublistRaceOnMatch(t *testing.T) { function TestSublistRemoteQueueSubscriptions (line 998) | func TestSublistRemoteQueueSubscriptions(t *testing.T) { function TestSublistRemoteQueueSubscriptionsNoCache (line 1002) | func TestSublistRemoteQueueSubscriptionsNoCache(t *testing.T) { function testSublistRemoteQueueSubscriptions (line 1006) | func testSublistRemoteQueueSubscriptions(t *testing.T, s *Sublist) { function TestSublistSharedEmptyResult (line 1049) | func TestSublistSharedEmptyResult(t *testing.T) { function TestSublistNoCacheStats (line 1064) | func TestSublistNoCacheStats(t *testing.T) { function TestSublistAll (line 1078) | func TestSublistAll(t *testing.T) { function TestIsSubsetMatch (line 1099) | func TestIsSubsetMatch(t *testing.T) { function TestSublistRegisterInterestNotification (line 1126) | func TestSublistRegisterInterestNotification(t *testing.T) { function TestSublistReverseMatch (line 1440) | func TestSublistReverseMatch(t *testing.T) { function TestSublistReverseMatchWider (line 1508) | func TestSublistReverseMatchWider(t *testing.T) { function TestSublistMatchWithEmptyTokens (line 1522) | func TestSublistMatchWithEmptyTokens(t *testing.T) { function TestSublistSubjectCollide (line 1548) | func TestSublistSubjectCollide(t *testing.T) { function TestSublistAddCacheHitRate (line 1556) | func TestSublistAddCacheHitRate(t *testing.T) { function TestMain (line 1587) | func TestMain(m *testing.M) { function TestSublistHasInterest (line 1609) | func TestSublistHasInterest(t *testing.T) { function TestSublistHasInterestOverlapping (line 1775) | func TestSublistHasInterestOverlapping(t *testing.T) { function TestSublistNumInterest (line 1783) | func TestSublistNumInterest(t *testing.T) { function subsInit (line 1993) | func subsInit(pre string, toks []string) { function addWildcards (line 2008) | func addWildcards() { function Benchmark______________________SublistInsert (line 2016) | func Benchmark______________________SublistInsert(b *testing.B) { function Benchmark_______________SublistInsertNoCache (line 2024) | func Benchmark_______________SublistInsertNoCache(b *testing.B) { function benchSublistTokens (line 2032) | func benchSublistTokens(b *testing.B, tokens string) { function Benchmark____________SublistMatchSingleToken (line 2038) | func Benchmark____________SublistMatchSingleToken(b *testing.B) { function Benchmark______________SublistMatchTwoTokens (line 2042) | func Benchmark______________SublistMatchTwoTokens(b *testing.B) { function Benchmark____________SublistMatchThreeTokens (line 2046) | func Benchmark____________SublistMatchThreeTokens(b *testing.B) { function Benchmark_____________SublistMatchFourTokens (line 2050) | func Benchmark_____________SublistMatchFourTokens(b *testing.B) { function Benchmark_SublistMatchFourTokensSingleResult (line 2054) | func Benchmark_SublistMatchFourTokensSingleResult(b *testing.B) { function Benchmark_SublistMatchFourTokensMultiResults (line 2058) | func Benchmark_SublistMatchFourTokensMultiResults(b *testing.B) { function Benchmark_______SublistMissOnLastTokenOfFive (line 2062) | func Benchmark_______SublistMissOnLastTokenOfFive(b *testing.B) { function multiRead (line 2066) | func multiRead(b *testing.B, num int) { function Benchmark____________Sublist10XMultipleReads (line 2087) | func Benchmark____________Sublist10XMultipleReads(b *testing.B) { function Benchmark___________Sublist100XMultipleReads (line 2091) | func Benchmark___________Sublist100XMultipleReads(b *testing.B) { function Benchmark__________Sublist1000XMultipleReads (line 2095) | func Benchmark__________Sublist1000XMultipleReads(b *testing.B) { function Benchmark________________SublistMatchLiteral (line 2099) | func Benchmark________________SublistMatchLiteral(b *testing.B) { function Benchmark_____SublistMatch10kSubsWithNoCache (line 2134) | func Benchmark_____SublistMatch10kSubsWithNoCache(b *testing.B) { function removeTest (line 2150) | func removeTest(b *testing.B, singleSubject, doBatch bool, qgroup string) { function Benchmark__________SublistRemove1TokenSingle (line 2177) | func Benchmark__________SublistRemove1TokenSingle(b *testing.B) { function Benchmark___________SublistRemove1TokenBatch (line 2181) | func Benchmark___________SublistRemove1TokenBatch(b *testing.B) { function Benchmark_________SublistRemove2TokensSingle (line 2185) | func Benchmark_________SublistRemove2TokensSingle(b *testing.B) { function Benchmark__________SublistRemove2TokensBatch (line 2189) | func Benchmark__________SublistRemove2TokensBatch(b *testing.B) { function Benchmark________SublistRemove1TokenQGSingle (line 2193) | func Benchmark________SublistRemove1TokenQGSingle(b *testing.B) { function Benchmark_________SublistRemove1TokenQGBatch (line 2197) | func Benchmark_________SublistRemove1TokenQGBatch(b *testing.B) { function removeMultiTest (line 2201) | func removeMultiTest(b *testing.B, singleSubject, doBatch bool) { function Benchmark_________SublistRemove1kSingleMulti (line 2245) | func Benchmark_________SublistRemove1kSingleMulti(b *testing.B) { function Benchmark__________SublistRemove1kBatchMulti (line 2250) | func Benchmark__________SublistRemove1kBatchMulti(b *testing.B) { function Benchmark__SublistRemove1kSingle2TokensMulti (line 2254) | func Benchmark__SublistRemove1kSingle2TokensMulti(b *testing.B) { function Benchmark___SublistRemove1kBatch2TokensMulti (line 2259) | func Benchmark___SublistRemove1kBatch2TokensMulti(b *testing.B) { function cacheContentionTest (line 2264) | func cacheContentionTest(b *testing.B, numMatchers, numAdders, numRemove... function Benchmark____SublistCacheContention10M10A10R (line 2365) | func Benchmark____SublistCacheContention10M10A10R(b *testing.B) { function Benchmark_SublistCacheContention100M100A100R (line 2369) | func Benchmark_SublistCacheContention100M100A100R(b *testing.B) { function Benchmark____SublistCacheContention1kM1kA1kR (line 2373) | func Benchmark____SublistCacheContention1kM1kA1kR(b *testing.B) { function Benchmark_SublistCacheContention10kM10kA10kR (line 2377) | func Benchmark_SublistCacheContention10kM10kA10kR(b *testing.B) { function Benchmark______________IsValidLiteralSubject (line 2381) | func Benchmark______________IsValidLiteralSubject(b *testing.B) { function Benchmark___________________subjectIsLiteral (line 2387) | func Benchmark___________________subjectIsLiteral(b *testing.B) { function Benchmark_SubjectFilterMatchers (line 2395) | func Benchmark_SubjectFilterMatchers(b *testing.B) { FILE: server/sysmem/mem_bsd.go function Memory (line 18) | func Memory() int64 { FILE: server/sysmem/mem_darwin.go function Memory (line 18) | func Memory() int64 { FILE: server/sysmem/mem_linux.go function Memory (line 20) | func Memory() int64 { FILE: server/sysmem/mem_solaris.go constant _SC_PHYS_PAGES (line 23) | _SC_PHYS_PAGES = 500 constant _SC_PAGESIZE (line 24) | _SC_PAGESIZE = 11 function Memory (line 27) | func Memory() int64 { FILE: server/sysmem/mem_wasm.go function Memory (line 18) | func Memory() int64 { FILE: server/sysmem/mem_windows.go function init (line 27) | func init() { type _memoryStatusEx (line 37) | type _memoryStatusEx struct function Memory (line 44) | func Memory() int64 { FILE: server/sysmem/mem_zos.go function Memory (line 18) | func Memory() int64 { FILE: server/sysmem/sysctl.go function sysctlInt64 (line 23) | func sysctlInt64(name string) int64 { FILE: server/test_test.go function testDefaultClusterOptionsForLeafNodes (line 41) | func testDefaultClusterOptionsForLeafNodes() *Options { function RunRandClientPortServer (line 53) | func RunRandClientPortServer(t *testing.T) *Server { function require_True (line 60) | func require_True(t testing.TB, b bool) { function require_False (line 68) | func require_False(t testing.TB, b bool) { function require_NoError (line 76) | func require_NoError(t testing.TB, err error) { function require_NoPanic (line 87) | func require_NoPanic(t testing.TB) { function require_NotNil (line 94) | func require_NotNil[T any](t testing.TB, vs ...T) { function require_Contains (line 109) | func require_Contains(t *testing.T, s string, subStrs ...string) { function require_Error (line 122) | func require_Error(t testing.TB, err error, expected ...error) { function require_Equal (line 150) | func require_Equal[T comparable](t testing.TB, a, b T) { function require_NotEqual (line 158) | func require_NotEqual[T comparable](t testing.TB, a, b T) { function require_Len (line 166) | func require_Len(t testing.TB, a, b int) { function require_LessThan (line 174) | func require_LessThan[T cmp.Ordered](t *testing.T, a, b T) { function require_ChanRead (line 182) | func require_ChanRead[T any](t *testing.T, ch chan T, timeout time.Durat... function require_NoChanRead (line 194) | func require_NoChanRead[T any](t *testing.T, ch chan T, timeout time.Dur... function checkNatsError (line 204) | func checkNatsError(t *testing.T, e *ApiError, id ErrorIdentifier) { function createClusterWithName (line 218) | func createClusterWithName(t *testing.T, clusterName string, numServers ... function createClusterEx (line 225) | func createClusterEx(t *testing.T, doAccounts bool, gwSolicit time.Durat... method shutdown (line 335) | func (c *cluster) shutdown() { function shutdownCluster (line 358) | func shutdownCluster(c *cluster) { method randomServer (line 362) | func (c *cluster) randomServer() *Server { method randomServerFromCluster (line 366) | func (c *cluster) randomServerFromCluster(cname string) *Server { function runSolicitLeafServer (line 380) | func runSolicitLeafServer(lso *Options) (*Server, *Options) { function runSolicitLeafServerToURL (line 384) | func runSolicitLeafServerToURL(surl string) (*Server, *Options) { function skipIfBuildkite (line 394) | func skipIfBuildkite(t *testing.T) { FILE: server/thw/helper_test.go function require_NoError (line 21) | func require_NoError(t *testing.T, err error) { function require_Error (line 28) | func require_Error(t *testing.T, err error, expected ...error) { function require_True (line 45) | func require_True(t *testing.T, b bool) { function require_Equal (line 52) | func require_Equal[T comparable](t *testing.T, a, b T) { FILE: server/thw/thw.go constant tickDuration (line 31) | tickDuration = int64(time.Second) constant wheelBits (line 32) | wheelBits = 12 constant wheelSize (line 33) | wheelSize = 1 << wheelBits constant wheelMask (line 34) | wheelMask = wheelSize - 1 constant headerLen (line 35) | headerLen = 17 type slot (line 39) | type slot struct type HashWheel (line 45) | type HashWheel struct method getPosition (line 66) | func (hw *HashWheel) getPosition(expires int64) int64 { method Add (line 79) | func (hw *HashWheel) Add(seq uint64, expires int64) error { method Remove (line 103) | func (hw *HashWheel) Remove(seq uint64, expires int64) error { method Update (line 123) | func (hw *HashWheel) Update(seq uint64, oldExpires int64, newExpires i... method ExpireTasks (line 133) | func (hw *HashWheel) ExpireTasks(callback func(seq uint64, expires int... method expireTasks (line 138) | func (hw *HashWheel) expireTasks(ts int64, callback func(seq uint64, e... method GetNextExpiration (line 182) | func (hw *HashWheel) GetNextExpiration(before int64) int64 { method Count (line 190) | func (hw *HashWheel) Count() uint64 { method Encode (line 197) | func (hw *HashWheel) Encode(highSeq uint64) []byte { method Decode (line 216) | func (hw *HashWheel) Decode(b []byte) (uint64, error) { type HashWheelEntry (line 52) | type HashWheelEntry struct function NewHashWheel (line 58) | func NewHashWheel() *HashWheel { function newSlot (line 71) | func newSlot() *slot { FILE: server/thw/thw_test.go function TestHashWheelBasics (line 22) | func TestHashWheelBasics(t *testing.T) { function TestHashWheelUpdate (line 44) | func TestHashWheelUpdate(t *testing.T) { function TestHashWheelExpiration (line 67) | func TestHashWheelExpiration(t *testing.T) { function TestHashWheelManualExpiration (line 97) | func TestHashWheelManualExpiration(t *testing.T) { function TestHashWheelExpirationLargerThanWheel (line 143) | func TestHashWheelExpirationLargerThanWheel(t *testing.T) { function TestHashWheelNextExpiration (line 171) | func TestHashWheelNextExpiration(t *testing.T) { function TestHashWheelStress (line 197) | func TestHashWheelStress(t *testing.T) { function TestHashWheelEncodeDecode (line 222) | func TestHashWheelEncodeDecode(t *testing.T) { function BenchmarkHashWheel_Add (line 256) | func BenchmarkHashWheel_Add(b *testing.B) { function BenchmarkHashWheel_Add_SameSlot (line 272) | func BenchmarkHashWheel_Add_SameSlot(b *testing.B) { function BenchmarkHashWheel_Update (line 282) | func BenchmarkHashWheel_Update(b *testing.B) { function BenchmarkHashWheel_Update_SameSlot (line 301) | func BenchmarkHashWheel_Update_SameSlot(b *testing.B) { function BenchmarkHashWheel_Add_Memory (line 319) | func BenchmarkHashWheel_Add_Memory(b *testing.B) { function BenchmarkHashWheel_LargeScale (line 336) | func BenchmarkHashWheel_LargeScale(b *testing.B) { FILE: server/tpm/js_ek_tpm_other.go function LoadJetStreamEncryptionKeyFromTPM (line 21) | func LoadJetStreamEncryptionKeyFromTPM(srkPassword, jsKeyFile, jsKeyPass... FILE: server/tpm/js_ek_tpm_test.go function getTempFile (line 23) | func getTempFile(t *testing.T) string { function TestLoadJetStreamEncryptionKeyFromTPM (line 27) | func TestLoadJetStreamEncryptionKeyFromTPM(t *testing.T) { function TestLoadJetStreamEncryptionKeyFromTPMBasic (line 63) | func TestLoadJetStreamEncryptionKeyFromTPMBasic(t *testing.T) { FILE: server/tpm/js_ek_tpm_windows.go function regenerateSRK (line 51) | func regenerateSRK(rwc io.ReadWriteCloser, srkPassword string) (tpmutil.... type natsTPMPersistedKeys (line 77) | type natsTPMPersistedKeys struct function writeTPMKeysToFile (line 85) | func writeTPMKeysToFile(filename string, privateBlob []byte, publicBlob ... function readTPMKeysFromFile (line 115) | func readTPMKeysFromFile(filename string) ([]byte, []byte, error) { function createAndSealJsEncryptionKey (line 146) | func createAndSealJsEncryptionKey(rwc io.ReadWriteCloser, srkHandle tpmu... function unsealJsEncrpytionKey (line 178) | func unsealJsEncrpytionKey(rwc io.ReadWriteCloser, pcr int, srkHandle tp... function policyPCRPasswordSession (line 203) | func policyPCRPasswordSession(rwc io.ReadWriteCloser, pcr int) (sessHand... function LoadJetStreamEncryptionKeyFromTPM (line 245) | func LoadJetStreamEncryptionKeyFromTPM(srkPassword, jsKeyFile, jsKeyPass... FILE: server/trust_test.go constant t1 (line 23) | t1 = "OBYEOZQ46VZMFMNETBAW2H6VGDSOBLP67VUEZJ5LPR3PIZBWWRIY4UI4" constant t2 (line 24) | t2 = "OAHC7NGAHG3YVPTD6QOUFZGPM2OMU6EOS67O2VHBUOA6BJLPTWFHGLKU" function TestStampedTrustedKeys (line 27) | func TestStampedTrustedKeys(t *testing.T) { function TestTrustedKeysOptions (line 60) | func TestTrustedKeysOptions(t *testing.T) { function TestTrustConfigOption (line 85) | func TestTrustConfigOption(t *testing.T) { FILE: server/util.go type refCountedUrlSet (line 34) | type refCountedUrlSet method addUrl (line 203) | func (m refCountedUrlSet) addUrl(urlStr string) bool { method removeUrl (line 212) | func (m refCountedUrlSet) removeUrl(urlStr string) bool { method getAsStringSlice (line 226) | func (m refCountedUrlSet) getAsStringSlice() []string { constant asciiZero (line 38) | asciiZero = 48 constant asciiNine (line 39) | asciiNine = 57 function versionComponents (line 42) | func versionComponents(version string) (major, minor, patch int, err err... function versionAtLeastCheckError (line 62) | func versionAtLeastCheckError(version string, emajor, eminor, epatch int... function versionAtLeast (line 75) | func versionAtLeast(version string, emajor, eminor, epatch int) bool { function parseSize (line 82) | func parseSize(d []byte) (n int) { function parseInt64 (line 113) | func parseInt64(d []byte) (n int64) { function secondsToDuration (line 127) | func secondsToDuration(seconds float64) time.Duration { function parseHostPort (line 134) | func parseHostPort(hostPort string, defaultPort int) (host string, port ... function urlsAreEqual (line 158) | func urlsAreEqual(u1, u2 *url.URL) bool { function comma (line 169) | func comma(v int64) string { function natsListen (line 252) | func natsListen(network, address string) (net.Listener, error) { function natsDialTimeout (line 258) | func natsDialTimeout(network, address string, timeout time.Duration) (ne... function redactURLList (line 270) | func redactURLList(unredacted []*url.URL) []*url.URL { function redactURLString (line 296) | func redactURLString(raw string) string { function getURLsAsString (line 308) | func getURLsAsString(urls []*url.URL) []string { function copyBytes (line 318) | func copyBytes(src []byte) []byte { function copyStrings (line 329) | func copyStrings(src []string) []string { function generateInfoJSON (line 339) | func generateInfoJSON(info *Info) []byte { function parallelTaskQueue (line 350) | func parallelTaskQueue(mp int) chan<- func() { FILE: server/util_test.go function TestParseSize (line 27) | func TestParseSize(t *testing.T) { function TestParseSInt64 (line 42) | func TestParseSInt64(t *testing.T) { function TestParseHostPort (line 57) | func TestParseHostPort(t *testing.T) { function TestURLsAreEqual (line 93) | func TestURLsAreEqual(t *testing.T) { function TestComma (line 118) | func TestComma(t *testing.T) { function TestURLRedaction (line 164) | func TestURLRedaction(t *testing.T) { function TestVersionAtLeast (line 195) | func TestVersionAtLeast(t *testing.T) { function BenchmarkParseInt (line 223) | func BenchmarkParseInt(b *testing.B) { function BenchmarkParseSize (line 231) | func BenchmarkParseSize(b *testing.B) { function deferUnlock (line 239) | func deferUnlock(mu *sync.Mutex) { function BenchmarkDeferMutex (line 248) | func BenchmarkDeferMutex(b *testing.B) { function noDeferUnlock (line 256) | func noDeferUnlock(mu *sync.Mutex) { function BenchmarkNoDeferMutex (line 265) | func BenchmarkNoDeferMutex(b *testing.B) { function createTestSub (line 273) | func createTestSub() *subscription { function BenchmarkArrayRand (line 281) | func BenchmarkArrayRand(b *testing.B) { function BenchmarkMapRange (line 297) | func BenchmarkMapRange(b *testing.B) { FILE: server/websocket.go type wsOpCode (line 41) | type wsOpCode constant wsTextMessage (line 45) | wsTextMessage = wsOpCode(1) constant wsBinaryMessage (line 46) | wsBinaryMessage = wsOpCode(2) constant wsCloseMessage (line 47) | wsCloseMessage = wsOpCode(8) constant wsPingMessage (line 48) | wsPingMessage = wsOpCode(9) constant wsPongMessage (line 49) | wsPongMessage = wsOpCode(10) constant wsFinalBit (line 51) | wsFinalBit = 1 << 7 constant wsRsv1Bit (line 52) | wsRsv1Bit = 1 << 6 constant wsRsv2Bit (line 53) | wsRsv2Bit = 1 << 5 constant wsRsv3Bit (line 54) | wsRsv3Bit = 1 << 4 constant wsMaskBit (line 56) | wsMaskBit = 1 << 7 constant wsContinuationFrame (line 58) | wsContinuationFrame = 0 constant wsMaxFrameHeaderSize (line 59) | wsMaxFrameHeaderSize = 14 constant wsMaxControlPayloadSize (line 60) | wsMaxControlPayloadSize = 125 constant wsFrameSizeForBrowsers (line 61) | wsFrameSizeForBrowsers = 4096 constant wsCompressThreshold (line 62) | wsCompressThreshold = 64 constant wsCloseSatusSize (line 63) | wsCloseSatusSize = 2 constant wsCloseStatusNormalClosure (line 66) | wsCloseStatusNormalClosure = 1000 constant wsCloseStatusGoingAway (line 67) | wsCloseStatusGoingAway = 1001 constant wsCloseStatusProtocolError (line 68) | wsCloseStatusProtocolError = 1002 constant wsCloseStatusUnsupportedData (line 69) | wsCloseStatusUnsupportedData = 1003 constant wsCloseStatusNoStatusReceived (line 70) | wsCloseStatusNoStatusReceived = 1005 constant wsCloseStatusInvalidPayloadData (line 71) | wsCloseStatusInvalidPayloadData = 1007 constant wsCloseStatusPolicyViolation (line 72) | wsCloseStatusPolicyViolation = 1008 constant wsCloseStatusMessageTooBig (line 73) | wsCloseStatusMessageTooBig = 1009 constant wsCloseStatusInternalSrvError (line 74) | wsCloseStatusInternalSrvError = 1011 constant wsCloseStatusTLSHandshake (line 75) | wsCloseStatusTLSHandshake = 1015 constant wsFirstFrame (line 77) | wsFirstFrame = true constant wsContFrame (line 78) | wsContFrame = false constant wsFinalFrame (line 79) | wsFinalFrame = true constant wsUncompressedFrame (line 80) | wsUncompressedFrame = false constant wsSchemePrefix (line 82) | wsSchemePrefix = "ws" constant wsSchemePrefixTLS (line 83) | wsSchemePrefixTLS = "wss" constant wsNoMaskingHeader (line 85) | wsNoMaskingHeader = "Nats-No-Masking" constant wsNoMaskingValue (line 86) | wsNoMaskingValue = "true" constant wsXForwardedForHeader (line 87) | wsXForwardedForHeader = "X-Forwarded-For" constant wsNoMaskingFullResponse (line 88) | wsNoMaskingFullResponse = wsNoMaskingHeader + ": " + wsNoMaskingValue + ... constant wsPMCExtension (line 89) | wsPMCExtension = "permessage-deflate" constant wsPMCSrvNoCtx (line 90) | wsPMCSrvNoCtx = "server_no_context_takeover" constant wsPMCCliNoCtx (line 91) | wsPMCCliNoCtx = "client_no_context_takeover" constant wsPMCReqHeaderValue (line 92) | wsPMCReqHeaderValue = wsPMCExtension + "; " + wsPMCSrvNoCtx + "; " +... constant wsPMCFullResponse (line 93) | wsPMCFullResponse = "Sec-WebSocket-Extensions: " + wsPMCExtension ... constant wsSecProto (line 94) | wsSecProto = "Sec-Websocket-Protocol" constant wsMQTTSecProtoVal (line 95) | wsMQTTSecProtoVal = "mqtt" constant wsMQTTSecProto (line 96) | wsMQTTSecProto = wsSecProto + ": " + wsMQTTSecProtoVal + CR_LF type websocket (line 108) | type websocket struct type srvWebsocket (line 126) | type srvWebsocket struct method checkOrigin (line 999) | func (w *srvWebsocket) checkOrigin(r *http.Request) error { type allowedOrigin (line 145) | type allowedOrigin struct type wsUpgradeResult (line 150) | type wsUpgradeResult struct type wsReadInfo (line 156) | type wsReadInfo struct method init (line 169) | func (r *wsReadInfo) init() { method resetCompressedState (line 173) | func (r *wsReadInfo) resetCompressedState() { method Read (line 384) | func (r *wsReadInfo) Read(dst []byte) (int, error) { method nextCBuf (line 407) | func (r *wsReadInfo) nextCBuf() []byte { method ReadByte (line 424) | func (r *wsReadInfo) ReadByte() (byte, error) { method decompress (line 442) | func (r *wsReadInfo) decompress(mpay int) ([]byte, error) { method unmask (line 551) | func (r *wsReadInfo) unmask(buf []byte) { function wsGet (line 189) | func wsGet(r io.Reader, buf []byte, pos, needed uint64) ([]byte, uint64,... method isWebsocket (line 208) | func (c *client) isWebsocket() bool { method wsRead (line 219) | func (c *client) wsRead(r *wsReadInfo, ior io.Reader, buf []byte) ([][]b... method wsHandleControlFrame (line 481) | func (c *client) wsHandleControlFrame(r *wsReadInfo, frameType wsOpCode,... function wsIsControlFrame (line 581) | func wsIsControlFrame(frameType wsOpCode) bool { function wsCreateFrameHeader (line 587) | func wsCreateFrameHeader(useMasking, compressed bool, frameType wsOpCode... function wsFillFrameHeader (line 593) | func wsFillFrameHeader(fh []byte, useMasking, first, final, compressed b... method wsEnqueueControlMessage (line 642) | func (c *client) wsEnqueueControlMessage(controlMsg wsOpCode, payload []... function wsMaskBuf (line 649) | func wsMaskBuf(key, buf []byte) { function wsMaskBufs (line 656) | func wsMaskBufs(key []byte, bufs [][]byte) { method wsEnqueueControlMessageLocked (line 673) | func (c *client) wsEnqueueControlMessageLocked(controlMsg wsOpCode, payl... method wsEnqueueCloseMessage (line 710) | func (c *client) wsEnqueueCloseMessage(reason ClosedState) { method wsHandleProtocolError (line 742) | func (c *client) wsHandleProtocolError(message string) error { function wsIsValidCloseStatus (line 749) | func wsIsValidCloseStatus(code int) bool { function wsCreateCloseMessage (line 768) | func wsCreateCloseMessage(status int, body string) []byte { method wsUpgrade (line 788) | func (s *Server) wsUpgrade(w http.ResponseWriter, r *http.Request) (*wsU... function wsHeaderContains (line 938) | func wsHeaderContains(header http.Header, name string, value string) bool { function wsPMCExtensionSupport (line 951) | func wsPMCExtensionSupport(header http.Header, checkPMCOnly bool) (bool,... function wsReturnHTTPError (line 987) | func wsReturnHTTPError(w http.ResponseWriter, r *http.Request, status in... function wsGetHostAndPort (line 1062) | func wsGetHostAndPort(tls bool, hostport string) (string, string, error) { function wsAcceptKey (line 1081) | func wsAcceptKey(key string) string { function wsMakeChallengeKey (line 1088) | func wsMakeChallengeKey() (string, error) { function validateWebsocketOptions (line 1097) | func validateWebsocketOptions(o *Options) error { method wsSetOriginOptions (line 1170) | func (s *Server) wsSetOriginOptions(o *WebsocketOpts) { method wsSetHeadersOptions (line 1198) | func (s *Server) wsSetHeadersOptions(o *WebsocketOpts) { method wsConfigAuth (line 1218) | func (s *Server) wsConfigAuth(opts *WebsocketOpts) { method startWebsocketServer (line 1224) | func (s *Server) startWebsocketServer() { method wsGetTLSConfig (line 1351) | func (s *Server) wsGetTLSConfig(_ *tls.ClientHelloInfo) (*tls.Config, er... method createWSClient (line 1360) | func (s *Server) createWSClient(conn net.Conn, ws *websocket) *client { method wsCollapsePtoNB (line 1454) | func (c *client) wsCollapsePtoNB() (net.Buffers, int64) { function isWSURL (line 1634) | func isWSURL(u *url.URL) bool { function isWSSURL (line 1638) | func isWSSURL(u *url.URL) bool { FILE: server/websocket_test.go type testReader (line 43) | type testReader struct method Read (line 50) | func (tr *testReader) Read(p []byte) (int, error) { function TestWSGet (line 69) | func TestWSGet(t *testing.T) { function TestWSIsControlFrame (line 123) | func TestWSIsControlFrame(t *testing.T) { function testWSSimpleMask (line 143) | func testWSSimpleMask(key, buf []byte) { function TestWSUnmask (line 149) | func TestWSUnmask(t *testing.T) { function TestWSCreateCloseMessage (line 186) | func TestWSCreateCloseMessage(t *testing.T) { function TestWSCreateFrameHeader (line 227) | func TestWSCreateFrameHeader(t *testing.T) { function testWSCreateClientMsg (line 287) | func testWSCreateClientMsg(frameType wsOpCode, frameNum int, final, comp... function testWSSetupForRead (line 331) | func testWSSetupForRead() (*client, *wsReadInfo, *testReader) { function TestWSReadUncompressedFrames (line 343) | func TestWSReadUncompressedFrames(t *testing.T) { function TestWSReadCompressedFrames (line 411) | func TestWSReadCompressedFrames(t *testing.T) { function TestWSReadCompressedFrameCorrupted (line 479) | func TestWSReadCompressedFrameCorrupted(t *testing.T) { function TestWSReadVariousFrameSizes (line 495) | func TestWSReadVariousFrameSizes(t *testing.T) { function TestWSReadFragmentedFrames (line 526) | func TestWSReadFragmentedFrames(t *testing.T) { function TestWSReadPartialFrameHeaderAtEndOfReadBuffer (line 549) | func TestWSReadPartialFrameHeaderAtEndOfReadBuffer(t *testing.T) { function TestWSReadPingFrame (line 574) | func TestWSReadPingFrame(t *testing.T) { function TestWSReadPongFrame (line 619) | func TestWSReadPongFrame(t *testing.T) { function TestWSReadCloseFrame (line 649) | func TestWSReadCloseFrame(t *testing.T) { function TestWSReadControlFrameBetweebFragmentedFrames (line 722) | func TestWSReadControlFrameBetweebFragmentedFrames(t *testing.T) { function TestWSCloseFrameWithPartialOrInvalid (line 745) | func TestWSCloseFrameWithPartialOrInvalid(t *testing.T) { function TestWSReadGetErrors (line 856) | func TestWSReadGetErrors(t *testing.T) { function TestWSHandleControlFrameErrors (line 891) | func TestWSHandleControlFrameErrors(t *testing.T) { function TestWSReadErrors (line 945) | func TestWSReadErrors(t *testing.T) { function TestWSReadHugePayloadLenDoesNotPanic (line 1110) | func TestWSReadHugePayloadLenDoesNotPanic(t *testing.T) { function TestWSReadByteWithEmptyCompressedBufferDoesNotPanic (line 1124) | func TestWSReadByteWithEmptyCompressedBufferDoesNotPanic(t *testing.T) { function TestWSEnqueueCloseMsg (line 1132) | func TestWSEnqueueCloseMsg(t *testing.T) { type testResponseWriter (line 1186) | type testResponseWriter struct method Write (line 1195) | func (trw *testResponseWriter) Write(p []byte) (int, error) { method WriteHeader (line 1199) | func (trw *testResponseWriter) WriteHeader(status int) { method Header (line 1203) | func (trw *testResponseWriter) Header() http.Header { method Hijack (line 1258) | func (trw *testResponseWriter) Hijack() (net.Conn, *bufio.ReadWriter, ... type testNoHijackResponseWriter (line 1210) | type testNoHijackResponseWriter struct method Write (line 1215) | func (trw *testNoHijackResponseWriter) Write(p []byte) (int, error) { method WriteHeader (line 1219) | func (trw *testNoHijackResponseWriter) WriteHeader(status int) { method Header (line 1223) | func (trw *testNoHijackResponseWriter) Header() http.Header { type testWSFakeNetConn (line 1230) | type testWSFakeNetConn struct method Write (line 1239) | func (c *testWSFakeNetConn) Write(p []byte) (int, error) { method SetDeadline (line 1246) | func (c *testWSFakeNetConn) SetDeadline(t time.Time) error { method Close (line 1253) | func (c *testWSFakeNetConn) Close() error { function testWSOptions (line 1269) | func testWSOptions() *Options { function testWSCreateValidReq (line 1287) | func testWSCreateValidReq() *http.Request { function TestWSCheckOrigin (line 1301) | func TestWSCheckOrigin(t *testing.T) { function TestWSUpgradeValidationErrors (line 1361) | func TestWSUpgradeValidationErrors(t *testing.T) { function TestWSUpgradeResponseWriteError (line 1546) | func TestWSUpgradeResponseWriteError(t *testing.T) { function TestWSUpgradeNoHijacker (line 1566) | func TestWSUpgradeNoHijacker(t *testing.T) { function TestWSUpgradeConnDeadline (line 1584) | func TestWSUpgradeConnDeadline(t *testing.T) { function TestWSUpgradeWithEmptyXForwardedForSliceDoesNotPanic (line 1602) | func TestWSUpgradeWithEmptyXForwardedForSliceDoesNotPanic(t *testing.T) { function TestWSCompressNegotiation (line 1617) | func TestWSCompressNegotiation(t *testing.T) { function TestWSSetHeader (line 1661) | func TestWSSetHeader(t *testing.T) { function TestWSParseOptions (line 1716) | func TestWSParseOptions(t *testing.T) { function TestWSValidateOptions (line 1928) | func TestWSValidateOptions(t *testing.T) { function TestWSSetOriginOptions (line 2013) | func TestWSSetOriginOptions(t *testing.T) { type captureFatalLogger (line 2041) | type captureFatalLogger struct method Fatalf (line 2046) | func (l *captureFatalLogger) Fatalf(format string, v ...any) { function TestWSFailureToStartServer (line 2053) | func TestWSFailureToStartServer(t *testing.T) { function TestWSAbnormalFailureOfWebServer (line 2109) | func TestWSAbnormalFailureOfWebServer(t *testing.T) { type testWSClientOptions (line 2131) | type testWSClientOptions struct function testNewWSClient (line 2141) | func testNewWSClient(t testing.TB, o testWSClientOptions) (net.Conn, *bu... function testNewWSClientWithError (line 2150) | func testNewWSClientWithError(t testing.TB, o testWSClientOptions) (net.... type testClaimsOptions (line 2216) | type testClaimsOptions struct function testWSWithClaims (line 2224) | func testWSWithClaims(t *testing.T, s *Server, o testWSClientOptions, tc... function setupAddTrusted (line 2292) | func setupAddTrusted(o *Options) { function setupAddCookie (line 2298) | func setupAddCookie(o *Options) { function testWSCreateClientGetInfo (line 2302) | func testWSCreateClientGetInfo(t testing.TB, compress, web bool, host st... function testWSCreateClient (line 2318) | func testWSCreateClient(t testing.TB, compress, web bool, host string, p... function testWSReadFrame (line 2332) | func testWSReadFrame(t testing.TB, br *bufio.Reader) []byte { function TestWSPubSub (line 2374) | func TestWSPubSub(t *testing.T) { function TestWSTLSConnection (line 2446) | func TestWSTLSConnection(t *testing.T) { function TestWSTLSVerifyClientCert (line 2495) | func TestWSTLSVerifyClientCert(t *testing.T) { function testCreateAllowedConnectionTypes (line 2571) | func testCreateAllowedConnectionTypes(list []string) map[string]struct{} { function TestWSTLSVerifyAndMap (line 2582) | func TestWSTLSVerifyAndMap(t *testing.T) { function TestWSHandshakeTimeout (line 2711) | func TestWSHandshakeTimeout(t *testing.T) { function TestWSServerReportUpgradeFailure (line 2755) | func TestWSServerReportUpgradeFailure(t *testing.T) { function TestWSCloseMsgSendOnConnectionClose (line 2808) | func TestWSCloseMsgSendOnConnectionClose(t *testing.T) { function TestWSAdvertise (line 2839) | func TestWSAdvertise(t *testing.T) { function TestWSFrameOutbound (line 2909) | func TestWSFrameOutbound(t *testing.T) { function TestWSWebrowserClient (line 3146) | func TestWSWebrowserClient(t *testing.T) { type testWSWrappedConn (line 3195) | type testWSWrappedConn struct method Write (line 3202) | func (wc *testWSWrappedConn) Write(p []byte) (int, error) { function TestWSCompressionBasic (line 3217) | func TestWSCompressionBasic(t *testing.T) { function TestWSCompressionWithPartialWrite (line 3318) | func TestWSCompressionWithPartialWrite(t *testing.T) { function TestWSCompressionFrameSizeLimit (line 3406) | func TestWSCompressionFrameSizeLimit(t *testing.T) { function TestWSCompressionPoolBufferRecycling (line 3490) | func TestWSCompressionPoolBufferRecycling(t *testing.T) { function TestWSBasicAuth (line 3543) | func TestWSBasicAuth(t *testing.T) { function TestWSAuthTimeout (line 3709) | func TestWSAuthTimeout(t *testing.T) { function TestWSTokenAuth (line 3758) | func TestWSTokenAuth(t *testing.T) { function TestWSBindToProperAccount (line 3847) | func TestWSBindToProperAccount(t *testing.T) { function TestWSUsersAuth (line 3895) | func TestWSUsersAuth(t *testing.T) { function TestWSNoAuthUserValidation (line 3979) | func TestWSNoAuthUserValidation(t *testing.T) { function TestWSNoAuthUser (line 3996) | func TestWSNoAuthUser(t *testing.T) { function TestWSNkeyAuth (line 4064) | func TestWSNkeyAuth(t *testing.T) { function TestWSSetHeaderServer (line 4177) | func TestWSSetHeaderServer(t *testing.T) { function TestWSJWTWithAllowedConnectionTypes (line 4196) | func TestWSJWTWithAllowedConnectionTypes(t *testing.T) { function TestWSJWTCookieUser (line 4226) | func TestWSJWTCookieUser(t *testing.T) { function TestWSReloadTLSConfig (line 4342) | func TestWSReloadTLSConfig(t *testing.T) { type captureClientConnectedLogger (line 4474) | type captureClientConnectedLogger struct method Debugf (line 4479) | func (l *captureClientConnectedLogger) Debugf(format string, v ...any) { function TestWSXForwardedFor (line 4490) | func TestWSXForwardedFor(t *testing.T) { type partialWriteConn (line 4569) | type partialWriteConn struct method Write (line 4573) | func (c *partialWriteConn) Write(b []byte) (int, error) { function TestWSWithPartialWrite (line 4588) | func TestWSWithPartialWrite(t *testing.T) { function testWSNoCorruptionWithFrameSizeLimit (line 4635) | func testWSNoCorruptionWithFrameSizeLimit(t *testing.T, total int) { function TestWSNoCorruptionWithFrameSizeLimit (line 4748) | func TestWSNoCorruptionWithFrameSizeLimit(t *testing.T) { function TestWSDecompressLimit (line 4752) | func TestWSDecompressLimit(t *testing.T) { constant testWSBenchSubject (line 4849) | testWSBenchSubject = "a" function sizedString (line 4853) | func sizedString(sz int) string { function sizedStringForCompression (line 4861) | func sizedStringForCompression(sz int) string { function testWSFlushConn (line 4874) | func testWSFlushConn(b *testing.B, compress bool, c net.Conn, br *bufio.... function wsBenchPub (line 4885) | func wsBenchPub(b *testing.B, numPubs int, compress bool, payload string) { function Benchmark_WS_Pubx1_CN_____0b (line 4956) | func Benchmark_WS_Pubx1_CN_____0b(b *testing.B) { function Benchmark_WS_Pubx1_CY_____0b (line 4960) | func Benchmark_WS_Pubx1_CY_____0b(b *testing.B) { function Benchmark_WS_Pubx1_CN___128b (line 4964) | func Benchmark_WS_Pubx1_CN___128b(b *testing.B) { function Benchmark_WS_Pubx1_CY___128b (line 4969) | func Benchmark_WS_Pubx1_CY___128b(b *testing.B) { function Benchmark_WS_Pubx1_CN__1024b (line 4974) | func Benchmark_WS_Pubx1_CN__1024b(b *testing.B) { function Benchmark_WS_Pubx1_CY__1024b (line 4979) | func Benchmark_WS_Pubx1_CY__1024b(b *testing.B) { function Benchmark_WS_Pubx1_CN__4096b (line 4984) | func Benchmark_WS_Pubx1_CN__4096b(b *testing.B) { function Benchmark_WS_Pubx1_CY__4096b (line 4989) | func Benchmark_WS_Pubx1_CY__4096b(b *testing.B) { function Benchmark_WS_Pubx1_CN__8192b (line 4994) | func Benchmark_WS_Pubx1_CN__8192b(b *testing.B) { function Benchmark_WS_Pubx1_CY__8192b (line 4999) | func Benchmark_WS_Pubx1_CY__8192b(b *testing.B) { function Benchmark_WS_Pubx1_CN_32768b (line 5004) | func Benchmark_WS_Pubx1_CN_32768b(b *testing.B) { function Benchmark_WS_Pubx1_CY_32768b (line 5009) | func Benchmark_WS_Pubx1_CY_32768b(b *testing.B) { function Benchmark_WS_Pubx5_CN_____0b (line 5014) | func Benchmark_WS_Pubx5_CN_____0b(b *testing.B) { function Benchmark_WS_Pubx5_CY_____0b (line 5018) | func Benchmark_WS_Pubx5_CY_____0b(b *testing.B) { function Benchmark_WS_Pubx5_CN___128b (line 5022) | func Benchmark_WS_Pubx5_CN___128b(b *testing.B) { function Benchmark_WS_Pubx5_CY___128b (line 5027) | func Benchmark_WS_Pubx5_CY___128b(b *testing.B) { function Benchmark_WS_Pubx5_CN__1024b (line 5032) | func Benchmark_WS_Pubx5_CN__1024b(b *testing.B) { function Benchmark_WS_Pubx5_CY__1024b (line 5037) | func Benchmark_WS_Pubx5_CY__1024b(b *testing.B) { function Benchmark_WS_Pubx5_CN__4096b (line 5042) | func Benchmark_WS_Pubx5_CN__4096b(b *testing.B) { function Benchmark_WS_Pubx5_CY__4096b (line 5047) | func Benchmark_WS_Pubx5_CY__4096b(b *testing.B) { function Benchmark_WS_Pubx5_CN__8192b (line 5052) | func Benchmark_WS_Pubx5_CN__8192b(b *testing.B) { function Benchmark_WS_Pubx5_CY__8192b (line 5057) | func Benchmark_WS_Pubx5_CY__8192b(b *testing.B) { function Benchmark_WS_Pubx5_CN_32768b (line 5062) | func Benchmark_WS_Pubx5_CN_32768b(b *testing.B) { function Benchmark_WS_Pubx5_CY_32768b (line 5067) | func Benchmark_WS_Pubx5_CY_32768b(b *testing.B) { function wsBenchSub (line 5072) | func wsBenchSub(b *testing.B, numSubs int, compress bool, payload string) { function Benchmark_WS_Subx1_CN_____0b (line 5117) | func Benchmark_WS_Subx1_CN_____0b(b *testing.B) { function Benchmark_WS_Subx1_CY_____0b (line 5121) | func Benchmark_WS_Subx1_CY_____0b(b *testing.B) { function Benchmark_WS_Subx1_CN___128b (line 5125) | func Benchmark_WS_Subx1_CN___128b(b *testing.B) { function Benchmark_WS_Subx1_CY___128b (line 5130) | func Benchmark_WS_Subx1_CY___128b(b *testing.B) { function Benchmark_WS_Subx1_CN__1024b (line 5135) | func Benchmark_WS_Subx1_CN__1024b(b *testing.B) { function Benchmark_WS_Subx1_CY__1024b (line 5140) | func Benchmark_WS_Subx1_CY__1024b(b *testing.B) { function Benchmark_WS_Subx1_CN__4096b (line 5145) | func Benchmark_WS_Subx1_CN__4096b(b *testing.B) { function Benchmark_WS_Subx1_CY__4096b (line 5150) | func Benchmark_WS_Subx1_CY__4096b(b *testing.B) { function Benchmark_WS_Subx1_CN__8192b (line 5155) | func Benchmark_WS_Subx1_CN__8192b(b *testing.B) { function Benchmark_WS_Subx1_CY__8192b (line 5160) | func Benchmark_WS_Subx1_CY__8192b(b *testing.B) { function Benchmark_WS_Subx1_CN_32768b (line 5165) | func Benchmark_WS_Subx1_CN_32768b(b *testing.B) { function Benchmark_WS_Subx1_CY_32768b (line 5170) | func Benchmark_WS_Subx1_CY_32768b(b *testing.B) { function Benchmark_WS_Subx5_CN_____0b (line 5175) | func Benchmark_WS_Subx5_CN_____0b(b *testing.B) { function Benchmark_WS_Subx5_CY_____0b (line 5179) | func Benchmark_WS_Subx5_CY_____0b(b *testing.B) { function Benchmark_WS_Subx5_CN___128b (line 5183) | func Benchmark_WS_Subx5_CN___128b(b *testing.B) { function Benchmark_WS_Subx5_CY___128b (line 5188) | func Benchmark_WS_Subx5_CY___128b(b *testing.B) { function Benchmark_WS_Subx5_CN__1024b (line 5193) | func Benchmark_WS_Subx5_CN__1024b(b *testing.B) { function Benchmark_WS_Subx5_CY__1024b (line 5198) | func Benchmark_WS_Subx5_CY__1024b(b *testing.B) { function Benchmark_WS_Subx5_CN__4096b (line 5203) | func Benchmark_WS_Subx5_CN__4096b(b *testing.B) { function Benchmark_WS_Subx5_CY__4096b (line 5208) | func Benchmark_WS_Subx5_CY__4096b(b *testing.B) { function TestWebsocketPingInterval (line 5213) | func TestWebsocketPingInterval(t *testing.T) { function Benchmark_WS_Subx5_CN__8192b (line 5241) | func Benchmark_WS_Subx5_CN__8192b(b *testing.B) { function Benchmark_WS_Subx5_CY__8192b (line 5246) | func Benchmark_WS_Subx5_CY__8192b(b *testing.B) { function Benchmark_WS_Subx5_CN_32768b (line 5251) | func Benchmark_WS_Subx5_CN_32768b(b *testing.B) { function Benchmark_WS_Subx5_CY_32768b (line 5256) | func Benchmark_WS_Subx5_CY_32768b(b *testing.B) { FILE: test/accounts_cycles_test.go function TestAccountCycleService (line 27) | func TestAccountCycleService(t *testing.T) { function TestAccountCycleStream (line 84) | func TestAccountCycleStream(t *testing.T) { function TestAccountCycleStreamWithMapping (line 102) | func TestAccountCycleStreamWithMapping(t *testing.T) { function TestAccountCycleNonCycleStreamWithMapping (line 120) | func TestAccountCycleNonCycleStreamWithMapping(t *testing.T) { function TestAccountCycleServiceCycleWithMapping (line 142) | func TestAccountCycleServiceCycleWithMapping(t *testing.T) { function TestAccountCycleServiceNonCycle (line 160) | func TestAccountCycleServiceNonCycle(t *testing.T) { function TestAccountCycleServiceNonCycleChain (line 183) | func TestAccountCycleServiceNonCycleChain(t *testing.T) { function TestServiceImportReplyMatchCycle (line 210) | func TestServiceImportReplyMatchCycle(t *testing.T) { function TestServiceImportReplyMatchCycleMultiHops (line 259) | func TestServiceImportReplyMatchCycleMultiHops(t *testing.T) { function TestAccountCycleDepthLimit (line 313) | func TestAccountCycleDepthLimit(t *testing.T) { function TestAccountSubjectMapping (line 365) | func TestAccountSubjectMapping(t *testing.T) { function TestAccountImportSubjectMapping (line 446) | func TestAccountImportSubjectMapping(t *testing.T) { function TestAccountCycleWithRenaming (line 513) | func TestAccountCycleWithRenaming(t *testing.T) { function TestAccountCycleFalsePositiveSubjectMapping (line 548) | func TestAccountCycleFalsePositiveSubjectMapping(t *testing.T) { function TestAccountCycleServiceMissedDueToFromMutation (line 574) | func TestAccountCycleServiceMissedDueToFromMutation(t *testing.T) { function TestAccountCycleStreamMissedDueToToMutation (line 616) | func TestAccountCycleStreamMissedDueToToMutation(t *testing.T) { function clientConnectToServer (line 644) | func clientConnectToServer(t *testing.T, s *server.Server) *nats.Conn { function clientConnectToServerWithUP (line 656) | func clientConnectToServerWithUP(t *testing.T, opts *server.Options, use... FILE: test/auth_test.go function doAuthConnect (line 26) | func doAuthConnect(t tLogger, c net.Conn, token, user, pass string) { function testInfoForAuth (line 31) | func testInfoForAuth(t tLogger, infojs []byte) bool { function expectAuthRequired (line 40) | func expectAuthRequired(t tLogger, c net.Conn) { constant AUTH_PORT (line 52) | AUTH_PORT = 10422 constant AUTH_TOKEN (line 53) | AUTH_TOKEN = "_YZZ22_" function runAuthServerWithToken (line 55) | func runAuthServerWithToken() *server.Server { function TestNoAuthClient (line 62) | func TestNoAuthClient(t *testing.T) { function TestAuthClientBadToken (line 72) | func TestAuthClientBadToken(t *testing.T) { function TestAuthClientNoConnect (line 82) | func TestAuthClientNoConnect(t *testing.T) { function TestAuthClientGoodConnect (line 93) | func TestAuthClientGoodConnect(t *testing.T) { function TestAuthClientFailOnEverythingElse (line 103) | func TestAuthClientFailOnEverythingElse(t *testing.T) { constant AUTH_USER (line 117) | AUTH_USER = "derek" constant AUTH_PASS (line 118) | AUTH_PASS = "foobar" function runAuthServerWithUserPass (line 120) | func runAuthServerWithUserPass() *server.Server { function TestNoUserOrPasswordClient (line 128) | func TestNoUserOrPasswordClient(t *testing.T) { function TestBadUserClient (line 138) | func TestBadUserClient(t *testing.T) { function TestBadPasswordClient (line 148) | func TestBadPasswordClient(t *testing.T) { function TestPasswordClientGoodConnect (line 158) | func TestPasswordClientGoodConnect(t *testing.T) { constant BCRYPT_AUTH_PASS (line 173) | BCRYPT_AUTH_PASS = "IW@$6v(y1(t@fhPDvf!5^%" constant BCRYPT_AUTH_HASH (line 174) | BCRYPT_AUTH_HASH = "$2a$04$Q.CgCP2Sl9pkcTXEZHazaeMwPaAkSHk7AI51HkyMt5iJQ... function runAuthServerWithBcryptUserPass (line 176) | func runAuthServerWithBcryptUserPass() *server.Server { function TestBadBcryptPassword (line 184) | func TestBadBcryptPassword(t *testing.T) { function TestGoodBcryptPassword (line 194) | func TestGoodBcryptPassword(t *testing.T) { constant BCRYPT_AUTH_TOKEN (line 208) | BCRYPT_AUTH_TOKEN = "0uhJOSr3GW7xvHvtd^K6pa" constant BCRYPT_AUTH_TOKEN_HASH (line 209) | BCRYPT_AUTH_TOKEN_HASH = "$2a$04$u5ZClXpcjHgpfc61Ee0VKuwI1K3vTC4zq7Sjphj... function runAuthServerWithBcryptToken (line 211) | func runAuthServerWithBcryptToken() *server.Server { function TestBadBcryptToken (line 218) | func TestBadBcryptToken(t *testing.T) { function TestGoodBcryptToken (line 228) | func TestGoodBcryptToken(t *testing.T) { FILE: test/bench_test.go constant PERF_PORT (line 35) | PERF_PORT = 8422 function runBenchServer (line 38) | func runBenchServer() *server.Server { constant defaultRecBufSize (line 45) | defaultRecBufSize = 32768 constant defaultSendBufSize (line 46) | defaultSendBufSize = 32768 function flushConnection (line 48) | func flushConnection(b *testing.B, c net.Conn) { function benchPub (line 62) | func benchPub(b *testing.B, subject, payload string) { function sizedBytes (line 83) | func sizedBytes(sz int) []byte { function sizedString (line 91) | func sizedString(sz int) string { function Benchmark______Pub0b_Payload (line 98) | func Benchmark______Pub0b_Payload(b *testing.B) { function Benchmark______Pub8b_Payload (line 102) | func Benchmark______Pub8b_Payload(b *testing.B) { function Benchmark_____Pub32b_Payload (line 108) | func Benchmark_____Pub32b_Payload(b *testing.B) { function Benchmark____Pub128B_Payload (line 114) | func Benchmark____Pub128B_Payload(b *testing.B) { function Benchmark____Pub256B_Payload (line 120) | func Benchmark____Pub256B_Payload(b *testing.B) { function Benchmark______Pub1K_Payload (line 126) | func Benchmark______Pub1K_Payload(b *testing.B) { function Benchmark______Pub4K_Payload (line 132) | func Benchmark______Pub4K_Payload(b *testing.B) { function Benchmark______Pub8K_Payload (line 138) | func Benchmark______Pub8K_Payload(b *testing.B) { function Benchmark_____Pub32K_Payload (line 144) | func Benchmark_____Pub32K_Payload(b *testing.B) { function drainConnection (line 150) | func drainConnection(b *testing.B, c net.Conn, ch chan bool, expected in... function Benchmark__AuthPub0b_Payload (line 173) | func Benchmark__AuthPub0b_Payload(b *testing.B) { function Benchmark_____________PubSub (line 199) | func Benchmark_____________PubSub(b *testing.B) { function Benchmark_____PubSubTwoConns (line 231) | func Benchmark_____PubSubTwoConns(b *testing.B) { function benchDefaultOptionsForAccounts (line 267) | func benchDefaultOptionsForAccounts() *server.Options { function createClientWithAccount (line 283) | func createClientWithAccount(b *testing.B, account, host string, port in... function benchOptionsForServiceImports (line 291) | func benchOptionsForServiceImports() *server.Options { function addServiceImports (line 303) | func addServiceImports(b *testing.B, s *server.Server) { function Benchmark__PubServiceImports (line 332) | func Benchmark__PubServiceImports(b *testing.B) { function Benchmark___PubSubAccsImport (line 356) | func Benchmark___PubSubAccsImport(b *testing.B) { function Benchmark_____PubTwoQueueSub (line 390) | func Benchmark_____PubTwoQueueSub(b *testing.B) { function Benchmark____PubFourQueueSub (line 423) | func Benchmark____PubFourQueueSub(b *testing.B) { function Benchmark___PubEightQueueSub (line 458) | func Benchmark___PubEightQueueSub(b *testing.B) { function Benchmark_PubSub512kTwoConns (line 497) | func Benchmark_PubSub512kTwoConns(b *testing.B) { function Benchmark__DenyMsgNoWCPubSub (line 536) | func Benchmark__DenyMsgNoWCPubSub(b *testing.B) { function Benchmark_DenyMsgYesWCPubSub (line 574) | func Benchmark_DenyMsgYesWCPubSub(b *testing.B) { function routePubSub (line 612) | func routePubSub(b *testing.B, size int) { function Benchmark____RoutedPubSub_0b (line 659) | func Benchmark____RoutedPubSub_0b(b *testing.B) { function Benchmark____RoutedPubSub_1K (line 663) | func Benchmark____RoutedPubSub_1K(b *testing.B) { function Benchmark__RoutedPubSub_100K (line 667) | func Benchmark__RoutedPubSub_100K(b *testing.B) { function routeQueue (line 671) | func routeQueue(b *testing.B, numQueueSubs, size int) { function Benchmark____Routed2QueueSub (line 719) | func Benchmark____Routed2QueueSub(b *testing.B) { function Benchmark____Routed4QueueSub (line 723) | func Benchmark____Routed4QueueSub(b *testing.B) { function Benchmark____Routed8QueueSub (line 727) | func Benchmark____Routed8QueueSub(b *testing.B) { function Benchmark___Routed16QueueSub (line 731) | func Benchmark___Routed16QueueSub(b *testing.B) { function doS2CompressBench (line 735) | func doS2CompressBench(b *testing.B, compress string) { function Benchmark____________RouteCompressOff (line 814) | func Benchmark____________RouteCompressOff(b *testing.B) { function Benchmark_RouteCompressS2Uncompressed (line 818) | func Benchmark_RouteCompressS2Uncompressed(b *testing.B) { function Benchmark_________RouteCompressS2Fast (line 822) | func Benchmark_________RouteCompressS2Fast(b *testing.B) { function Benchmark_______RouteCompressS2Better (line 826) | func Benchmark_______RouteCompressS2Better(b *testing.B) { function Benchmark_________RouteCompressS2Best (line 830) | func Benchmark_________RouteCompressS2Best(b *testing.B) { function doFanout (line 834) | func doFanout(b *testing.B, numServers, numConnections, subsPerConnectio... function Benchmark______FanOut_8x1x10 (line 920) | func Benchmark______FanOut_8x1x10(b *testing.B) { function Benchmark_____FanOut_8x1x100 (line 924) | func Benchmark_____FanOut_8x1x100(b *testing.B) { function Benchmark____FanOut_8x10x100 (line 928) | func Benchmark____FanOut_8x10x100(b *testing.B) { function Benchmark___FanOut_8x10x1000 (line 932) | func Benchmark___FanOut_8x10x1000(b *testing.B) { function Benchmark___FanOut_8x100x100 (line 936) | func Benchmark___FanOut_8x100x100(b *testing.B) { function Benchmark__FanOut_8x100x1000 (line 940) | func Benchmark__FanOut_8x100x1000(b *testing.B) { function Benchmark__FanOut_8x10x10000 (line 944) | func Benchmark__FanOut_8x10x10000(b *testing.B) { function Benchmark___FanOut_8x500x100 (line 948) | func Benchmark___FanOut_8x500x100(b *testing.B) { function Benchmark___FanOut_128x1x100 (line 952) | func Benchmark___FanOut_128x1x100(b *testing.B) { function Benchmark__FanOut_128x10x100 (line 956) | func Benchmark__FanOut_128x10x100(b *testing.B) { function Benchmark_FanOut_128x10x1000 (line 960) | func Benchmark_FanOut_128x10x1000(b *testing.B) { function Benchmark_FanOut_128x100x100 (line 964) | func Benchmark_FanOut_128x100x100(b *testing.B) { function BenchmarkFanOut_128x100x1000 (line 968) | func BenchmarkFanOut_128x100x1000(b *testing.B) { function BenchmarkFanOut_128x10x10000 (line 972) | func BenchmarkFanOut_128x10x10000(b *testing.B) { function BenchmarkFanOut__128x500x100 (line 976) | func BenchmarkFanOut__128x500x100(b *testing.B) { function Benchmark_FanOut_512x100x100 (line 980) | func Benchmark_FanOut_512x100x100(b *testing.B) { function Benchmark__FanOut_512x100x1k (line 984) | func Benchmark__FanOut_512x100x1k(b *testing.B) { function Benchmark____FanOut_1kx10x1k (line 988) | func Benchmark____FanOut_1kx10x1k(b *testing.B) { function Benchmark__FanOut_1kx100x100 (line 992) | func Benchmark__FanOut_1kx100x100(b *testing.B) { function Benchmark_____RFanOut_8x1x10 (line 996) | func Benchmark_____RFanOut_8x1x10(b *testing.B) { function Benchmark____RFanOut_8x1x100 (line 1000) | func Benchmark____RFanOut_8x1x100(b *testing.B) { function Benchmark___RFanOut_8x10x100 (line 1004) | func Benchmark___RFanOut_8x10x100(b *testing.B) { function Benchmark__RFanOut_8x10x1000 (line 1008) | func Benchmark__RFanOut_8x10x1000(b *testing.B) { function Benchmark__RFanOut_8x100x100 (line 1012) | func Benchmark__RFanOut_8x100x100(b *testing.B) { function Benchmark_RFanOut_8x100x1000 (line 1016) | func Benchmark_RFanOut_8x100x1000(b *testing.B) { function Benchmark_RFanOut_8x10x10000 (line 1020) | func Benchmark_RFanOut_8x10x10000(b *testing.B) { function Benchmark_RFanOut_1kx10x1000 (line 1024) | func Benchmark_RFanOut_1kx10x1000(b *testing.B) { function doFanIn (line 1028) | func doFanIn(b *testing.B, numServers, numPublishers, numSubscribers int... function Benchmark_____FanIn_1kx100x1 (line 1131) | func Benchmark_____FanIn_1kx100x1(b *testing.B) { function Benchmark_____FanIn_4kx100x1 (line 1135) | func Benchmark_____FanIn_4kx100x1(b *testing.B) { function Benchmark_____FanIn_8kx100x1 (line 1139) | func Benchmark_____FanIn_8kx100x1(b *testing.B) { function Benchmark____FanIn_16kx100x1 (line 1143) | func Benchmark____FanIn_16kx100x1(b *testing.B) { function Benchmark____FanIn_64kx100x1 (line 1147) | func Benchmark____FanIn_64kx100x1(b *testing.B) { function Benchmark___FanIn_128kx100x1 (line 1151) | func Benchmark___FanIn_128kx100x1(b *testing.B) { function Benchmark___BumpPubCount_1x3 (line 1155) | func Benchmark___BumpPubCount_1x3(b *testing.B) { function Benchmark___BumpPubCount_2x3 (line 1159) | func Benchmark___BumpPubCount_2x3(b *testing.B) { function Benchmark___BumpPubCount_5x3 (line 1163) | func Benchmark___BumpPubCount_5x3(b *testing.B) { function Benchmark__BumpPubCount_10x3 (line 1167) | func Benchmark__BumpPubCount_10x3(b *testing.B) { function testDefaultBenchOptionsForGateway (line 1171) | func testDefaultBenchOptionsForGateway(name string) *server.Options { function gatewaysBench (line 1177) | func gatewaysBench(b *testing.B, optimisticMode bool, payload string, nu... function Benchmark____GWs_Opt_1kx01x0 (line 1305) | func Benchmark____GWs_Opt_1kx01x0(b *testing.B) { function Benchmark____GWs_Opt_2kx01x0 (line 1309) | func Benchmark____GWs_Opt_2kx01x0(b *testing.B) { function Benchmark____GWs_Opt_4kx01x0 (line 1313) | func Benchmark____GWs_Opt_4kx01x0(b *testing.B) { function Benchmark____GWs_Opt_1kx10x0 (line 1317) | func Benchmark____GWs_Opt_1kx10x0(b *testing.B) { function Benchmark____GWs_Opt_2kx10x0 (line 1321) | func Benchmark____GWs_Opt_2kx10x0(b *testing.B) { function Benchmark____GWs_Opt_4kx10x0 (line 1325) | func Benchmark____GWs_Opt_4kx10x0(b *testing.B) { function Benchmark____GWs_Opt_1kx01x1 (line 1329) | func Benchmark____GWs_Opt_1kx01x1(b *testing.B) { function Benchmark____GWs_Opt_2kx01x1 (line 1333) | func Benchmark____GWs_Opt_2kx01x1(b *testing.B) { function Benchmark____GWs_Opt_4kx01x1 (line 1337) | func Benchmark____GWs_Opt_4kx01x1(b *testing.B) { function Benchmark____GWs_Opt_1kx10x1 (line 1341) | func Benchmark____GWs_Opt_1kx10x1(b *testing.B) { function Benchmark____GWs_Opt_2kx10x1 (line 1345) | func Benchmark____GWs_Opt_2kx10x1(b *testing.B) { function Benchmark____GWs_Opt_4kx10x1 (line 1349) | func Benchmark____GWs_Opt_4kx10x1(b *testing.B) { function Benchmark____GWs_Int_1kx01x0 (line 1353) | func Benchmark____GWs_Int_1kx01x0(b *testing.B) { function Benchmark____GWs_Int_2kx01x0 (line 1357) | func Benchmark____GWs_Int_2kx01x0(b *testing.B) { function Benchmark____GWs_Int_4kx01x0 (line 1361) | func Benchmark____GWs_Int_4kx01x0(b *testing.B) { function Benchmark____GWs_Int_1kx10x0 (line 1365) | func Benchmark____GWs_Int_1kx10x0(b *testing.B) { function Benchmark____GWs_Int_2kx10x0 (line 1369) | func Benchmark____GWs_Int_2kx10x0(b *testing.B) { function Benchmark____GWs_Int_4kx10x0 (line 1373) | func Benchmark____GWs_Int_4kx10x0(b *testing.B) { function Benchmark____GWs_Int_1kx01x1 (line 1377) | func Benchmark____GWs_Int_1kx01x1(b *testing.B) { function Benchmark____GWs_Int_2kx01x1 (line 1381) | func Benchmark____GWs_Int_2kx01x1(b *testing.B) { function Benchmark____GWs_Int_4kx01x1 (line 1385) | func Benchmark____GWs_Int_4kx01x1(b *testing.B) { function Benchmark____GWs_Int_1kx10x1 (line 1389) | func Benchmark____GWs_Int_1kx10x1(b *testing.B) { function Benchmark____GWs_Int_2kx10x1 (line 1393) | func Benchmark____GWs_Int_2kx10x1(b *testing.B) { function Benchmark____GWs_Int_4kx10x1 (line 1397) | func Benchmark____GWs_Int_4kx10x1(b *testing.B) { function gatewaySendRequestsBench (line 1403) | func gatewaySendRequestsBench(b *testing.B, singleReplySub bool) { function Benchmark__GWs_Reqs_1_SubAll (line 1483) | func Benchmark__GWs_Reqs_1_SubAll(b *testing.B) { function Benchmark__GWs_Reqs_1SubEach (line 1487) | func Benchmark__GWs_Reqs_1SubEach(b *testing.B) { FILE: test/client_auth_test.go function TestMultipleUserAuth (line 30) | func TestMultipleUserAuth(t *testing.T) { constant testToken (line 71) | testToken = "$2a$05$3sSWEVA1eMCbV0hWavDjXOx.ClBjI6u1CuUdLqf22cbJjXsnzz8/." function TestTokenInConfig (line 73) | func TestTokenInConfig(t *testing.T) { function TestClientConnectInfo (line 98) | func TestClientConnectInfo(t *testing.T) { type captureProxiesReloadLogger (line 164) | type captureProxiesReloadLogger struct method Noticef (line 169) | func (l *captureProxiesReloadLogger) Noticef(format string, args ...an... function TestProxyKeyVerification (line 176) | func TestProxyKeyVerification(t *testing.T) { FILE: test/client_cluster_test.go function TestServerRestartReSliceIssue (line 28) | func TestServerRestartReSliceIssue(t *testing.T) { function TestServerRestartAndQueueSubs (line 123) | func TestServerRestartAndQueueSubs(t *testing.T) { function TestRequestsAcrossRoutes (line 291) | func TestRequestsAcrossRoutes(t *testing.T) { function TestRequestsAcrossRoutesToQueues (line 332) | func TestRequestsAcrossRoutesToQueues(t *testing.T) { function TestQueueDistributionAcrossRoutes (line 385) | func TestQueueDistributionAcrossRoutes(t *testing.T) { FILE: test/cluster_test.go function checkClusterFormed (line 29) | func checkClusterFormed(t testing.TB, servers ...*server.Server) { function checkNumRoutes (line 42) | func checkNumRoutes(t *testing.T, s *server.Server, expected int) { function checkExpectedSubs (line 54) | func checkExpectedSubs(expected int, servers ...*server.Server) error { function checkSubInterest (line 77) | func checkSubInterest(t testing.TB, s *server.Server, accName, subject s... function checkNoSubInterest (line 91) | func checkNoSubInterest(t *testing.T, s *server.Server, accName, subject... function runThreeServers (line 107) | func runThreeServers(t *testing.T) (srvA, srvB, srvC *server.Server, opt... function runServers (line 116) | func runServers(t *testing.T) (srvA, srvB *server.Server, optsA, optsB *... function TestProperServerWithRoutesShutdown (line 124) | func TestProperServerWithRoutesShutdown(t *testing.T) { function TestDoubleRouteConfig (line 140) | func TestDoubleRouteConfig(t *testing.T) { function TestBasicClusterPubSub (line 146) | func TestBasicClusterPubSub(t *testing.T) { function TestClusterQueueSubs (line 177) | func TestClusterQueueSubs(t *testing.T) { function TestClusterDoubleMsgs (line 333) | func TestClusterDoubleMsgs(t *testing.T) { function TestClusterDropsRemoteSids (line 417) | func TestClusterDropsRemoteSids(t *testing.T) { function TestAutoUnsubscribePropagation (line 486) | func TestAutoUnsubscribePropagation(t *testing.T) { function TestAutoUnsubscribePropagationOnClientDisconnect (line 520) | func TestAutoUnsubscribePropagationOnClientDisconnect(t *testing.T) { function TestClusterNameOption (line 555) | func TestClusterNameOption(t *testing.T) { function TestEphemeralClusterName (line 576) | func TestEphemeralClusterName(t *testing.T) { type captureErrLogger (line 596) | type captureErrLogger struct method Errorf (line 601) | func (c *captureErrLogger) Errorf(format string, v ...any) { function TestClusterNameConflictsDropRoutes (line 609) | func TestClusterNameConflictsDropRoutes(t *testing.T) { function TestClusterNameDynamicNegotiation (line 647) | func TestClusterNameDynamicNegotiation(t *testing.T) { FILE: test/cluster_tls_test.go function runTLSServers (line 26) | func runTLSServers(t *testing.T) (srvA, srvB *server.Server, optsA, opts... function TestTLSClusterConfig (line 33) | func TestTLSClusterConfig(t *testing.T) { function TestBasicTLSClusterPubSub (line 39) | func TestBasicTLSClusterPubSub(t *testing.T) { type captureTLSError (line 70) | type captureTLSError struct method Errorf (line 75) | func (c *captureTLSError) Errorf(format string, v ...any) { type captureClusterTLSInsecureLogger (line 85) | type captureClusterTLSInsecureLogger struct method Warnf (line 90) | func (c *captureClusterTLSInsecureLogger) Warnf(format string, v ...an... function TestClusterTLSInsecure (line 100) | func TestClusterTLSInsecure(t *testing.T) { FILE: test/fanout_test.go function TestNoRaceHighFanoutOrdering (line 34) | func TestNoRaceHighFanoutOrdering(t *testing.T) { function TestNoRaceRouteFormTimeWithHighSubscriptions (line 91) | func TestNoRaceRouteFormTimeWithHighSubscriptions(t *testing.T) { FILE: test/gateway_test.go function testDefaultOptionsForGateway (line 32) | func testDefaultOptionsForGateway(name string) *server.Options { function runGatewayServer (line 42) | func runGatewayServer(o *server.Options) *server.Server { function createGatewayConn (line 47) | func createGatewayConn(t testing.TB, host string, port int) net.Conn { function setupGatewayConn (line 52) | func setupGatewayConn(t testing.TB, c net.Conn, org, dst string) (sendFu... function expectNumberOfProtos (line 65) | func expectNumberOfProtos(t *testing.T, expFn expectFun, proto *regexp.R... function TestGatewayAccountInterest (line 84) | func TestGatewayAccountInterest(t *testing.T) { function TestGatewaySubjectInterest (line 164) | func TestGatewaySubjectInterest(t *testing.T) { function TestGatewayQueue (line 309) | func TestGatewayQueue(t *testing.T) { function TestGatewaySendAllSubs (line 414) | func TestGatewaySendAllSubs(t *testing.T) { function TestGatewayNoPanicOnBadProtocol (line 475) | func TestGatewayNoPanicOnBadProtocol(t *testing.T) { function TestGatewayNoAccUnsubAfterQSub (line 510) | func TestGatewayNoAccUnsubAfterQSub(t *testing.T) { function TestGatewayErrorOnRSentFromOutbound (line 548) | func TestGatewayErrorOnRSentFromOutbound(t *testing.T) { function TestGatewaySystemConnectionAllowedToPublishOnGWPrefix (line 577) | func TestGatewaySystemConnectionAllowedToPublishOnGWPrefix(t *testing.T) { function TestGatewayTLSMixedIPAndDNS (line 604) | func TestGatewayTLSMixedIPAndDNS(t *testing.T) { function TestGatewayAdvertiseInCluster (line 702) | func TestGatewayAdvertiseInCluster(t *testing.T) { function TestGatewayAuthTimeout (line 765) | func TestGatewayAuthTimeout(t *testing.T) { function TestGatewayFirstPingGoesAfterConnect (line 800) | func TestGatewayFirstPingGoesAfterConnect(t *testing.T) { FILE: test/gosrv_test.go function TestSimpleGoServerShutdown (line 24) | func TestSimpleGoServerShutdown(t *testing.T) { function TestGoServerShutdownWithClients (line 39) | func TestGoServerShutdownWithClients(t *testing.T) { function TestGoServerMultiShutdown (line 59) | func TestGoServerMultiShutdown(t *testing.T) { FILE: test/leafnode_test.go function createLeafConn (line 41) | func createLeafConn(t tLogger, host string, port int) net.Conn { function testDefaultOptionsForLeafNodes (line 45) | func testDefaultOptionsForLeafNodes() *server.Options { function runLeafServer (line 54) | func runLeafServer() (*server.Server, *server.Options) { function runLeafServerOnPort (line 59) | func runLeafServerOnPort(port int) (*server.Server, *server.Options) { function runSolicitLeafServer (line 65) | func runSolicitLeafServer(lso *server.Options) (*server.Server, *server.... function runSolicitLeafServerToURL (line 69) | func runSolicitLeafServerToURL(surl string) (*server.Server, *server.Opt... function TestLeafNodeInfo (line 79) | func TestLeafNodeInfo(t *testing.T) { function TestLeafNodeSplitBuffer (line 104) | func TestLeafNodeSplitBuffer(t *testing.T) { function TestNumLeafNodes (line 139) | func TestNumLeafNodes(t *testing.T) { function TestLeafNodeRequiresConnect (line 168) | func TestLeafNodeRequiresConnect(t *testing.T) { function setupLeaf (line 197) | func setupLeaf(t *testing.T, lc net.Conn, expectedSubs int) (sendFun, ex... function TestLeafNodeSendsSubsAfterConnect (line 206) | func TestLeafNodeSendsSubsAfterConnect(t *testing.T) { function TestLeafNodeSendsSubsOngoing (line 230) | func TestLeafNodeSendsSubsOngoing(t *testing.T) { function TestLeafNodeSubs (line 279) | func TestLeafNodeSubs(t *testing.T) { function TestLeafNodeMsgDelivery (line 361) | func TestLeafNodeMsgDelivery(t *testing.T) { function TestLeafNodeAndRoutes (line 428) | func TestLeafNodeAndRoutes(t *testing.T) { function checkLeafNodeConnected (line 497) | func checkLeafNodeConnected(t *testing.T, s *server.Server) { function checkLeafNodeConnections (line 502) | func checkLeafNodeConnections(t *testing.T, s *server.Server, expected i... function TestLeafNodeSolicit (line 512) | func TestLeafNodeSolicit(t *testing.T) { function TestLeafNodeNoEcho (line 529) | func TestLeafNodeNoEcho(t *testing.T) { function TestLeafNodeHeaderSupport (line 563) | func TestLeafNodeHeaderSupport(t *testing.T) { type cluster (line 623) | type cluster struct method shutdown (line 642) | func (c *cluster) shutdown() { method totalSubs (line 661) | func (c *cluster) totalSubs() int { function testDefaultClusterOptionsForLeafNodes (line 630) | func testDefaultClusterOptionsForLeafNodes() *server.Options { function shutdownCluster (line 657) | func shutdownCluster(c *cluster) { function waitForOutboundGateways (line 670) | func waitForOutboundGateways(t *testing.T, s *server.Server, expected in... function createClusterWithName (line 686) | func createClusterWithName(t *testing.T, clusterName string, numServers ... function createClusterEx (line 693) | func createClusterEx(t *testing.T, doAccounts bool, gwSolicit time.Durat... function TestLeafNodeGatewayRequiresSystemAccount (line 803) | func TestLeafNodeGatewayRequiresSystemAccount(t *testing.T) { function TestLeafNodeGatewaySendsSystemEvent (line 812) | func TestLeafNodeGatewaySendsSystemEvent(t *testing.T) { function TestLeafNodeGatewayInterestPropagation (line 851) | func TestLeafNodeGatewayInterestPropagation(t *testing.T) { function TestLeafNodeAuthSystemEventNoCrash (line 903) | func TestLeafNodeAuthSystemEventNoCrash(t *testing.T) { function TestLeafNodeWithRouteAndGateway (line 916) | func TestLeafNodeWithRouteAndGateway(t *testing.T) { function TestLeafNodeWithGatewaysAndStaggeredStart (line 990) | func TestLeafNodeWithGatewaysAndStaggeredStart(t *testing.T) { function TestLeafNodeWithGatewaysServerRestart (line 1026) | func TestLeafNodeWithGatewaysServerRestart(t *testing.T) { function TestLeafNodeLocalizedDQ (line 1082) | func TestLeafNodeLocalizedDQ(t *testing.T) { function TestLeafNodeBasicAuth (line 1128) | func TestLeafNodeBasicAuth(t *testing.T) { function runTLSSolicitLeafServer (line 1181) | func runTLSSolicitLeafServer(lso *server.Options) (*server.Server, *serv... function TestLeafNodeTLS (line 1196) | func TestLeafNodeTLS(t *testing.T) { function TestLeafNodeTLSConnCloseEarly (line 1234) | func TestLeafNodeTLSConnCloseEarly(t *testing.T) { type captureLeafNodeErrLogger (line 1266) | type captureLeafNodeErrLogger struct method Errorf (line 1271) | func (c *captureLeafNodeErrLogger) Errorf(format string, v ...any) { function TestLeafNodeTLSMixIP (line 1279) | func TestLeafNodeTLSMixIP(t *testing.T) { function runLeafNodeOperatorServer (line 1333) | func runLeafNodeOperatorServer(t *testing.T) (*server.Server, *server.Op... function genCredsFile (line 1350) | func genCredsFile(t *testing.T, jwt string, seed []byte) string { function runSolicitWithCredentials (line 1369) | func runSolicitWithCredentials(t *testing.T, opts *server.Options, creds... function TestLeafNodeOperatorModel (line 1387) | func TestLeafNodeOperatorModel(t *testing.T) { function TestLeafNodeUserPermsForConnection (line 1422) | func TestLeafNodeUserPermsForConnection(t *testing.T) { function TestLeafNodeMultipleAccounts (line 1516) | func TestLeafNodeMultipleAccounts(t *testing.T) { function TestLeafNodeOperatorAndPermissions (line 1577) | func TestLeafNodeOperatorAndPermissions(t *testing.T) { function TestLeafNodeSignerUser (line 1727) | func TestLeafNodeSignerUser(t *testing.T) { function TestLeafNodeExportsImports (line 1800) | func TestLeafNodeExportsImports(t *testing.T) { function TestLeafNodeExportImportComplexSetup (line 1912) | func TestLeafNodeExportImportComplexSetup(t *testing.T) { function TestLeafNodeInfoURLs (line 2080) | func TestLeafNodeInfoURLs(t *testing.T) { function TestLeafNodeFailover (line 2234) | func TestLeafNodeFailover(t *testing.T) { function TestLeafNodeAdvertise (line 2282) | func TestLeafNodeAdvertise(t *testing.T) { function TestLeafNodeConnectionLimitsSingleServer (line 2343) | func TestLeafNodeConnectionLimitsSingleServer(t *testing.T) { function TestLeafNodeConnectionLimitsCluster (line 2455) | func TestLeafNodeConnectionLimitsCluster(t *testing.T) { function TestLeafNodeSwitchGatewayToInterestModeOnly (line 2591) | func TestLeafNodeSwitchGatewayToInterestModeOnly(t *testing.T) { function TestLeafNodeResetsMSGProto (line 2635) | func TestLeafNodeResetsMSGProto(t *testing.T) { function TestLeafNodeSendsRemoteSubsOnConnect (line 2705) | func TestLeafNodeSendsRemoteSubsOnConnect(t *testing.T) { function TestLeafNodeServiceImportLikeNGS (line 2734) | func TestLeafNodeServiceImportLikeNGS(t *testing.T) { function TestLeafNodeServiceImportResponderOnLeaf (line 2788) | func TestLeafNodeServiceImportResponderOnLeaf(t *testing.T) { function TestLeafNodeSendsAccountingEvents (line 2826) | func TestLeafNodeSendsAccountingEvents(t *testing.T) { function TestLeafNodeDistributedQueueAcrossGWs (line 2889) | func TestLeafNodeDistributedQueueAcrossGWs(t *testing.T) { function TestLeafNodeDistributedQueueEvenly (line 2977) | func TestLeafNodeDistributedQueueEvenly(t *testing.T) { function TestLeafNodeDefaultPort (line 3066) | func TestLeafNodeDefaultPort(t *testing.T) { function TestLeafNodeAndGatewayGlobalRouting (line 3091) | func TestLeafNodeAndGatewayGlobalRouting(t *testing.T) { function checkLeafNode2Connected (line 3154) | func checkLeafNode2Connected(t *testing.T, s *server.Server) { function TestLeafNodesStaggeredSubPub (line 3164) | func TestLeafNodesStaggeredSubPub(t *testing.T) { function TestLeafNodeMultipleRemoteURLs (line 3207) | func TestLeafNodeMultipleRemoteURLs(t *testing.T) { function runSolicitLeafCluster (line 3230) | func runSolicitLeafCluster(t *testing.T, clusterName string, d1, d2 *clu... function clientForCluster (line 3289) | func clientForCluster(t *testing.T, c *cluster) *nats.Conn { function TestLeafNodeCycleWithSolicited (line 3300) | func TestLeafNodeCycleWithSolicited(t *testing.T) { function TestLeafNodeNoRaceGeneratingNonce (line 3407) | func TestLeafNodeNoRaceGeneratingNonce(t *testing.T) { function runSolicitAndAcceptLeafServer (line 3452) | func runSolicitAndAcceptLeafServer(lso *server.Options) (*server.Server,... function TestLeafNodeDaisyChain (line 3462) | func TestLeafNodeDaisyChain(t *testing.T) { function TestClusterTLSMixedIPAndDNS (line 3509) | func TestClusterTLSMixedIPAndDNS(t *testing.T) { function TestStreamExportWithMultipleAccounts (line 3587) | func TestStreamExportWithMultipleAccounts(t *testing.T) { function TestServiceExportWithMultipleAccounts (line 3664) | func TestServiceExportWithMultipleAccounts(t *testing.T) { function TestServiceExportWithLeafnodeRestart (line 3751) | func TestServiceExportWithLeafnodeRestart(t *testing.T) { function TestLeafNodeQueueSubscriberUnsubscribe (line 3913) | func TestLeafNodeQueueSubscriberUnsubscribe(t *testing.T) { function TestLeafNodeOriginClusterSingleHub (line 3963) | func TestLeafNodeOriginClusterSingleHub(t *testing.T) { function TestLeafNodeOriginCluster (line 4050) | func TestLeafNodeOriginCluster(t *testing.T) { function TestLeafNodeAdvertiseInCluster (line 4197) | func TestLeafNodeAdvertiseInCluster(t *testing.T) { function TestLeafNodeAndGatewaysStreamAndShadowSubs (line 4257) | func TestLeafNodeAndGatewaysStreamAndShadowSubs(t *testing.T) { function TestLeafnodeHeaders (line 4373) | func TestLeafnodeHeaders(t *testing.T) { function TestLeafNodeClusterNameWithSpacesRejected (line 4435) | func TestLeafNodeClusterNameWithSpacesRejected(t *testing.T) { function TestLeafNodeConnectInfo (line 4459) | func TestLeafNodeConnectInfo(t *testing.T) { FILE: test/log_test.go function RunServerWithLogging (line 14) | func RunServerWithLogging(opts *server.Options) *server.Server { function TestLogMaxArchives (line 34) | func TestLogMaxArchives(t *testing.T) { FILE: test/maxpayload_test.go function TestMaxPayload (line 29) | func TestMaxPayload(t *testing.T) { function TestMaxPayloadOverrun (line 103) | func TestMaxPayloadOverrun(t *testing.T) { function TestAsyncInfoWithSmallerMaxPayload (line 128) | func TestAsyncInfoWithSmallerMaxPayload(t *testing.T) { FILE: test/monitor_test.go constant CLIENT_PORT (line 35) | CLIENT_PORT = 11422 constant MONITOR_PORT (line 36) | MONITOR_PORT = 11522 function runMonitorServer (line 38) | func runMonitorServer() *server.Server { function runMonitorServerClusteredPair (line 49) | func runMonitorServerClusteredPair(t *testing.T) (*server.Server, *serve... function runMonitorServerNoHTTPPort (line 76) | func runMonitorServerNoHTTPPort() *server.Server { function resetPreviousHTTPConnections (line 86) | func resetPreviousHTTPConnections() { function TestNoMonitorPort (line 91) | func TestNoMonitorPort(t *testing.T) { function testEndpointDataRace (line 111) | func testEndpointDataRace(endpoint string, t *testing.T) { function TestEndpointDataRaces (line 155) | func TestEndpointDataRaces(t *testing.T) { function TestVarz (line 169) | func TestVarz(t *testing.T) { function TestConnz (line 247) | func TestConnz(t *testing.T) { function TestTLSConnz (line 350) | func TestTLSConnz(t *testing.T) { function TestConnzWithSubs (line 465) | func TestConnzWithSubs(t *testing.T) { function TestConnzWithAuth (line 498) | func TestConnzWithAuth(t *testing.T) { function TestConnzWithAccounts (line 545) | func TestConnzWithAccounts(t *testing.T) { function TestConnzWithOffsetAndLimit (line 687) | func TestConnzWithOffsetAndLimit(t *testing.T) { function TestSubsz (line 729) | func TestSubsz(t *testing.T) { function TestHTTPHost (line 761) | func TestHTTPHost(t *testing.T) { function createClientConnSubscribeAndPublish (line 799) | func createClientConnSubscribeAndPublish(t *testing.T) net.Conn { function TestMonitorNoTLSConfig (line 810) | func TestMonitorNoTLSConfig(t *testing.T) { function TestMonitorErrorOnListen (line 831) | func TestMonitorErrorOnListen(t *testing.T) { function TestMonitorBothPortsConfigured (line 846) | func TestMonitorBothPortsConfigured(t *testing.T) { function TestMonitorStop (line 859) | func TestMonitorStop(t *testing.T) { FILE: test/new_routes_test.go function runNewRouteServer (line 28) | func runNewRouteServer(t *testing.T) (*server.Server, *server.Options) { function TestNewRouteInfoOnConnect (line 32) | func TestNewRouteInfoOnConnect(t *testing.T) { function TestNewRouteHeaderSupport (line 66) | func TestNewRouteHeaderSupport(t *testing.T) { function TestNewRouteHeaderSupportOldAndNew (line 97) | func TestNewRouteHeaderSupportOldAndNew(t *testing.T) { function sendRouteInfo (line 134) | func sendRouteInfo(t *testing.T, rc net.Conn, routeSend sendFun, routeID... function TestNewRouteConnectSubs (line 145) | func TestNewRouteConnectSubs(t *testing.T) { function TestNewRouteConnectSubsWithAccount (line 208) | func TestNewRouteConnectSubsWithAccount(t *testing.T) { function TestNewRouteRSubs (line 274) | func TestNewRouteRSubs(t *testing.T) { function TestNewRouteProgressiveNormalSubs (line 365) | func TestNewRouteProgressiveNormalSubs(t *testing.T) { function TestNewRouteClientClosedWithNormalSubscriptions (line 456) | func TestNewRouteClientClosedWithNormalSubscriptions(t *testing.T) { function TestNewRouteClientClosedWithQueueSubscriptions (line 499) | func TestNewRouteClientClosedWithQueueSubscriptions(t *testing.T) { function TestNewRouteRUnsubAccountSpecific (line 541) | func TestNewRouteRUnsubAccountSpecific(t *testing.T) { function TestNewRouteRSubCleanupOnDisconnect (line 589) | func TestNewRouteRSubCleanupOnDisconnect(t *testing.T) { function TestNewRouteSendSubsAndMsgs (line 622) | func TestNewRouteSendSubsAndMsgs(t *testing.T) { function TestNewRouteProcessRoutedMsgs (line 744) | func TestNewRouteProcessRoutedMsgs(t *testing.T) { function TestNewRouteQueueSubsDistribution (line 819) | func TestNewRouteQueueSubsDistribution(t *testing.T) { function TestNewRouteSinglePublishOnNewAccount (line 881) | func TestNewRouteSinglePublishOnNewAccount(t *testing.T) { function TestNewRouteSinglePublishToQueueSubscriberOnNewAccount (line 916) | func TestNewRouteSinglePublishToQueueSubscriberOnNewAccount(t *testing.T) { function TestNewRouteSinglePublishToMultipleQueueSubscriberOnNewAccount (line 952) | func TestNewRouteSinglePublishToMultipleQueueSubscriberOnNewAccount(t *t... function registerAccounts (line 1034) | func registerAccounts(t *testing.T, s *server.Server) (*server.Account, ... function addStreamExport (line 1047) | func addStreamExport(subject string, authorized []*server.Account, targe... function addServiceExport (line 1053) | func addServiceExport(subject string, authorized []*server.Account, targ... function TestNewRouteStreamImport (line 1061) | func TestNewRouteStreamImport(t *testing.T) { function testNewRouteStreamImport (line 1065) | func testNewRouteStreamImport(t *testing.T, duplicateSub bool) { function TestNewRouteStreamImportLargeFanout (line 1136) | func TestNewRouteStreamImportLargeFanout(t *testing.T) { function TestNewRouteReservedReply (line 1201) | func TestNewRouteReservedReply(t *testing.T) { function TestNewRouteServiceImport (line 1215) | func TestNewRouteServiceImport(t *testing.T) { function TestNewRouteServiceExportWithWildcards (line 1304) | func TestNewRouteServiceExportWithWildcards(t *testing.T) { function TestNewRouteServiceImportQueueGroups (line 1406) | func TestNewRouteServiceImportQueueGroups(t *testing.T) { function TestNewRouteServiceImportDanglingRemoteSubs (line 1484) | func TestNewRouteServiceImportDanglingRemoteSubs(t *testing.T) { function TestNewRouteNoQueueSubscribersBounce (line 1568) | func TestNewRouteNoQueueSubscribersBounce(t *testing.T) { function TestNewRouteLargeDistinctQueueSubscribers (line 1621) | func TestNewRouteLargeDistinctQueueSubscribers(t *testing.T) { function TestNewRouteLeafNodeOriginSupport (line 1674) | func TestNewRouteLeafNodeOriginSupport(t *testing.T) { function TestNewRouteDuplicateSubscription (line 1907) | func TestNewRouteDuplicateSubscription(t *testing.T) { FILE: test/norace_test.go function TestNoRaceRouteSendSubs (line 42) | func TestNoRaceRouteSendSubs(t *testing.T) { function TestNoRaceDynamicResponsePermsMemory (line 231) | func TestNoRaceDynamicResponsePermsMemory(t *testing.T) { function TestNoRaceLargeClusterMem (line 295) | func TestNoRaceLargeClusterMem(t *testing.T) { function TestNoRaceQueueSubWeightOrderMultipleConnections (line 348) | func TestNoRaceQueueSubWeightOrderMultipleConnections(t *testing.T) { function TestNoRaceClusterLeaksSubscriptions (line 436) | func TestNoRaceClusterLeaksSubscriptions(t *testing.T) { function TestNoRaceLeafNodeSmapUpdate (line 565) | func TestNoRaceLeafNodeSmapUpdate(t *testing.T) { function TestNoRaceSlowProxy (line 650) | func TestNoRaceSlowProxy(t *testing.T) { FILE: test/ocsp_peer_test.go function NewOCSPResponderRootCA (line 36) | func NewOCSPResponderRootCA(t *testing.T) *http.Server { function NewOCSPResponderIntermediateCA1 (line 44) | func NewOCSPResponderIntermediateCA1(t *testing.T) *http.Server { function NewOCSPResponderIntermediateCA1Undelegated (line 52) | func NewOCSPResponderIntermediateCA1Undelegated(t *testing.T) *http.Serv... function NewOCSPResponderBadDelegateIntermediateCA1 (line 59) | func NewOCSPResponderBadDelegateIntermediateCA1(t *testing.T) *http.Serv... function NewOCSPResponderIntermediateCA2 (line 68) | func NewOCSPResponderIntermediateCA2(t *testing.T) *http.Server { function TestOCSPPeerGoodClients (line 78) | func TestOCSPPeerGoodClients(t *testing.T) { function TestOCSPPeerUnknownClient (line 223) | func TestOCSPPeerUnknownClient(t *testing.T) { function TestOCSPPeerRevokedClient (line 295) | func TestOCSPPeerRevokedClient(t *testing.T) { function TestOCSPPeerUnknownAndRevokedIntermediate (line 439) | func TestOCSPPeerUnknownAndRevokedIntermediate(t *testing.T) { function TestOCSPPeerLeafGood (line 544) | func TestOCSPPeerLeafGood(t *testing.T) { function TestOCSPPeerLeafReject (line 691) | func TestOCSPPeerLeafReject(t *testing.T) { function checkLeafNodeConnectedCount (line 836) | func checkLeafNodeConnectedCount(t testing.TB, s *server.Server, lnCons ... function TestOCSPPeerGoodClientsNoneCache (line 849) | func TestOCSPPeerGoodClientsNoneCache(t *testing.T) { function TestOCSPPeerGoodClientsLocalCache (line 975) | func TestOCSPPeerGoodClientsLocalCache(t *testing.T) { function TestOCSPPeerMonitor (line 1129) | func TestOCSPPeerMonitor(t *testing.T) { function TestOCSPResponseCacheMonitor (line 1355) | func TestOCSPResponseCacheMonitor(t *testing.T) { function TestOCSPResponseCacheChangeAndReload (line 1489) | func TestOCSPResponseCacheChangeAndReload(t *testing.T) { function deleteLocalStore (line 1557) | func deleteLocalStore(t *testing.T, dir string) { function monitorGetVarzHelper (line 1568) | func monitorGetVarzHelper(t *testing.T, httpPort int) *server.Varz { function writeCacheFile (line 1590) | func writeCacheFile(dir string, content []byte) error { function TestOCSPPeerPreserveRevokedCacheItem (line 1602) | func TestOCSPPeerPreserveRevokedCacheItem(t *testing.T) { function TestOCSPStapleFeatureInterop (line 1754) | func TestOCSPStapleFeatureInterop(t *testing.T) { function TestOCSPPeerWarnOnlyOption (line 1903) | func TestOCSPPeerWarnOnlyOption(t *testing.T) { function TestOCSPPeerUnknownIsGoodOption (line 2006) | func TestOCSPPeerUnknownIsGoodOption(t *testing.T) { function TestOCSPPeerAllowWhenCAUnreachableOption (line 2103) | func TestOCSPPeerAllowWhenCAUnreachableOption(t *testing.T) { function TestOCSPResponseCacheLocalStoreOpt (line 2309) | func TestOCSPResponseCacheLocalStoreOpt(t *testing.T) { function TestOCSPPeerIncrementalSaveLocalCache (line 2445) | func TestOCSPPeerIncrementalSaveLocalCache(t *testing.T) { function statCacheFile (line 2588) | func statCacheFile(dir string) (os.FileInfo, error) { function TestOCSPPeerUndelegatedCAResponseSigner (line 2596) | func TestOCSPPeerUndelegatedCAResponseSigner(t *testing.T) { function TestOCSPPeerDelegatedCAResponseSigner (line 2668) | func TestOCSPPeerDelegatedCAResponseSigner(t *testing.T) { function TestOCSPPeerBadDelegatedCAResponseSigner (line 2740) | func TestOCSPPeerBadDelegatedCAResponseSigner(t *testing.T) { function TestOCSPPeerNextUpdateUnset (line 2812) | func TestOCSPPeerNextUpdateUnset(t *testing.T) { function TestOCSPMonitoringPort (line 2953) | func TestOCSPMonitoringPort(t *testing.T) { FILE: test/ocsp_test.go function TestOCSPAlwaysMustStapleAndShutdown (line 32) | func TestOCSPAlwaysMustStapleAndShutdown(t *testing.T) { function TestOCSPMustStapleShutdown (line 130) | func TestOCSPMustStapleShutdown(t *testing.T) { function TestOCSPMustStapleAutoDoesNotShutdown (line 226) | func TestOCSPMustStapleAutoDoesNotShutdown(t *testing.T) { function TestOCSPAutoWithoutMustStapleDoesNotShutdownOnRevoke (line 317) | func TestOCSPAutoWithoutMustStapleDoesNotShutdownOnRevoke(t *testing.T) { function TestOCSPClient (line 409) | func TestOCSPClient(t *testing.T) { function TestOCSPReloadRotateTLSCertWithNoURL (line 563) | func TestOCSPReloadRotateTLSCertWithNoURL(t *testing.T) { function TestOCSPReloadRotateTLSCertDisableMustStaple (line 665) | func TestOCSPReloadRotateTLSCertDisableMustStaple(t *testing.T) { function TestOCSPReloadRotateTLSCertEnableMustStaple (line 862) | func TestOCSPReloadRotateTLSCertEnableMustStaple(t *testing.T) { function TestOCSPCluster (line 964) | func TestOCSPCluster(t *testing.T) { function TestOCSPLeaf (line 1237) | func TestOCSPLeaf(t *testing.T) { function TestOCSPLeafNoVerify (line 1515) | func TestOCSPLeafNoVerify(t *testing.T) { function TestOCSPLeafVerifyLeafRemote (line 1793) | func TestOCSPLeafVerifyLeafRemote(t *testing.T) { function TestOCSPLeafVerifyAndMapLeafRemote (line 1903) | func TestOCSPLeafVerifyAndMapLeafRemote(t *testing.T) { function TestOCSPGateway (line 2025) | func TestOCSPGateway(t *testing.T) { function TestOCSPGatewayIntermediate (line 2301) | func TestOCSPGatewayIntermediate(t *testing.T) { function TestOCSPGatewayReload (line 2394) | func TestOCSPGatewayReload(t *testing.T) { function TestOCSPCustomConfig (line 2617) | func TestOCSPCustomConfig(t *testing.T) { function TestOCSPCustomConfigReloadDisable (line 2884) | func TestOCSPCustomConfigReloadDisable(t *testing.T) { function TestOCSPCustomConfigReloadEnable (line 2986) | func TestOCSPCustomConfigReloadEnable(t *testing.T) { function TestOCSPTLSConfigNoLeafSet (line 3086) | func TestOCSPTLSConfigNoLeafSet(t *testing.T) { function TestOCSPSuperCluster (line 3100) | func TestOCSPSuperCluster(t *testing.T) { function TestOCSPLocalIssuerDetermination (line 3448) | func TestOCSPLocalIssuerDetermination(t *testing.T) { function TestMixedCAOCSPSuperCluster (line 3703) | func TestMixedCAOCSPSuperCluster(t *testing.T) { function TestOCSPResponderHTTPMethods (line 3984) | func TestOCSPResponderHTTPMethods(t *testing.T) { function testOCSPResponderHTTPMethods (line 3996) | func testOCSPResponderHTTPMethods(t *testing.T, method string) { function testOCSPResponderFailing (line 4080) | func testOCSPResponderFailing(t *testing.T, method string) { FILE: test/operator_test.go constant testOpConfig (line 31) | testOpConfig = "./configs/operator.conf" constant testOpInlineConfig (line 32) | testOpInlineConfig = "./configs/operator_inline.conf" function checkKeys (line 42) | func checkKeys(t *testing.T, opts *server.Options, opc *jwt.OperatorClai... function TestOperatorRestrictions (line 64) | func TestOperatorRestrictions(t *testing.T) { function TestOperatorConfig (line 109) | func TestOperatorConfig(t *testing.T) { function TestOperatorConfigInline (line 128) | func TestOperatorConfigInline(t *testing.T) { function runOperatorServer (line 147) | func runOperatorServer(t *testing.T) (*server.Server, *server.Options) { function publicKeyFromKeyPair (line 151) | func publicKeyFromKeyPair(t *testing.T, pair nkeys.KeyPair) (pkey string) { function createAccountForOperatorKey (line 159) | func createAccountForOperatorKey(t *testing.T, s *server.Server, seed []... function createAccount (line 172) | func createAccount(t *testing.T, s *server.Server) (acc *server.Account,... function createUserCreds (line 183) | func createUserCreds(t *testing.T, s *server.Server, akp nkeys.KeyPair) ... function createUserCredsOption (line 189) | func createUserCredsOption(t *testing.T, s *server.Server, akp nkeys.Key... function TestOperatorServer (line 208) | func TestOperatorServer(t *testing.T) { function TestOperatorSystemAccount (line 238) | func TestOperatorSystemAccount(t *testing.T) { function TestOperatorSigningKeys (line 262) | func TestOperatorSigningKeys(t *testing.T) { function TestOperatorMemResolverPreload (line 282) | func TestOperatorMemResolverPreload(t *testing.T) { function TestOperatorConfigReloadDoesntKillNonce (line 300) | func TestOperatorConfigReloadDoesntKillNonce(t *testing.T) { function createAccountForConfig (line 317) | func createAccountForConfig(t *testing.T) (string, nkeys.KeyPair) { function TestReloadDoesNotWipeAccountsWithOperatorMode (line 327) | func TestReloadDoesNotWipeAccountsWithOperatorMode(t *testing.T) { function TestReloadDoesUpdateAccountsWithMemoryResolver (line 452) | func TestReloadDoesUpdateAccountsWithMemoryResolver(t *testing.T) { function TestReloadFailsWithBadAccountsWithMemoryResolver (line 536) | func TestReloadFailsWithBadAccountsWithMemoryResolver(t *testing.T) { function TestConnsRequestDoesNotLoadAccountCheckingConnLimits (line 606) | func TestConnsRequestDoesNotLoadAccountCheckingConnLimits(t *testing.T) { FILE: test/opts_test.go function TestServerConfig (line 20) | func TestServerConfig(t *testing.T) { function TestTLSConfig (line 34) | func TestTLSConfig(t *testing.T) { FILE: test/pedantic_test.go function runPedanticServer (line 22) | func runPedanticServer() *server.Server { function TestPedanticSub (line 32) | func TestPedanticSub(t *testing.T) { function TestPedanticPub (line 77) | func TestPedanticPub(t *testing.T) { FILE: test/pid_test.go function TestPidFile (line 22) | func TestPidFile(t *testing.T) { FILE: test/ping_test.go constant PING_TEST_PORT (line 27) | PING_TEST_PORT = 9972 constant PING_INTERVAL (line 28) | PING_INTERVAL = 50 * time.Millisecond constant PING_MAX (line 29) | PING_MAX = 2 function runPingServer (line 32) | func runPingServer() *server.Server { function TestPingSentToTLSConnection (line 40) | func TestPingSentToTLSConnection(t *testing.T) { function TestPingInterval (line 103) | func TestPingInterval(t *testing.T) { function TestUnpromptedPong (line 145) | func TestUnpromptedPong(t *testing.T) { function TestPingSuppresion (line 191) | func TestPingSuppresion(t *testing.T) { FILE: test/port_test.go function TestResolveRandomPort (line 24) | func TestResolveRandomPort(t *testing.T) { FILE: test/ports_test.go function waitForFile (line 30) | func waitForFile(path string, dur time.Duration) ([]byte, error) { function portFile (line 43) | func portFile(dirname string) string { function TestPortsFile (line 47) | func TestPortsFile(t *testing.T) { function TestPortsFileReload (line 124) | func TestPortsFileReload(t *testing.T) { FILE: test/proto_test.go constant PROTO_TEST_PORT (line 24) | PROTO_TEST_PORT = 9922 function runProtoServer (line 26) | func runProtoServer() *server.Server { function TestProtoBasics (line 34) | func TestProtoBasics(t *testing.T) { function TestProtoErr (line 61) | func TestProtoErr(t *testing.T) { function TestUnsubMax (line 75) | func TestUnsubMax(t *testing.T) { function TestQueueSub (line 98) | func TestQueueSub(t *testing.T) { function TestMultipleQueueSub (line 132) | func TestMultipleQueueSub(t *testing.T) { function TestPubToArgState (line 169) | func TestPubToArgState(t *testing.T) { function TestSubToArgState (line 182) | func TestSubToArgState(t *testing.T) { function TestProtoCrash (line 196) | func TestProtoCrash(t *testing.T) { function TestDuplicateProtoSub (line 216) | func TestDuplicateProtoSub(t *testing.T) { function TestIncompletePubArg (line 248) | func TestIncompletePubArg(t *testing.T) { function TestControlLineMaximums (line 282) | func TestControlLineMaximums(t *testing.T) { function TestServerInfoWithClientAdvertise (line 299) | func TestServerInfoWithClientAdvertise(t *testing.T) { FILE: test/route_discovery_test.go function runSeedServer (line 32) | func runSeedServer(t *testing.T) (*server.Server, *server.Options) { function runAuthSeedServer (line 36) | func runAuthSeedServer(t *testing.T) (*server.Server, *server.Options) { function TestSeedFirstRouteInfo (line 40) | func TestSeedFirstRouteInfo(t *testing.T) { function TestSeedMultipleRouteInfo (line 60) | func TestSeedMultipleRouteInfo(t *testing.T) { function TestSeedSolicitWorks (line 163) | func TestSeedSolicitWorks(t *testing.T) { type serverInfo (line 234) | type serverInfo struct function checkConnected (line 239) | func checkConnected(t *testing.T, servers []serverInfo, current int, one... function TestStressSeedSolicitWorks (line 275) | func TestStressSeedSolicitWorks(t *testing.T) { function TestChainedSolicitWorks (line 329) | func TestChainedSolicitWorks(t *testing.T) { function TestStressChainedSolicitWorks (line 387) | func TestStressChainedSolicitWorks(t *testing.T) { function TestAuthSeedSolicitWorks (line 447) | func TestAuthSeedSolicitWorks(t *testing.T) { function expectRids (line 503) | func expectRids(t *testing.T, rz *server.Routez, rids []string) map[stri... function expectRidsNoFatal (line 511) | func expectRidsNoFatal(t *testing.T, direct bool, rz *server.Routez, rid... function readHTTPRoutez (line 537) | func readHTTPRoutez(t *testing.T, url string) *server.Routez { function TestSeedReturnIPInInfo (line 558) | func TestSeedReturnIPInInfo(t *testing.T) { function TestImplicitRouteRetry (line 621) | func TestImplicitRouteRetry(t *testing.T) { FILE: test/routes_test.go constant clientProtoInfo (line 33) | clientProtoInfo = 1 function runRouteServer (line 35) | func runRouteServer(t *testing.T) (*server.Server, *server.Options) { function runRouteServerOverrides (line 39) | func runRouteServerOverrides(t *testing.T, cbo func(*server.Options), cb... function TestRouterListeningSocket (line 43) | func TestRouterListeningSocket(t *testing.T) { function TestRouteGoServerShutdown (line 52) | func TestRouteGoServerShutdown(t *testing.T) { function TestSendRouteInfoOnConnect (line 63) | func TestSendRouteInfoOnConnect(t *testing.T) { function TestRouteToSelf (line 101) | func TestRouteToSelf(t *testing.T) { function TestSendRouteSubAndUnsub (line 140) | func TestSendRouteSubAndUnsub(t *testing.T) { function TestSendRouteSolicit (line 177) | func TestSendRouteSolicit(t *testing.T) { function TestRouteForwardsMsgFromClients (line 200) | func TestRouteForwardsMsgFromClients(t *testing.T) { function TestRouteForwardsMsgToClients (line 233) | func TestRouteForwardsMsgToClients(t *testing.T) { function TestRouteOneHopSemantics (line 260) | func TestRouteOneHopSemantics(t *testing.T) { function TestRouteOnlySendOnce (line 280) | func TestRouteOnlySendOnce(t *testing.T) { function TestRouteQueueSemantics (line 311) | func TestRouteQueueSemantics(t *testing.T) { function TestSolicitRouteReconnect (line 389) | func TestSolicitRouteReconnect(t *testing.T) { function TestMultipleRoutesSameId (line 412) | func TestMultipleRoutesSameId(t *testing.T) { function TestRouteResendsLocalSubsOnReconnect (line 472) | func TestRouteResendsLocalSubsOnReconnect(t *testing.T) { type ignoreLogger (line 529) | type ignoreLogger struct method Fatalf (line 531) | func (l *ignoreLogger) Fatalf(f string, args ...any) {} method Errorf (line 532) | func (l *ignoreLogger) Errorf(f string, args ...any) {} function TestRouteConnectOnShutdownRace (line 534) | func TestRouteConnectOnShutdownRace(t *testing.T) { function TestRouteSendAsyncINFOToClients (line 570) | func TestRouteSendAsyncINFOToClients(t *testing.T) { function TestRouteBasicPermissions (line 860) | func TestRouteBasicPermissions(t *testing.T) { function createConfFile (line 1117) | func createConfFile(t testing.TB, content []byte) string { function TestRoutesOnlyImportOrExport (line 1128) | func TestRoutesOnlyImportOrExport(t *testing.T) { FILE: test/service_latency_test.go type supercluster (line 36) | type supercluster struct method shutdown (line 41) | func (sc *supercluster) shutdown() { method setResponseThreshold (line 75) | func (sc *supercluster) setResponseThreshold(t *testing.T, maxTime tim... method setImportShare (line 90) | func (sc *supercluster) setImportShare(t *testing.T) { method setupLatencyTracking (line 109) | func (sc *supercluster) setupLatencyTracking(t *testing.T, p int) { method removeLatencyTracking (line 134) | func (sc *supercluster) removeLatencyTracking(t *testing.T) { method totalSubs (line 147) | func (sc *supercluster) totalSubs() int { constant digits (line 50) | digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" constant base (line 51) | base = 36 constant cnlen (line 52) | cnlen = 8 function randClusterName (line 54) | func randClusterName() string { function createSuperCluster (line 64) | func createSuperCluster(t *testing.T, numServersPer, numClusters int) *s... function clientConnectWithName (line 155) | func clientConnectWithName(t *testing.T, opts *server.Options, user, app... function clientConnect (line 165) | func clientConnect(t *testing.T, opts *server.Options, user string) *nat... function clientConnectOldRequest (line 170) | func clientConnectOldRequest(t *testing.T, opts *server.Options, user st... function checkServiceLatency (line 180) | func checkServiceLatency(t *testing.T, sl server.ServiceLatency, start t... function extendedCheck (line 218) | func extendedCheck(t *testing.T, lc *server.ClientInfo, eUser, appName, ... function noShareCheck (line 237) | func noShareCheck(t *testing.T, lc *server.ClientInfo) { function TestServiceLatencySingleServerConnect (line 256) | func TestServiceLatencySingleServerConnect(t *testing.T) { function TestServiceLatencyClientRTTSlowerVsServiceRTT (line 319) | func TestServiceLatencyClientRTTSlowerVsServiceRTT(t *testing.T) { function connRTT (line 409) | func connRTT(nc *nats.Conn) time.Duration { function TestServiceLatencyRemoteConnect (line 420) | func TestServiceLatencyRemoteConnect(t *testing.T) { function TestServiceLatencySampling (line 518) | func TestServiceLatencySampling(t *testing.T) { function TestServiceLatencyNoSubsLeak (line 562) | func TestServiceLatencyNoSubsLeak(t *testing.T) { function TestServiceLatencyWithName (line 614) | func TestServiceLatencyWithName(t *testing.T) { function TestServiceLatencyWithNameMultiServer (line 653) | func TestServiceLatencyWithNameMultiServer(t *testing.T) { function createAccountWithJWT (line 693) | func createAccountWithJWT(t *testing.T) (string, nkeys.KeyPair, *jwt.Acc... function TestServiceLatencyWithJWT (line 703) | func TestServiceLatencyWithJWT(t *testing.T) { function TestServiceLatencyAdjustNegativeLatencyValues (line 858) | func TestServiceLatencyAdjustNegativeLatencyValues(t *testing.T) { function TestServiceLatencyRemoteConnectAdjustNegativeValues (line 910) | func TestServiceLatencyRemoteConnectAdjustNegativeValues(t *testing.T) { function TestServiceLatencyFailureReportingSingleServer (line 986) | func TestServiceLatencyFailureReportingSingleServer(t *testing.T) { function TestServiceLatencyFailureReportingMultipleServers (line 1074) | func TestServiceLatencyFailureReportingMultipleServers(t *testing.T) { function TestServiceLatencyOldRequestStyleSingleServer (line 1162) | func TestServiceLatencyOldRequestStyleSingleServer(t *testing.T) { function TestServiceAndStreamStackOverflow (line 1232) | func TestServiceAndStreamStackOverflow(t *testing.T) { function TestServiceLatencyRequestorSharesDetailedInfo (line 1312) | func TestServiceLatencyRequestorSharesDetailedInfo(t *testing.T) { function TestServiceLatencyRequestorSharesConfig (line 1405) | func TestServiceLatencyRequestorSharesConfig(t *testing.T) { function TestServiceLatencyLossTest (line 1514) | func TestServiceLatencyLossTest(t *testing.T) { function TestServiceLatencyHeaderTriggered (line 1635) | func TestServiceLatencyHeaderTriggered(t *testing.T) { function TestServiceLatencyMissingResults (line 1793) | func TestServiceLatencyMissingResults(t *testing.T) { function TestServiceLatencyDoubleResponse (line 1890) | func TestServiceLatencyDoubleResponse(t *testing.T) { FILE: test/services_test.go function TestServiceImportWithStreamed (line 43) | func TestServiceImportWithStreamed(t *testing.T) { function TestServiceImportWithStreamedResponseAndEOF (line 140) | func TestServiceImportWithStreamedResponseAndEOF(t *testing.T) { function TestServiceExportsResponseFiltering (line 209) | func TestServiceExportsResponseFiltering(t *testing.T) { function TestServiceExportsAutoDirectCleanup (line 278) | func TestServiceExportsAutoDirectCleanup(t *testing.T) { function TestServiceExportsPruningCleanup (line 375) | func TestServiceExportsPruningCleanup(t *testing.T) { function TestServiceExportsResponseThreshold (line 467) | func TestServiceExportsResponseThreshold(t *testing.T) { function TestServiceExportsResponseThresholdChunked (line 508) | func TestServiceExportsResponseThresholdChunked(t *testing.T) { function TestServiceAllowResponsesPerms (line 570) | func TestServiceAllowResponsesPerms(t *testing.T) { FILE: test/system_services_test.go constant dbgSubs (line 29) | dbgSubs = "$SYS.DEBUG.SUBSCRIBERS" method selectRandomServer (line 31) | func (sc *supercluster) selectRandomServer() *server.Options { method setupSystemServicesImports (line 37) | func (sc *supercluster) setupSystemServicesImports(t *testing.T, account... function numSubs (line 56) | func numSubs(t *testing.T, msg *nats.Msg) int { function checkDbgNumSubs (line 68) | func checkDbgNumSubs(t *testing.T, nc *nats.Conn, subj string, expected ... function TestSystemServiceSubscribers (line 83) | func TestSystemServiceSubscribers(t *testing.T) { function TestSystemServiceSubscribersWildcards (line 123) | func TestSystemServiceSubscribersWildcards(t *testing.T) { function TestSystemServiceSubscribersQueueGroups (line 154) | func TestSystemServiceSubscribersQueueGroups(t *testing.T) { function TestSystemServiceSubscribersLeafNodesWithoutSystem (line 200) | func TestSystemServiceSubscribersLeafNodesWithoutSystem(t *testing.T) { function runSolicitLeafServerWithSystemToURL (line 268) | func runSolicitLeafServerWithSystemToURL(surl string) (*server.Server, *... function TestSystemServiceSubscribersLeafNodesWithSystem (line 293) | func TestSystemServiceSubscribersLeafNodesWithSystem(t *testing.T) { FILE: test/test.go type tLogger (line 37) | type tLogger interface function RunDefaultServer (line 53) | func RunDefaultServer() *server.Server { function RunRandClientPortServer (line 57) | func RunRandClientPortServer() *server.Server { function RunServer (line 72) | func RunServer(opts *server.Options) *server.Server { function RunServerCallback (line 76) | func RunServerCallback(opts *server.Options, callback func(*server.Serve... function LoadConfig (line 121) | func LoadConfig(configFile string) *server.Options { function RunServerWithConfig (line 130) | func RunServerWithConfig(configFile string) (srv *server.Server, opts *s... function RunServerWithConfigOverrides (line 138) | func RunServerWithConfigOverrides(configFile string, optsCallback func(*... function stackFatalf (line 147) | func stackFatalf(t tLogger, f string, args ...any) { function acceptRouteConn (line 171) | func acceptRouteConn(t tLogger, host string, timeout time.Duration) net.... function createRouteConn (line 189) | func createRouteConn(t tLogger, host string, port int) net.Conn { function createClientConn (line 193) | func createClientConn(t tLogger, host string, port int) net.Conn { function checkSocket (line 202) | func checkSocket(t tLogger, addr string, wait time.Duration) { function checkInfoMsg (line 222) | func checkInfoMsg(t tLogger, c net.Conn) server.Info { function doHeadersConnect (line 233) | func doHeadersConnect(t tLogger, c net.Conn, verbose, pedantic, ssl, hea... function doConnect (line 240) | func doConnect(t tLogger, c net.Conn, verbose, pedantic, ssl bool) { function doDefaultHeadersConnect (line 244) | func doDefaultHeadersConnect(t tLogger, c net.Conn) { function doDefaultConnect (line 248) | func doDefaultConnect(t tLogger, c net.Conn) { constant routeConnectProto (line 253) | routeConnectProto = "CONNECT {\"verbose\":false,\"user\":\"%s\",\"pass\"... function doRouteAuthConnect (line 255) | func doRouteAuthConnect(t tLogger, c net.Conn, user, pass, id string) { function setupRouteEx (line 260) | func setupRouteEx(t tLogger, c net.Conn, opts *server.Options, id string... function setupRoute (line 267) | func setupRoute(t tLogger, c net.Conn, opts *server.Options) (sendFun, e... function setupHeaderConn (line 274) | func setupHeaderConn(t tLogger, c net.Conn) (sendFun, expectFun) { function setupConn (line 279) | func setupConn(t tLogger, c net.Conn) (sendFun, expectFun) { function setupConnWithProto (line 284) | func setupConnWithProto(t tLogger, c net.Conn, proto int) (sendFun, expe... function setupConnWithAccount (line 291) | func setupConnWithAccount(t tLogger, s *server.Server, c net.Conn, accou... function setupConnWithUserPass (line 314) | func setupConnWithUserPass(t tLogger, c net.Conn, username, password str... type sendFun (line 322) | type sendFun type expectFun (line 323) | type expectFun function sendCommand (line 326) | func sendCommand(t tLogger, c net.Conn) sendFun { function expectCommand (line 333) | func expectCommand(t tLogger, c net.Conn) expectFun { function expectLefMostCommand (line 340) | func expectLefMostCommand(t tLogger, c net.Conn) expectFun { function sendProto (line 348) | func sendProto(t tLogger, c net.Conn, op string) { constant subIndex (line 384) | subIndex = 1 constant sidIndex (line 385) | sidIndex = 2 constant replyIndex (line 386) | replyIndex = 4 constant lenIndex (line 387) | lenIndex = 5 constant msgIndex (line 388) | msgIndex = 6 constant hlenIndex (line 390) | hlenIndex = 5 constant tlenIndex (line 391) | tlenIndex = 6 constant hmsgIndex (line 392) | hmsgIndex = 7 constant accIndex (line 395) | accIndex = 1 constant rsubIndex (line 396) | rsubIndex = 2 constant replyAndQueueIndex (line 397) | replyAndQueueIndex = 3 function expectLeftMostResult (line 401) | func expectLeftMostResult(t tLogger, c net.Conn, re *regexp.Regexp, buf ... function expectResult (line 435) | func expectResult(t tLogger, c net.Conn, re *regexp.Regexp) []byte { function peek (line 452) | func peek(c net.Conn) []byte { function expectDisconnect (line 463) | func expectDisconnect(t *testing.T, c net.Conn) { function expectNothing (line 474) | func expectNothing(t tLogger, c net.Conn) { function expectNothingTimeout (line 478) | func expectNothingTimeout(t tLogger, c net.Conn, dl time.Time) { function checkMsg (line 489) | func checkMsg(t tLogger, m [][]byte, subject, sid, reply, len, msg strin... function checkRmsg (line 507) | func checkRmsg(t tLogger, m [][]byte, account, subject, replyAndQueues, ... function checkLmsg (line 522) | func checkLmsg(t tLogger, m [][]byte, subject, replyAndQueues, len, msg ... function checkHmsg (line 535) | func checkHmsg(t tLogger, m [][]byte, subject, sid, reply, hlen, len, hd... function expectRmsgsCommand (line 564) | func expectRmsgsCommand(t tLogger, ef expectFun) func(int) [][][]byte { function expectHeaderMsgsCommand (line 576) | func expectHeaderMsgsCommand(t tLogger, ef expectFun) func(int) [][][]by... function expectMsgsCommand (line 588) | func expectMsgsCommand(t tLogger, ef expectFun) func(int) [][][]byte { function checkForQueueSid (line 601) | func checkForQueueSid(t tLogger, matches [][][]byte, sids []string) { function checkForPubSids (line 624) | func checkForPubSids(t tLogger, matches [][][]byte, sids []string) { function nextServerOpts (line 645) | func nextServerOpts(opts *server.Options) *server.Options { function createTempFile (line 653) | func createTempFile(t testing.TB, prefix string) *os.File { FILE: test/test_test.go function checkFor (line 30) | func checkFor(t testing.TB, totalWait, sleepDur time.Duration, f func() ... type slowProxy (line 47) | type slowProxy struct method opts (line 81) | func (sp *slowProxy) opts() *server.Options { method clientURL (line 86) | func (sp *slowProxy) clientURL() string { method loop (line 90) | func (sp *slowProxy) loop(rtt time.Duration, tbw int, r, w net.Conn) { method stop (line 118) | func (sp *slowProxy) stop() { function newSlowProxy (line 54) | func newSlowProxy(rtt time.Duration, up, down int, opts *server.Options)... type dummyLogger (line 129) | type dummyLogger struct method Fatalf (line 134) | func (d *dummyLogger) Fatalf(format string, args ...any) { method Errorf (line 140) | func (d *dummyLogger) Errorf(format string, args ...any) { method Debugf (line 143) | func (d *dummyLogger) Debugf(format string, args ...any) { method Tracef (line 146) | func (d *dummyLogger) Tracef(format string, args ...any) { method Noticef (line 149) | func (d *dummyLogger) Noticef(format string, args ...any) { method Warnf (line 152) | func (d *dummyLogger) Warnf(format string, args ...any) { function TestStackFatal (line 155) | func TestStackFatal(t *testing.T) { FILE: test/tls_test.go function TestTLSConnection (line 37) | func TestTLSConnection(t *testing.T) { function TestTLSInProcessConnection (line 77) | func TestTLSInProcessConnection(t *testing.T) { function TestTLSClientCertificate (line 96) | func TestTLSClientCertificate(t *testing.T) { function TestTLSClientCertificateHasUserID (line 146) | func TestTLSClientCertificateHasUserID(t *testing.T) { function TestTLSClientCertificateCheckWithAllowedConnectionTypes (line 159) | func TestTLSClientCertificateCheckWithAllowedConnectionTypes(t *testing.... function TestTLSClientCertificateCNBasedAuth (line 191) | func TestTLSClientCertificateCNBasedAuth(t *testing.T) { function TestTLSClientCertificateSANsBasedAuth (line 272) | func TestTLSClientCertificateSANsBasedAuth(t *testing.T) { function TestTLSClientCertificateTLSAuthMultipleOptions (line 433) | func TestTLSClientCertificateTLSAuthMultipleOptions(t *testing.T) { function TestTLSRoutesCertificateCNBasedAuth (line 596) | func TestTLSRoutesCertificateCNBasedAuth(t *testing.T) { function TestTLSGatewaysCertificateCNBasedAuth (line 713) | func TestTLSGatewaysCertificateCNBasedAuth(t *testing.T) { function TestTLSVerifyClientCertificate (line 844) | func TestTLSVerifyClientCertificate(t *testing.T) { function TestTLSConnectionTimeout (line 861) | func TestTLSConnectionTimeout(t *testing.T) { function TestTLSAuthorizationShortTimeout (line 899) | func TestTLSAuthorizationShortTimeout(t *testing.T) { function TestClientTLSAndNonTLSConnections (line 920) | func TestClientTLSAndNonTLSConnections(t *testing.T) { function stressConnect (line 969) | func stressConnect(t *testing.T, wg *sync.WaitGroup, errCh chan error, u... function TestTLSStressConnect (line 1002) | func TestTLSStressConnect(t *testing.T) { function TestTLSBadAuthError (line 1047) | func TestTLSBadAuthError(t *testing.T) { function TestTLSConnectionCurvePref (line 1063) | func TestTLSConnectionCurvePref(t *testing.T) { type captureSlowConsumerLogger (line 1109) | type captureSlowConsumerLogger struct method Noticef (line 1115) | func (l *captureSlowConsumerLogger) Noticef(format string, v ...any) { function TestTLSTimeoutNotReportSlowConsumer (line 1127) | func TestTLSTimeoutNotReportSlowConsumer(t *testing.T) { function TestTLSHandshakeFailureMemUsage (line 1160) | func TestTLSHandshakeFailureMemUsage(t *testing.T) { function TestTLSClientAuthWithRDNSequence (line 1242) | func TestTLSClientAuthWithRDNSequence(t *testing.T) { function TestTLSClientAuthWithRDNSequenceReordered (line 1577) | func TestTLSClientAuthWithRDNSequenceReordered(t *testing.T) { function TestTLSClientSVIDAuth (line 1695) | func TestTLSClientSVIDAuth(t *testing.T) { function TestTLSPinnedCertsClient (line 1828) | func TestTLSPinnedCertsClient(t *testing.T) { type captureWarnLogger (line 1872) | type captureWarnLogger struct method Warnf (line 1883) | func (l *captureWarnLogger) Warnf(format string, v ...any) { method waitFor (line 1887) | func (l *captureWarnLogger) waitFor(expect string, timeout time.Durati... function newCaptureWarnLogger (line 1877) | func newCaptureWarnLogger() *captureWarnLogger { function TestTLSConnectionRate (line 1900) | func TestTLSConnectionRate(t *testing.T) { function TestTLSPinnedCertsRoute (line 1939) | func TestTLSPinnedCertsRoute(t *testing.T) { function TestAllowNonTLSReload (line 1990) | func TestAllowNonTLSReload(t *testing.T) { FILE: test/user_authorization_test.go constant DefaultPass (line 22) | DefaultPass = "foo" function TestUserAuthorizationProto (line 26) | func TestUserAuthorizationProto(t *testing.T) { function TestUserAuthorizationAllowResponses (line 226) | func TestUserAuthorizationAllowResponses(t *testing.T) { FILE: test/verbose_test.go function TestVerbosePing (line 20) | func TestVerbosePing(t *testing.T) { function TestVerboseConnect (line 39) | func TestVerboseConnect(t *testing.T) { function TestVerbosePubSub (line 58) | func TestVerbosePubSub(t *testing.T) {