Documentation
¶
Index ¶
Constants ¶
View Source
const (
Version = "0.2.0"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(transport string, opts ...ServerOption) *Server
type ServerOption ¶
type ServerOption func(*Server)
func WithAuth ¶
func WithAuth(a *auth.Authenticator) ServerOption
func WithHost ¶
func WithHost(host string) ServerOption
func WithHttpServer ¶ added in v0.2.0
func WithHttpServer(server *http.Server) ServerOption
func WithPort ¶
func WithPort(port string) ServerOption
func WithToolsFile ¶
func WithToolsFile(path string) ServerOption
Click to show internal directories.
Click to hide internal directories.