File: constants.go

package info (click to toggle)
golang-github-canonical-go-dqlite 3.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 716 kB
  • sloc: sh: 380; makefile: 5
file content (12 lines) | stat: -rw-r--r-- 187 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
package client

import (
	"github.com/canonical/go-dqlite/v3/internal/protocol"
)

// Node roles
const (
	Voter   = protocol.Voter
	StandBy = protocol.StandBy
	Spare   = protocol.Spare
)