api

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server interface {
	plugin.SharingPlugin
	// GetServer returns the listener server.
	GetServer() interface{}
}

Server is a plugin interface, that defines new servers, such as gRPC server and http server.

func GetServer

func GetServer(config plugin.Config) Server

GetServer gets an initialized server plugin.

Jump to

Keyboard shortcuts

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