Documentation
¶
Index ¶
Constants ¶
View Source
const ( TransportStdio = "stdio" TransportHttp = "http" DefaultListenAddr = "127.0.0.1:7474" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v0.1.3
type Option func(*options)
func WithListen ¶ added in v0.2.0
func WithListener ¶ added in v0.2.0
func WithLogger ¶ added in v0.1.3
func WithRedactor ¶ added in v0.3.2
func WithSourceDir ¶ added in v0.1.3
func WithTransport ¶ added in v0.2.0
func WithWorkspaceConfig ¶ added in v0.3.2
type RescanLoop ¶
type RescanLoop struct {
// contains filtered or unexported fields
}
func NewRescanLoop ¶
func (*RescanLoop) Run ¶
func (r *RescanLoop) Run(ctx context.Context)
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(st *store.Store, tracker *temperature.Tracker, cfg temperature.Config, opts ...Option) (*Server, error)
func (*Server) NotifyColdNodes ¶
Send a cold-node warning and return the IDs that reached at least one session.
Click to show internal directories.
Click to hide internal directories.