server

package
v0.0.0-...-43c5c3b Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupClientCerts

func SetupClientCerts(certs string) (*tls.Config, error)

Types

type Server

type Server struct {
	Logger zerolog.Logger
	Client *s3.Client
	Bucket string
}

func SetupServer

func SetupServer(ctx context.Context, logger zerolog.Logger, bucket string) *Server

func (*Server) Router

func (s *Server) Router() *chi.Mux

Jump to

Keyboard shortcuts

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