server

package
v0.0.0-...-7c02c66 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Data = []byte{113, 117, 105, 99, 107, 45, 105, 109}

Functions

func NewApiServer

func NewApiServer(opt ...Option) *apiServer

Types

type Option

type Option func(*apiServer)

func WithConsulServer

func WithConsulServer(consulServer string) Option

func WithConsulServers

func WithConsulServers(consulServers ...string) Option

func WithIp

func WithIp(ip string) Option

func WithJeagerAgentHostPort

func WithJeagerAgentHostPort(trackAgentHostPort string) Option

func WithJeagerServiceName

func WithJeagerServiceName(serviceName string) Option

func WithLogger

func WithLogger(logger logger.Logger) Option

func WithOpenTracing

func WithOpenTracing(disable bool) Option

func WithPort

func WithPort(port uint16) Option

func WithUseConsulRegistry

func WithUseConsulRegistry(useConsulRegistry bool) Option

Jump to

Keyboard shortcuts

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