server

package
Version: v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(o *Options)

func WithAddress

func WithAddress(addr string) Option

func WithTLS

func WithTLS(certFile, keyFile string) Option

type Options

type Options struct {
	Address string
	TLS     *TLS
}

type Server

type Server interface {
	Run() error
}

type TLS

type TLS struct {
	CertFile string
	KeyFile  string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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