types

package
v1.5.38 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServerElectionPath = "server"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RoleChangeEvent

type RoleChangeEvent <-chan RoleType

Provides the master-change event notifications.

type RoleType

type RoleType string
const (
	ServerMaster  RoleType = "master"
	ServerSlave   RoleType = "slave"
	ServerUnknown RoleType = "unknown"
)

type ServerInfo

type ServerInfo struct {
	types.ServerInfo
}

func (*ServerInfo) GetURI

func (di *ServerInfo) GetURI() string

Jump to

Keyboard shortcuts

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