service

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: BSD-3-Clause Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	pbconnect.UnimplementedConfigServiceHandler
	// contains filtered or unexported fields
}

server is used to implement pb.ConfigServiceServer.

func Serve

func Serve() (*Service, error)

func (*Service) Attach

func (s *Service) Attach(mux *http.ServeMux)

func (*Service) Commit

func (s *Service) Commit(ctx context.Context, req *connect.Request[pb.Config]) (*connect.Response[pb.Empty], error)

func (*Service) Do

func (*Service) Download

func (s *Service) Download(ctx context.Context, req *connect.Request[pb.BundleConfig], stream *connect.ServerStream[pb.Bundle]) (rerr error)

func (*Service) Free

func (*Service) Load

func (*Service) Lookup

func (s *Service) Lookup(id string) (config.Parser, error)

func (*Service) New

func (*Service) Upload

Jump to

Keyboard shortcuts

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