Help us shape the future of Go! Take the 2026 Go Developer Survey

version

package
v3.5.6 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

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
}

func NewServer

func NewServer(authenticator settings.Authenticator, disableAuth func() (bool, error)) *Server

func (*Server) AuthFuncOverride

func (s *Server) AuthFuncOverride(ctx context.Context, _ string) (context.Context, error)

AuthFuncOverride allows the version to be returned without auth

func (*Server) Version

func (s *Server) Version(ctx context.Context, _ *empty.Empty) (*version.VersionMessage, error)

Version returns the version of the API server

Jump to

Keyboard shortcuts

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