MCPcopy Create free account
hub / github.com/anchordotdev/cli / Start

Method Start

api/apitest/apitest.go:84–89  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

82}
83
84func (s *Server) Start(ctx context.Context) error {
85 if proxy {
86 return s.StartProxy(ctx)
87 }
88 return s.StartMock(ctx)
89}
90
91func (s *Server) StartMock(ctx context.Context) error {
92 ctx, stopfn := context.WithCancel(ctx)

Callers 2

TestMainFunction · 0.45
startCmdMethod · 0.45

Calls 2

StartProxyMethod · 0.95
StartMockMethod · 0.95

Tested by 1

TestMainFunction · 0.36