traq

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUserNotFound = errors.New("user not found")

Functions

func NewTraqService

func NewTraqService(baseURL, accessToken string) *traqServiceImpl

Types

type TraqService

type TraqService interface {
	GetCanonicalUserName(ctx context.Context, userID string) (string, error)
	// PostDirectMessage は指定したユーザーにダイレクトメッセージを送信します。
	PostDirectMessage(ctx context.Context, userID string, content string) error
}

TraqService はtraQ APIとの連携を担当するサービスです。

Directories

Path Synopsis
Package mocktraq is a generated GoMock package.
Package mocktraq is a generated GoMock package.

Jump to

Keyboard shortcuts

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