Documentation ¶
Index ¶
- Constants
- type NATSServerConfig
- func (s NATSServerConfig) Cluster() (NATSServerConfig_HostPort, error)
- func (s NATSServerConfig) ClusterName() (string, error)
- func (s NATSServerConfig) ClusterNameBytes() ([]byte, error)
- func (s NATSServerConfig) ClusterX509KeyPair() (NATSServerConfig_X509KeyPair, error)
- func (s NATSServerConfig) HasCluster() bool
- func (s NATSServerConfig) HasClusterName() bool
- func (s NATSServerConfig) HasClusterX509KeyPair() bool
- func (s NATSServerConfig) HasMonitor() bool
- func (s NATSServerConfig) HasRoutes() bool
- func (s NATSServerConfig) HasServer() bool
- func (s NATSServerConfig) HasServerX509KeyPair() bool
- func (s NATSServerConfig) LogLevel() NATSServerConfig_NATSLogLevel
- func (s NATSServerConfig) MaxConn() int32
- func (s NATSServerConfig) MaxPayload() int32
- func (s NATSServerConfig) MetricsExporterPort() int32
- func (s NATSServerConfig) Monitor() (NATSServerConfig_HostPort, error)
- func (s NATSServerConfig) NewCluster() (NATSServerConfig_HostPort, error)
- func (s NATSServerConfig) NewClusterX509KeyPair() (NATSServerConfig_X509KeyPair, error)
- func (s NATSServerConfig) NewMonitor() (NATSServerConfig_HostPort, error)
- func (s NATSServerConfig) NewRoutes(n int32) (capnp.TextList, error)
- func (s NATSServerConfig) NewServer() (NATSServerConfig_HostPort, error)
- func (s NATSServerConfig) NewServerX509KeyPair() (NATSServerConfig_X509KeyPair, error)
- func (s NATSServerConfig) Routes() (capnp.TextList, error)
- func (s NATSServerConfig) Server() (NATSServerConfig_HostPort, error)
- func (s NATSServerConfig) ServerX509KeyPair() (NATSServerConfig_X509KeyPair, error)
- func (s NATSServerConfig) SetCluster(v NATSServerConfig_HostPort) error
- func (s NATSServerConfig) SetClusterName(v string) error
- func (s NATSServerConfig) SetClusterX509KeyPair(v NATSServerConfig_X509KeyPair) error
- func (s NATSServerConfig) SetLogLevel(v NATSServerConfig_NATSLogLevel)
- func (s NATSServerConfig) SetMaxConn(v int32)
- func (s NATSServerConfig) SetMaxPayload(v int32)
- func (s NATSServerConfig) SetMetricsExporterPort(v int32)
- func (s NATSServerConfig) SetMonitor(v NATSServerConfig_HostPort) error
- func (s NATSServerConfig) SetRoutes(v capnp.TextList) error
- func (s NATSServerConfig) SetServer(v NATSServerConfig_HostPort) error
- func (s NATSServerConfig) SetServerX509KeyPair(v NATSServerConfig_X509KeyPair) error
- func (s NATSServerConfig) String() string
- type NATSServerConfig_HostPort
- func (s NATSServerConfig_HostPort) HasHost() bool
- func (s NATSServerConfig_HostPort) Host() (string, error)
- func (s NATSServerConfig_HostPort) HostBytes() ([]byte, error)
- func (s NATSServerConfig_HostPort) Port() int32
- func (s NATSServerConfig_HostPort) SetHost(v string) error
- func (s NATSServerConfig_HostPort) SetPort(v int32)
- func (s NATSServerConfig_HostPort) String() string
- type NATSServerConfig_HostPort_List
- type NATSServerConfig_HostPort_Promise
- type NATSServerConfig_List
- type NATSServerConfig_NATSLogLevel
- type NATSServerConfig_NATSLogLevel_List
- type NATSServerConfig_Promise
- func (p NATSServerConfig_Promise) Cluster() NATSServerConfig_HostPort_Promise
- func (p NATSServerConfig_Promise) ClusterX509KeyPair() NATSServerConfig_X509KeyPair_Promise
- func (p NATSServerConfig_Promise) Monitor() NATSServerConfig_HostPort_Promise
- func (p NATSServerConfig_Promise) Server() NATSServerConfig_HostPort_Promise
- func (p NATSServerConfig_Promise) ServerX509KeyPair() NATSServerConfig_X509KeyPair_Promise
- func (p NATSServerConfig_Promise) Struct() (NATSServerConfig, error)
- type NATSServerConfig_X509KeyPair
- func (s NATSServerConfig_X509KeyPair) CertPEMBlock() ([]byte, error)
- func (s NATSServerConfig_X509KeyPair) HasCertPEMBlock() bool
- func (s NATSServerConfig_X509KeyPair) HasKeyPEMBlock() bool
- func (s NATSServerConfig_X509KeyPair) KeyPEMBlock() ([]byte, error)
- func (s NATSServerConfig_X509KeyPair) SetCertPEMBlock(v []byte) error
- func (s NATSServerConfig_X509KeyPair) SetKeyPEMBlock(v []byte) error
- func (s NATSServerConfig_X509KeyPair) String() string
- type NATSServerConfig_X509KeyPair_List
- type NATSServerConfig_X509KeyPair_Promise
Constants ¶
const NATSServerConfig_HostPort_TypeID = 0xd618c87c1da62651
NATSServerConfig_HostPort_TypeID is the unique identifier for the type NATSServerConfig_HostPort.
const NATSServerConfig_NATSLogLevel_TypeID = 0xcd2ea85dab4af771
NATSServerConfig_NATSLogLevel_TypeID is the unique identifier for the type NATSServerConfig_NATSLogLevel.
const NATSServerConfig_TypeID = 0xe6c2ada3d6363f58
NATSServerConfig_TypeID is the unique identifier for the type NATSServerConfig.
const NATSServerConfig_X509KeyPair_TypeID = 0x8ab1c24f4ecb6266
NATSServerConfig_X509KeyPair_TypeID is the unique identifier for the type NATSServerConfig_X509KeyPair.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NATSServerConfig ¶
func NewNATSServerConfig ¶
func NewNATSServerConfig(s *capnp.Segment) (NATSServerConfig, error)
func NewRootNATSServerConfig ¶
func NewRootNATSServerConfig(s *capnp.Segment) (NATSServerConfig, error)
func ReadRootNATSServerConfig ¶
func ReadRootNATSServerConfig(msg *capnp.Message) (NATSServerConfig, error)
func (NATSServerConfig) Cluster ¶
func (s NATSServerConfig) Cluster() (NATSServerConfig_HostPort, error)
func (NATSServerConfig) ClusterName ¶
func (s NATSServerConfig) ClusterName() (string, error)
func (NATSServerConfig) ClusterNameBytes ¶
func (s NATSServerConfig) ClusterNameBytes() ([]byte, error)
func (NATSServerConfig) ClusterX509KeyPair ¶
func (s NATSServerConfig) ClusterX509KeyPair() (NATSServerConfig_X509KeyPair, error)
func (NATSServerConfig) HasCluster ¶
func (s NATSServerConfig) HasCluster() bool
func (NATSServerConfig) HasClusterName ¶
func (s NATSServerConfig) HasClusterName() bool
func (NATSServerConfig) HasClusterX509KeyPair ¶
func (s NATSServerConfig) HasClusterX509KeyPair() bool
func (NATSServerConfig) HasMonitor ¶
func (s NATSServerConfig) HasMonitor() bool
func (NATSServerConfig) HasRoutes ¶
func (s NATSServerConfig) HasRoutes() bool
func (NATSServerConfig) HasServer ¶
func (s NATSServerConfig) HasServer() bool
func (NATSServerConfig) HasServerX509KeyPair ¶
func (s NATSServerConfig) HasServerX509KeyPair() bool
func (NATSServerConfig) LogLevel ¶
func (s NATSServerConfig) LogLevel() NATSServerConfig_NATSLogLevel
func (NATSServerConfig) MaxConn ¶
func (s NATSServerConfig) MaxConn() int32
func (NATSServerConfig) MaxPayload ¶
func (s NATSServerConfig) MaxPayload() int32
func (NATSServerConfig) MetricsExporterPort ¶
func (s NATSServerConfig) MetricsExporterPort() int32
func (NATSServerConfig) Monitor ¶
func (s NATSServerConfig) Monitor() (NATSServerConfig_HostPort, error)
func (NATSServerConfig) NewCluster ¶
func (s NATSServerConfig) NewCluster() (NATSServerConfig_HostPort, error)
NewCluster sets the cluster field to a newly allocated NATSServerConfig_HostPort struct, preferring placement in s's segment.
func (NATSServerConfig) NewClusterX509KeyPair ¶
func (s NATSServerConfig) NewClusterX509KeyPair() (NATSServerConfig_X509KeyPair, error)
NewClusterX509KeyPair sets the clusterX509KeyPair field to a newly allocated NATSServerConfig_X509KeyPair struct, preferring placement in s's segment.
func (NATSServerConfig) NewMonitor ¶
func (s NATSServerConfig) NewMonitor() (NATSServerConfig_HostPort, error)
NewMonitor sets the monitor field to a newly allocated NATSServerConfig_HostPort struct, preferring placement in s's segment.
func (NATSServerConfig) NewRoutes ¶
func (s NATSServerConfig) NewRoutes(n int32) (capnp.TextList, error)
NewRoutes sets the routes field to a newly allocated capnp.TextList, preferring placement in s's segment.
func (NATSServerConfig) NewServer ¶
func (s NATSServerConfig) NewServer() (NATSServerConfig_HostPort, error)
NewServer sets the server field to a newly allocated NATSServerConfig_HostPort struct, preferring placement in s's segment.
func (NATSServerConfig) NewServerX509KeyPair ¶
func (s NATSServerConfig) NewServerX509KeyPair() (NATSServerConfig_X509KeyPair, error)
NewServerX509KeyPair sets the serverX509KeyPair field to a newly allocated NATSServerConfig_X509KeyPair struct, preferring placement in s's segment.
func (NATSServerConfig) Server ¶
func (s NATSServerConfig) Server() (NATSServerConfig_HostPort, error)
func (NATSServerConfig) ServerX509KeyPair ¶
func (s NATSServerConfig) ServerX509KeyPair() (NATSServerConfig_X509KeyPair, error)
func (NATSServerConfig) SetCluster ¶
func (s NATSServerConfig) SetCluster(v NATSServerConfig_HostPort) error
func (NATSServerConfig) SetClusterName ¶
func (s NATSServerConfig) SetClusterName(v string) error
func (NATSServerConfig) SetClusterX509KeyPair ¶
func (s NATSServerConfig) SetClusterX509KeyPair(v NATSServerConfig_X509KeyPair) error
func (NATSServerConfig) SetLogLevel ¶
func (s NATSServerConfig) SetLogLevel(v NATSServerConfig_NATSLogLevel)
func (NATSServerConfig) SetMaxConn ¶
func (s NATSServerConfig) SetMaxConn(v int32)
func (NATSServerConfig) SetMaxPayload ¶
func (s NATSServerConfig) SetMaxPayload(v int32)
func (NATSServerConfig) SetMetricsExporterPort ¶
func (s NATSServerConfig) SetMetricsExporterPort(v int32)
func (NATSServerConfig) SetMonitor ¶
func (s NATSServerConfig) SetMonitor(v NATSServerConfig_HostPort) error
func (NATSServerConfig) SetServer ¶
func (s NATSServerConfig) SetServer(v NATSServerConfig_HostPort) error
func (NATSServerConfig) SetServerX509KeyPair ¶
func (s NATSServerConfig) SetServerX509KeyPair(v NATSServerConfig_X509KeyPair) error
func (NATSServerConfig) String ¶
func (s NATSServerConfig) String() string
type NATSServerConfig_HostPort ¶
func NewNATSServerConfig_HostPort ¶
func NewNATSServerConfig_HostPort(s *capnp.Segment) (NATSServerConfig_HostPort, error)
func NewRootNATSServerConfig_HostPort ¶
func NewRootNATSServerConfig_HostPort(s *capnp.Segment) (NATSServerConfig_HostPort, error)
func ReadRootNATSServerConfig_HostPort ¶
func ReadRootNATSServerConfig_HostPort(msg *capnp.Message) (NATSServerConfig_HostPort, error)
func (NATSServerConfig_HostPort) HasHost ¶
func (s NATSServerConfig_HostPort) HasHost() bool
func (NATSServerConfig_HostPort) Host ¶
func (s NATSServerConfig_HostPort) Host() (string, error)
func (NATSServerConfig_HostPort) HostBytes ¶
func (s NATSServerConfig_HostPort) HostBytes() ([]byte, error)
func (NATSServerConfig_HostPort) Port ¶
func (s NATSServerConfig_HostPort) Port() int32
func (NATSServerConfig_HostPort) SetHost ¶
func (s NATSServerConfig_HostPort) SetHost(v string) error
func (NATSServerConfig_HostPort) SetPort ¶
func (s NATSServerConfig_HostPort) SetPort(v int32)
func (NATSServerConfig_HostPort) String ¶
func (s NATSServerConfig_HostPort) String() string
type NATSServerConfig_HostPort_List ¶
NATSServerConfig_HostPort_List is a list of NATSServerConfig_HostPort.
func NewNATSServerConfig_HostPort_List ¶
func NewNATSServerConfig_HostPort_List(s *capnp.Segment, sz int32) (NATSServerConfig_HostPort_List, error)
NewNATSServerConfig_HostPort creates a new list of NATSServerConfig_HostPort.
func (NATSServerConfig_HostPort_List) At ¶
func (s NATSServerConfig_HostPort_List) At(i int) NATSServerConfig_HostPort
func (NATSServerConfig_HostPort_List) Set ¶
func (s NATSServerConfig_HostPort_List) Set(i int, v NATSServerConfig_HostPort) error
func (NATSServerConfig_HostPort_List) String ¶
func (s NATSServerConfig_HostPort_List) String() string
type NATSServerConfig_HostPort_Promise ¶
NATSServerConfig_HostPort_Promise is a wrapper for a NATSServerConfig_HostPort promised by a client call.
func (NATSServerConfig_HostPort_Promise) Struct ¶
func (p NATSServerConfig_HostPort_Promise) Struct() (NATSServerConfig_HostPort, error)
type NATSServerConfig_List ¶
NATSServerConfig_List is a list of NATSServerConfig.
func NewNATSServerConfig_List ¶
func NewNATSServerConfig_List(s *capnp.Segment, sz int32) (NATSServerConfig_List, error)
NewNATSServerConfig creates a new list of NATSServerConfig.
func (NATSServerConfig_List) At ¶
func (s NATSServerConfig_List) At(i int) NATSServerConfig
func (NATSServerConfig_List) Set ¶
func (s NATSServerConfig_List) Set(i int, v NATSServerConfig) error
func (NATSServerConfig_List) String ¶
func (s NATSServerConfig_List) String() string
type NATSServerConfig_NATSLogLevel ¶
type NATSServerConfig_NATSLogLevel uint16
const ( NATSServerConfig_NATSLogLevel_nolog NATSServerConfig_NATSLogLevel = 0 NATSServerConfig_NATSLogLevel_debug NATSServerConfig_NATSLogLevel = 1 NATSServerConfig_NATSLogLevel_trace NATSServerConfig_NATSLogLevel = 2 )
Values of NATSServerConfig_NATSLogLevel.
func NATSServerConfig_NATSLogLevelFromString ¶
func NATSServerConfig_NATSLogLevelFromString(c string) NATSServerConfig_NATSLogLevel
NATSServerConfig_NATSLogLevelFromString returns the enum value with a name, or the zero value if there's no such value.
func (NATSServerConfig_NATSLogLevel) String ¶
func (c NATSServerConfig_NATSLogLevel) String() string
String returns the enum's constant name.
type NATSServerConfig_NATSLogLevel_List ¶
func NewNATSServerConfig_NATSLogLevel_List ¶
func NewNATSServerConfig_NATSLogLevel_List(s *capnp.Segment, sz int32) (NATSServerConfig_NATSLogLevel_List, error)
func (NATSServerConfig_NATSLogLevel_List) At ¶
func (l NATSServerConfig_NATSLogLevel_List) At(i int) NATSServerConfig_NATSLogLevel
func (NATSServerConfig_NATSLogLevel_List) Set ¶
func (l NATSServerConfig_NATSLogLevel_List) Set(i int, v NATSServerConfig_NATSLogLevel)
type NATSServerConfig_Promise ¶
NATSServerConfig_Promise is a wrapper for a NATSServerConfig promised by a client call.
func (NATSServerConfig_Promise) Cluster ¶
func (p NATSServerConfig_Promise) Cluster() NATSServerConfig_HostPort_Promise
func (NATSServerConfig_Promise) ClusterX509KeyPair ¶
func (p NATSServerConfig_Promise) ClusterX509KeyPair() NATSServerConfig_X509KeyPair_Promise
func (NATSServerConfig_Promise) Monitor ¶
func (p NATSServerConfig_Promise) Monitor() NATSServerConfig_HostPort_Promise
func (NATSServerConfig_Promise) Server ¶
func (p NATSServerConfig_Promise) Server() NATSServerConfig_HostPort_Promise
func (NATSServerConfig_Promise) ServerX509KeyPair ¶
func (p NATSServerConfig_Promise) ServerX509KeyPair() NATSServerConfig_X509KeyPair_Promise
func (NATSServerConfig_Promise) Struct ¶
func (p NATSServerConfig_Promise) Struct() (NATSServerConfig, error)
type NATSServerConfig_X509KeyPair ¶
func NewNATSServerConfig_X509KeyPair ¶
func NewNATSServerConfig_X509KeyPair(s *capnp.Segment) (NATSServerConfig_X509KeyPair, error)
func NewRootNATSServerConfig_X509KeyPair ¶
func NewRootNATSServerConfig_X509KeyPair(s *capnp.Segment) (NATSServerConfig_X509KeyPair, error)
func ReadRootNATSServerConfig_X509KeyPair ¶
func ReadRootNATSServerConfig_X509KeyPair(msg *capnp.Message) (NATSServerConfig_X509KeyPair, error)
func (NATSServerConfig_X509KeyPair) CertPEMBlock ¶
func (s NATSServerConfig_X509KeyPair) CertPEMBlock() ([]byte, error)
func (NATSServerConfig_X509KeyPair) HasCertPEMBlock ¶
func (s NATSServerConfig_X509KeyPair) HasCertPEMBlock() bool
func (NATSServerConfig_X509KeyPair) HasKeyPEMBlock ¶
func (s NATSServerConfig_X509KeyPair) HasKeyPEMBlock() bool
func (NATSServerConfig_X509KeyPair) KeyPEMBlock ¶
func (s NATSServerConfig_X509KeyPair) KeyPEMBlock() ([]byte, error)
func (NATSServerConfig_X509KeyPair) SetCertPEMBlock ¶
func (s NATSServerConfig_X509KeyPair) SetCertPEMBlock(v []byte) error
func (NATSServerConfig_X509KeyPair) SetKeyPEMBlock ¶
func (s NATSServerConfig_X509KeyPair) SetKeyPEMBlock(v []byte) error
func (NATSServerConfig_X509KeyPair) String ¶
func (s NATSServerConfig_X509KeyPair) String() string
type NATSServerConfig_X509KeyPair_List ¶
NATSServerConfig_X509KeyPair_List is a list of NATSServerConfig_X509KeyPair.
func NewNATSServerConfig_X509KeyPair_List ¶
func NewNATSServerConfig_X509KeyPair_List(s *capnp.Segment, sz int32) (NATSServerConfig_X509KeyPair_List, error)
NewNATSServerConfig_X509KeyPair creates a new list of NATSServerConfig_X509KeyPair.
func (NATSServerConfig_X509KeyPair_List) At ¶
func (s NATSServerConfig_X509KeyPair_List) At(i int) NATSServerConfig_X509KeyPair
func (NATSServerConfig_X509KeyPair_List) Set ¶
func (s NATSServerConfig_X509KeyPair_List) Set(i int, v NATSServerConfig_X509KeyPair) error
func (NATSServerConfig_X509KeyPair_List) String ¶
func (s NATSServerConfig_X509KeyPair_List) String() string
type NATSServerConfig_X509KeyPair_Promise ¶
NATSServerConfig_X509KeyPair_Promise is a wrapper for a NATSServerConfig_X509KeyPair promised by a client call.
func (NATSServerConfig_X509KeyPair_Promise) Struct ¶
func (p NATSServerConfig_X509KeyPair_Promise) Struct() (NATSServerConfig_X509KeyPair, error)