service

package
v0.0.0-...-4f8c29e Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendConfiguration

type BackendConfiguration struct {
	Configuration *config.Config
	Schema        *avro.Schema
	Router        *pat.Router
	Topic         string
	Prefix        string
}

type BackendService

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

func NewBackendService

func NewBackendService(cfg *BackendConfiguration) *BackendService

func (*BackendService) WithPath

func (s *BackendService) WithPath(path string) *BackendService

func (*BackendService) WithTopic

func (s *BackendService) WithTopic(topic string) *BackendService

type Router

type Router interface {
	Get(path string, handler http.HandlerFunc) *mux.Route
}

Jump to

Keyboard shortcuts

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