socials

package
v0.0.0-...-6a3237f Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeClient

type FakeClient struct {
	mock.Mock
}

func NewFakeClient

func NewFakeClient(credsProvider creds.Provider) (*FakeClient, error)

NewClient returns new twitter client

func (*FakeClient) CreatePost

func (c *FakeClient) CreatePost(ctx context.Context, prefix string, event *github.IssuesEvent) error

func (*FakeClient) Name

func (c *FakeClient) Name() string

type Provider

type Provider interface {
	Name() string
	CreatePost(ctx context.Context, prefix string, event *github.IssuesEvent) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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