server

package
v0.0.0-...-df4d414 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocOptions

type DocOptions struct {
	Enabled     bool
	Static      bool
	ModFilePath string
	Username    string
	Password    string
}

type IndexPage

type IndexPage struct {
	// contains filtered or unexported fields
}

func (*IndexPage) Serve

func (p *IndexPage) Serve(ctx context.Context, user egoutil.UserInfo, r *http.Request) (string, interface{}, error)

type ModuleRedirect

type ModuleRedirect struct {
	// contains filtered or unexported fields
}

func (*ModuleRedirect) Serve

func (p *ModuleRedirect) Serve(ctx context.Context, user egoutil.UserInfo, r *http.Request) (string, interface{}, error)

type MyApp

type MyApp struct {
	// contains filtered or unexported fields
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(port int, docOpts DocOptions, secretSource secrets.SecretSource, debug bool) (*Server, error)

func (*Server) Run

func (srv *Server) Run() error

Jump to

Keyboard shortcuts

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