projectsgrpcsvc

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Configs = configset.Set[Config]{
	Default: &Config{
		MaxUploadSize: 1 * 1024 * 1024,
	},
}

Functions

This section is empty.

Types

type Config

type Config struct {
	MaxUploadSize int `koanf:"max_upload_size"`
}

type Server

type Server struct {
	projectsv1connect.UnimplementedProjectsServiceHandler
	// contains filtered or unexported fields
}

func New

func New(cfg *Config, projects sdkservices.Projects) *Server

func (*Server) Delete added in v0.3.1

func (*Server) Init

func (s *Server) Init(mux *http.ServeMux)

Jump to

Keyboard shortcuts

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