designtwitter

package
v0.0.0-...-55fa3f2 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Twitter

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

func Constructor

func Constructor() Twitter

func (*Twitter) Follow

func (this *Twitter) Follow(followerId int, followeeId int)

func (*Twitter) GetNewsFeed

func (this *Twitter) GetNewsFeed(userId int) []int

func (*Twitter) PostTweet

func (this *Twitter) PostTweet(userId int, tweetId int)

func (*Twitter) Unfollow

func (this *Twitter) Unfollow(followerId int, followeeId int)

Jump to

Keyboard shortcuts

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