startcmd

package
v0.0.0-...-64dd8ac Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd(server server) (*cobra.Command, error)

Cmd returns the Cobra start command.

Types

type AgentParameters

type AgentParameters struct {
	// contains filtered or unexported fields
}

AgentParameters represents the various options to run an Aries Agent.

func NewAgentParameters

func NewAgentParameters(server server, cmd *cobra.Command) (*AgentParameters, error)

NewAgentParameters constructs AgentParameters with the given cobra command.

func (*AgentParameters) NewRouter

func (parameters *AgentParameters) NewRouter() (*mux.Router, error)

NewRouter returns a Router for the Aries Agent.

type HTTPServer

type HTTPServer struct{}

HTTPServer represents an actual server implementation.

func (*HTTPServer) ListenAndServe

func (s *HTTPServer) ListenAndServe(host string, router http.Handler, certFile, keyFile string) error

ListenAndServe starts the server using the standard Go HTTP server implementation.

Jump to

Keyboard shortcuts

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