serverinfo

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package serverinfo GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EndpointProviderWithContext

func EndpointProviderWithContext(ctx context.Context, p EndpointProvider) context.Context

Types

type EndpointProvider

type EndpointProvider interface {
	EndpointFor(role string) (url.URL, bool)
}

func EndpointProviderFromContext

func EndpointProviderFromContext(ctx context.Context) EndpointProvider

type EndpointRoleDescriber

type EndpointRoleDescriber interface {
	EndpointRole() string
}

type Public

type Public struct {
	// Serve Public Endpoint
	Endpoint string `opt:",omitempty"`
	// contains filtered or unexported fields
}

func (*Public) ApplyRouter

func (p *Public) ApplyRouter(r courier.Router) error

func (*Public) EndpointFor

func (p *Public) EndpointFor(name string) (url.URL, bool)

func (*Public) InitWithAddr

func (v *Public) InitWithAddr(addr string) error

func (*Public) Register

func (p *Public) Register(name string, route string) error

func (Public) RuntimeDoc

func (v Public) RuntimeDoc(names ...string) ([]string, bool)

Jump to

Keyboard shortcuts

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