dashboard

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VerifiedUserIdKey = verifiedUserIdKey{}

Functions

This section is empty.

Types

type Server

type Server struct {
	Config *configv2.Config
	// contains filtered or unexported fields
}

func NewServer

func NewServer(config *configv2.Config, grpcConn *grpc.ClientConn) (*Server, error)

func (*Server) Get

func (s *Server) Get(path string, handle httprouter.Handle)

func (*Server) Post

func (s *Server) Post(path string, handle httprouter.Handle)

func (*Server) RenderTemplate

func (s *Server) RenderTemplate(w http.ResponseWriter, name string, data interface{})

func (*Server) Shutdown

func (s *Server) Shutdown(ctx context.Context) error

func (*Server) Start

func (s *Server) Start() error

Jump to

Keyboard shortcuts

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