MCPcopy Create free account
hub / github.com/bytebase/bytebase / newProvider

Function newProvider

backend/plugin/webhook/dingtalk/app.go:26–33  ·  view source on GitHub ↗
(id, secret, robot string)

Source from the content-addressed store, hash-verified

24}
25
26func newProvider(id, secret, robot string) *provider {
27 return &provider{
28 id: id,
29 secret: secret,
30 robot: robot,
31 c: &http.Client{},
32 }
33}
34
35func Validate(ctx context.Context, id, secret, robot, phone string) error {
36 p := newProvider(id, secret, robot)

Callers 2

sendDirectMessageFunction · 0.70
ValidateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected