Documentation
¶
Overview ¶
Package serverinfo serves the ServerInfo RPC from a serverinfo.Source.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server answers ServerInfo calls. Version is public so an unauthenticated upgrade process can check whether a restart took.
func NewServer ¶
func NewServer(source *serverinfo.Source) *Server
func (*Server) Version ¶
func (s *Server) Version(_ context.Context, state *server_v1alpha.ServerInfoVersion) error
Click to show internal directories.
Click to hide internal directories.