Documentation
¶
Index ¶
- Variables
- type Config
- type Documentation
- type Provider
- type Server
- func (s *Server) FetchVersion(ctx context.Context, version string) error
- func (s *Server) GetFile(ctx context.Context, version, file string) ([]byte, error)
- func (s *Server) GetVersion(version string) *Documentation
- func (s *Server) GetVersions() []string
- func (s *Server) Path(version, role string) string
- func (s *Server) Poll(ctx context.Context) error
- func (s *Server) ProxyEnabled() bool
- func (s *Server) RemoveVersion(version string)
- func (s *Server) Run(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = fmt.Errorf("not found")
)
Functions ¶
This section is empty.
Types ¶
type Documentation ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) FetchVersion ¶
func (*Server) GetVersion ¶
func (s *Server) GetVersion(version string) *Documentation
func (*Server) GetVersions ¶
func (*Server) ProxyEnabled ¶
func (*Server) RemoveVersion ¶
Click to show internal directories.
Click to hide internal directories.